diff options
author | neodarz <neodarz@neodarz.net> | 2017-05-05 23:29:08 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2017-05-05 23:29:08 +0200 |
commit | 951971a6bf173ca8cc601abdd9ca8d33da93e657 (patch) | |
tree | d2aaad1fe776c6a652ba0a8c68996d0a5a762bab /source/css/theme.css | |
parent | a25f6bb704265207f57f8a7677d69ac56a73f3d6 (diff) | |
download | my_new_personal_website-951971a6bf173ca8cc601abdd9ca8d33da93e657.tar.xz my_new_personal_website-951971a6bf173ca8cc601abdd9ca8d33da93e657.zip |
Adapt design
Diffstat (limited to '')
-rw-r--r-- | source/css/theme.css | 102 |
1 files changed, 93 insertions, 9 deletions
diff --git a/source/css/theme.css b/source/css/theme.css index dc273960..1b245620 100644 --- a/source/css/theme.css +++ b/source/css/theme.css @@ -51,10 +51,9 @@ only screen and ( min-resolution: 1.25dppx) { .nav { position: fixed; - left: 5%; - top: 90px; + left: 2.5%; height: 150px; - width: 100px; + width: 200px; text-align: center; } @@ -111,11 +110,68 @@ only screen and ( min-resolution: 1.25dppx) { content: "by neodarz"; } -.content, .content-separator, .footer { +.nav li { + + list-style: none; +} + +.nav li a { + text-decoration: none; +} + +.left-lia { + float: left; +} + +.left-lia::after { + content: "█▓▒░"; +} + +.right-lia { + float: right; +} + +.right-lia::after { + content: "░▒▓█"; +} + +.lia { + text-decoration: none; +} + +.lia-border { + border: 1px solid white; +} + +.lia-border ul { + padding: 0px; + margin: 0; +} + +.lia-border hr { + background-color: white; + margin: 0; + padding: 0; +} + +.lia:hover li{ + background-color: white; + color: black; +} + +.content pre, .content ul, .content p, .content-separator, .footer { width: 60%; margin: 0 auto; } +.content .sourceCode { + margin: 0 auto; +} + +.header { + width: 100%; +} + hr { border: 0; height: 1px; @@ -135,6 +191,7 @@ h1 { text-align: center; font-size: 160%; font-weight: bold; + width: 100% } .h1 { @@ -353,7 +410,6 @@ table { .right-h1 { float: right; - margin-right: -1.6%; font-weight: bold; font-size: 24.4px; } @@ -371,9 +427,17 @@ table { /*** Wide screen ***/ @media screen and (min-width: 1441px) { - .content, .content-separator, .footer { + .content pre, .content ul, .content p, .content-separator, .footer { width: 50%; } + + .content .sourceCode { + + } + + .header { + width: 100%; + } } /*** Narrow screen ***/ @@ -407,9 +471,13 @@ table { pointer-events: none; } - .content, .content-separator, .footer { + p, .content-separator, .footer { width: 80%; } + + .header { + width: 100%; + } } /*** Ultranarrow screen ***/ @@ -419,10 +487,18 @@ table { display: none; } - .content, .content-separator, .footer { + .content pre, .content ul, .content p, .content-separator, .footer { width: 90%; } + .content .sourceCode { + + } + + .header { + width: 100%; + } + .blog-index-yearly-index { margin-left: 0; } @@ -449,10 +525,18 @@ table { -webkit-print-color-adjust: exact; } - .content, .content-separator, .footer { + .content pre, .content ul, .content p, .content-separator, .footer { width: 90%; } + .content .sourceCode { + + } + + .header { + width: 100%; + } + .nav, .rss-icon, .atom-icon, .cc-icon, #archival-notice { display: none; } |