]> git.draconx.ca Git - homepage.git/blobdiff - content/style.scss
Solar Eclipse in Ottawa on 2021-06-10.
[homepage.git] / content / style.scss
index a550ea291b09dde4dcee40cb329bafe2c2565dd5..a5cffbed589639802d58df42e7c676ce3c766e36 100644 (file)
@@ -44,15 +44,39 @@ body {
     margin: 1em;
 }
 
-a:link { color: $linkdefaultcolour; }
-a:visited { color: $linkvisitedcolour; }
-a:active { color: $linkactivecolour; }
+a:link { color: $linkdefaultcolour; border-color: $linkdefaultcolour; }
+a:visited { color: $linkvisitedcolour; border-color: $linkvisitedcolour; }
+a:active { color: $linkactivecolour; border-color: $linkactivecolour; }
 
 h1 { @include header_size(60em, 2em); }
 h2 { @include header_size(60em, 1.5em); }
 h5 { @include header_size(60em, 1em); }
 
-p>img { max-width: 40em; width: 100%; height: auto; }
+p.img {
+    text-align: center;
+
+    img {
+        vertical-align: bottom;
+        max-width: 40em;
+        width: 100%;
+        height: auto;
+    }
+
+    a {
+        text-decoration: none;
+        display: inline-block;
+        border: solid 2px;
+    }
+
+    small {
+        color: $foregroundcolour;
+        text-align: justify;
+        @media (max-width: 24em) { text-align: left; }
+        padding: 0.5ex;
+        display: block;
+        font-size: 0.9em;
+    }
+}
 
 p, dt, dd, li {
     text-align: justify;