X-Git-Url: http://git.draconx.ca/gitweb/homepage.git/blobdiff_plain/ec1703ff7346b6d3edeee73f1c6dfa750b7aeed4..79dfd09162d1c4e201eccec188057c0e9ded2260:/content/style.scss diff --git a/content/style.scss b/content/style.scss index f71a6a3..0c56cc4 100644 --- a/content/style.scss +++ b/content/style.scss @@ -56,6 +56,7 @@ p>img { max-width: 40em; width: 100%; height: auto; } p, dt, dd, li { text-align: justify; + @media (max-width: 28em) { text-align: left; } padding: 0; margin: 0; } @@ -89,9 +90,7 @@ kbd { color: $annotationcolour; a:link, a:visited { color: inherit; } -} -@media not screen { - .permalink { visibility: hidden; } + @media not screen { visibility: hidden; } } // General table styles. @@ -138,6 +137,19 @@ table.cc { } } +table.filelist { + &>tr>*:first-child, &>*>tr>*:first-child { + &+td { min-width: 50%; } + width: 0; + } + + img { + display: block; + height: 1.5em; + width: auto; + } +} + // Site header rules #breadcrumbs>*, #sitetitle>* { font-size: 0.8em; } #breadcrumbs { @@ -195,6 +207,3 @@ ul.ordered > { #sitetitle * { float: none; } #footer { padding: 0 1em; } } -@media (max-width: 28em) { - * { text-align: left; } -}