Unify style
Lonami Exo totufals@hotmail.com
Sat, 06 Feb 2021 14:17:28 +0100
4 files changed,
212 insertions(+),
346 deletions(-)
D
content/blog/style.css
@@ -1,130 +0,0 @@
-/* containers */ - -body { - background-color: #fffff0; - margin: 0; -} - -main { - max-width: 720px; - margin: 0 auto; - padding: 10px 20px; - background-color: #fffff0; -} - -/* titles and special */ - -h1.title { - text-align: center; - font-family: serif; - font-size: 2.5em; - font-weight: lighter; - font-variant-caps: small-caps; - border-bottom: 4px double #000; -} - -h1, h2 { - padding-bottom: 10px; - border-bottom: 1px solid #000; -} - -h1:not(.title):hover .anchor, h2:hover .anchor, h3:hover .anchor, h4:hover .anchor, h5:hover .anchor, h6:hover .anchor { - opacity: 1; -} - -.anchor { - float: left; - padding-right: 0.4ch; - margin-left: -1.3ch; - opacity: 0; - transition: opacity 150ms; -} - -/* body text */ - -p, li { - font-family: sans-serif; - font-size: 1.1em; - line-height: 1.5; - text-align: justify; -} - -a { - text-decoration: none; - color: #f74c00; - border-bottom: 0 dashed rgba(0, 0, 0, 0); - transition: color 300ms, border-bottom 300ms; -} - -a:hover { - color: #e33b26; - border-bottom: 1px solid #e33b26; -} - -blockquote { - border-left: 4px solid #000; - padding-left: 8px; - font-style: italic; - color: #444; -} - -.footnote:target { - background-color: rgba(255, 255, 0, 0.2); -} - -/* code listing */ - -pre { - background-color: #eee; - padding: 4px; - overflow: auto; - max-height: 480px; -} - -/* tables */ - -table { - border-collapse: collapse; -} - -th { - background-color: #f7f7e8; -} - -th, td { - padding: 0.5em; - border: 1px solid #aaa; -} - -tr:nth-child(even) { - background-color: #f7f7e8; -} - -/* misc */ - -p.time { - text-align: right; - font-style: italic; - color: #777; - font-size: 0.9em; -} - -hr { - border: 0; - border-bottom: 2px dashed #aaa; -} - -kbd { - padding: 3px 5px; - font: 0.9em monospace; - color: #333; - background-color: #fafafa; - border: 1px solid #ddd; - border-radius: 4px; - box-shadow: 0 2px 0 #ddd; -} - -::selection { - background-color: #f74c00; - color: #fff; -}
D
static/css/blog.css.old
@@ -1,127 +0,0 @@
-/* R.I.P. old blog CSS, 2018-02-03 to 2020-05-29 */ - -@font-face { - font-family: sf1; - src: url("../fonts/GeosansLight.ttf"); -} -@font-face { - font-family: sf2; - src: url("../fonts/inglobal.ttf"); -} -@font-face { - font-family: sf3; - src: url("../fonts/Larke Sans Light 2.ttf"); -} -@font-face { - font-family: sf4; - src: url("../fonts/weblysleekuil.ttf"); -} - -::selection { - background: #FFFF66; -} -::-moz-selection { - background: #FFFF66; -} - -body { - background-color: #F4F4F4; -} - -.minMargin { - margin: 50px 30px; -} - -.card { - margin: 20px auto; - padding: 8px 24px; - border-radius: 10px; - background-color: #FFF; - max-width: 640px; - box-shadow: 8px 8px 8px #B8B8B8; -} - -h1 { - font-family: sf1; - font-size: 64px; -} -h2 { - font-family: sf3; - font-size: 48px; - border-bottom: 1px solid #888888; - padding-bottom: 4px; -} -h3, .versalita { - font-family: sf4; - font-variant: small-caps; -} -.right { - text-align: right; -} - -p, ol, ul, td { - font-family: sf2; - font-size: 18px; - line-height: 125%; -} -td { - padding: 2px 20px; - vertical-align: top; -} - -hr { - border: 1px dashed #D0D0D0; - margin: 20px 10px; -} - -em { - color: #484848; -} - -img { - border-radius: 10px; - box-shadow: 4px 4px 4px #888888; -} - -.center { - text-align: center; - display: block; - margin: 0 auto; -} - -a { - text-decoration: none; - border-bottom: 0px solid #00CCCC; - margin-bottom: 3px; - color: #00CCCC; - transition: border-bottom 0.1s ease-in-out 0s, margin-bottom 0.1s ease-in-out 0s, color 0.2s ease-in-out 0s; -} -a:hover { - border-bottom: 3px solid #00AAAA; - margin-bottom: 0px; - color: #00AAAA; -} - -code { - background-color: #F7F7F7; - color: #F77; - padding: 2px; - font-size: 14px; - border-radius: 2px; -} - -li { - margin: 4px 0; -} - -table { - border-collapse: collapse; -} - -table, th, td { - border: 1px solid #777; -} - -th { - padding: 2px 8px; -}
D
static/css/style.css
@@ -1,89 +0,0 @@
-::-moz-selection { - background-color: #FFAA00; - color: #000000; -} - -::selection { - background-color: #FFAA00; - color: #000000; -} - -body { - background-color: #FFFFF0; -} - -div { - max-width: 720px; - margin: 0 auto; -} - -.body { - padding: 10px 20px; - border-radius: 4px; - background-color: #FFFFFF; - box-shadow: 5px 5px 10px #CCCCCC; -} - -h1, h2 { - font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; - font-size: 200%; - font-weight: lighter; - text-transform: capitalize; -} - -h1 { - text-align: center; -} - -p, li, dl { - font-family: Tahoma, Geneva, sans-serif; - font-size: 1.1em; -} - -a { - text-decoration: none; - transition: color 300ms, border-bottom 300ms; - color: #00AAFF; -} - -a:hover { - color: #44CCFF; -} - -.menu { - margin-top: 40px; -} - -.menu ul { - list-style-type: none; - margin: 0; - padding: 0; - margin-bottom: 8px; -} - -.menu li { - font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; - display: inline; - margin: 0 -4px; - font-size: 1.3em; -} - -.menu a { - color: #787878; - border-bottom: solid 2px #A8A8A8; - padding: 0 8px; -} - -.menu a.selected, .menu a:hover { - color: #000000; - border-bottom: solid 2px #444444; -} - -dl img { - margin-bottom: -0.4em; - margin-right: 0.6em; -} - -dd { - margin-bottom: 1em; -}
A
static/style.css
@@ -0,0 +1,212 @@
+/* main */ +body { + background-color: #FFFFF0; + margin: 0; +} + +nav, main { + max-width: 720px; + margin: 0 auto; +} + +main { + padding: 10px 20px; + border-radius: 4px; + background-color: #fffff7; + box-shadow: 0 0 10px #eee; +} + +/* navigation */ +nav.sections { + margin-top: 40px; + display: block; +} + +nav.sections ul { + list-style-type: none; + margin: 0; + padding: 0; + margin-bottom: 8px; +} + +nav.sections li { + font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; + display: inline; + margin: 0 -2px; + font-size: 1.3em; +} + +nav.sections a { + color: #787878; + border-bottom: solid 2px #A8A8A8; + padding: 0 16px; +} + +nav.sections a.selected, nav.sections a:hover { + color: #000000; + border-bottom: solid 2px #444444; +} + +/* headers */ +h1, h2 { + font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; + font-size: 200%; + font-weight: lighter; + text-transform: capitalize; + padding-bottom: 10px; + border-bottom: 1px solid #000; + text-align: center; +} + +h1.title { + text-align: center; + font-family: serif; + font-size: 2.5em; + font-weight: lighter; + font-variant-caps: small-caps; + border-bottom: 4px double #000; +} + +h1:not(.title):hover .anchor, h2:hover .anchor, h3:hover .anchor, h4:hover .anchor, h5:hover .anchor, h6:hover .anchor { + opacity: 1; +} + +.anchor { + float: left; + padding-right: 0.4ch; + margin-left: -1.3ch; + opacity: 0; + transition: opacity 150ms; +} + +/* body */ +p, li, dl { + font-family: Tahoma, Geneva, sans-serif; + font-size: 1.1em; + line-height: 1.5; +} + +img { + max-width: 100%; +} + +.dim { + color: #999; + font-size: smaller; +} + +a { + text-decoration: none; + color: #f74c00; + border-bottom: 0 dashed rgba(0, 0, 0, 0); + transition: color 300ms, border-bottom 300ms; +} + +a:hover { + color: #e33b26; + border-bottom: 1px solid #e33b26; +} + +blockquote { + border-left: 4px solid #000; + padding-left: 8px; + font-style: italic; + color: #444; +} + +.footnote:target { + background-color: rgba(255, 255, 0, 0.2); +} + +dl img { + margin-bottom: -0.4em; + margin-right: 0.6em; +} + +dd { + margin-bottom: 1em; +} + +div.time { + text-align: right; + font-style: italic; + color: #777; + font-size: 0.9em; +} + +hr { + border: 0; + border-bottom: 2px dashed #aaa; +} + +/* code */ +pre { + background-color: #eee; + padding: 4px; + overflow: auto; + max-height: 480px; +} + +kbd { + padding: 3px 5px; + font: 0.9em monospace; + color: #333; + background-color: #fafafa; + border: 1px solid #ddd; + border-radius: 4px; + box-shadow: 0 2px 0 #ddd; +} + +/* tables */ +table { + border-collapse: collapse; +} + +th { + background-color: #f7f7e8; +} + +th, td { + padding: 0.5em; + border: 1px solid #aaa; +} + +tr:nth-child(even) { + background-color: #f7f7e8; +} + +/* graphs post */ +div.matrix table { + border-width: 0 2pt 0 2pt; + border-style: solid; + border-color: #000; +} + +/* poor man's matrix */ +div.matrix tr:first-child td:first-child, div.matrix tr:first-child td:last-child { + border-top: 2pt solid #000; +} + +div.matrix tr:last-child td:first-child, div.matrix tr:last-child td:last-child { + border-bottom: 2pt solid #000; +} + +div.matrix td { + border: none; +} + +em.math { + font-family: 'Times New Roman', Times, serif; + font-size: larger; +} + +/* special */ +::-moz-selection { + background-color: #FFAA00; + color: #000000; +} + +::selection { + background-color: #FFAA00; + color: #000000; +}