uniformed classes in the document and modified stylesheet to match them
authordanix <danix@danix.xyz>
Thu, 26 Jan 2023 18:44:11 +0000 (19:44 +0100)
committerdanix <danix@danix.xyz>
Thu, 26 Jan 2023 18:44:11 +0000 (19:44 +0100)
assets/sass/main.scss
layouts/partials/home-social-links.html

index 84d9fce..6f5989e 100644 (file)
@@ -1,9 +1,19 @@
 body {
        background-color: #dadada;;
-       header#masthead {
-               background-color: #656565;
-       }
+       header#masthead,
        footer#colophon {
                background-color: #656565;
        }
+}
+.screen-reader-text,
+.hidden {
+       border:0;
+       clip:rect(1px, 1px, 1px, 1px);
+       clip-path:inset(100%);
+       height:1px;
+       overflow:hidden;
+       padding:0;
+       position:absolute;
+       white-space:nowrap;
+       width:1px
 }
\ No newline at end of file
index cef1f3a..119d706 100644 (file)
@@ -1,5 +1,5 @@
 <div id="home-social-links">
-       <h3 class="text-only">my socials</h3>
+       <h3 class="screen-reader-text">my socials</h3>
        <ul>
                {{ range site.Data.socials.sites }}
                        <li>