diff options
author | Michał M. Sapka <michal@sapka.me> | 2023-02-24 21:23:37 +0100 |
---|---|---|
committer | Michał M. Sapka <michal@sapka.me> | 2023-02-25 00:21:16 +0100 |
commit | ba675a3bf24c1a2fc4afd37caaaefb8b9f80a18c (patch) | |
tree | 9a789440a1698f286387952c1d893ed823f5471a /static | |
parent | de97bdfd07f43e1e394fcd310aeca277e043500b (diff) |
feat: prelimiary work on new layout
Diffstat (limited to 'static')
-rw-r--r-- | static/style.css | 105 |
1 files changed, 66 insertions, 39 deletions
diff --git a/static/style.css b/static/style.css index c6222c9..60233ab 100644 --- a/static/style.css +++ b/static/style.css @@ -101,50 +101,22 @@ display: flex; flex: 0 0 45px; } - h2 { - text-align: left; - padding: 0; - margin: 0; - color: #000000; - text-transform: uppercase; - font-size: 1.5em; - } - h3 { - text-transform: uppercase; - text-align: left; - } main { padding: 5px; } - article { - margin-bottom: 20px; - padding: 10px; - text-align: justify; - background-color: ##fcfcfc; - border-style: solid; - border-color: #f3f1f1; - border-radius: 3px; - } - article a { - text-decoration: underline; - } - img.float-right { - float: right; - display: inline; - margin: 10px; - } - .next-link { - float: right; - } - .pagination { - text-align: center - } - .pagination li { - display: inline-block - } - /* Page navigation */ + + + + +/* ----------- Pagination navigation */ +.pagination { + text-align: center +} +.pagination li { + display: inline-block +} #pagination ul { text-align:center; } @@ -153,3 +125,58 @@ padding:0 1em; } +/* ----------- Taxmomy list */ +.taxonomy a { + text-decoration: none; +} +.taxonomy li { + list-style: none; +} +.taxonomy ul { + padding: 0; +} + +/* ----------- Articles / Posts */ +article { + margin-bottom: 20px; + padding: 25px; + text-align: justify; + background-color: ##fcfcfc; + border-style: solid; + border-color: #f3f1f1; + border-radius: 3px; + box-shadow: -1px 8px 35px -18px rgba(0,0,0,0.42); + +} +article a { + text-decoration: underline; +} +h3 { + text-align: left; +} +a h2{ + text-decoration: none; +} +h2 { + text-align: left; + padding: 0; + margin: 0; + color: #000000; + font-size: 1.5em; +} + +/* ----------- Articles images */ +img.float-right { + float: right; + display: inline; + margin-left: 10px; +} + +img.centered { +} + + +/* ----------- Articles adjustement navigation */ +.next-link { + float: right; +} |