diff options
| author | Adonay Felipe Nogueira (http://libreplanet.org/wiki/User:Adfeno) <adfeno.7046@gmail.com> | 2026-04-26 17:31:30 -0300 |
|---|---|---|
| committer | Adonay Felipe Nogueira (http://libreplanet.org/wiki/User:Adfeno) <adfeno.7046@gmail.com> | 2026-04-26 17:31:30 -0300 |
| commit | 259182720f63bbcbe258de37c9f494c085a2546f (patch) | |
| tree | c14622f93375fd4f5a080d47f8510fbdcd2ec40f /static | |
| parent | 7de36fb647018c582f9de9a442c4e498df62515b (diff) | |
| download | website-259182720f63bbcbe258de37c9f494c085a2546f.tar.gz website-259182720f63bbcbe258de37c9f494c085a2546f.tar.bz2 website-259182720f63bbcbe258de37c9f494c085a2546f.zip | |
Diffstat (limited to 'static')
| -rw-r--r-- | static/base.css | 108 |
1 files changed, 108 insertions, 0 deletions
diff --git a/static/base.css b/static/base.css new file mode 100644 index 0000000..cfc6a7c --- /dev/null +++ b/static/base.css @@ -0,0 +1,108 @@ +* { + font-size: 12pt; +} + +body { + counter-reset: h3; + display: flex; +} + +body > header { + border-right: solid; + padding-right: 2.5%; + margin-right: 2.5%; +} + +nav > ul { + list-style: none; +} + +body > header ~ div { + flex: 1; + display: flex; + flex-direction: column; +} + +main { + flex: 1; +} + +address, p { + line-height: 1.5; + text-align: justify; + text-indent: 1.25cm; +} + +pre { + white-space: pre-wrap; +} + +h1, h2, h3, h4 { + text-transform: uppercase; +} + +h1, h2, h3, h5 { + font-weight: bold; +} + +h4, h6 { + font-weight: normal; +} + +h1, h2 { + font-size: 14pt; + text-align: center; +} + +h3 { + counter-reset: h4; +} + +h4 { + counter-reset: h5; +} + +h5 { + counter-reset: h6; +} + +h3:before { + counter-increment: h3; + content: "Capítulo\0000a0" counter(h3) "\0000a0"; +} + +h4:before { + counter-increment: h4; + content: "Seção\0000a0" counter(h4) "\0000a0"; +} + +h5:before { + counter-increment: h5; + content: "Subseção\0000a0" counter(h5) "\0000a0"; +} + +h6:before { + counter-increment: h6; + content: "Subseção\0000a0" counter(h5) "." counter(h6) "\0000a0"; +} + +.nao-contar h3:before, h3.nao-contar:before, +.nao-contar h4:before, h4.nao-contar:before, +.nao-contar h5:before, h5.nao-contar:before, +.nao-contar h6:before, h6.nao-contar:before { + content: ""; + counter-increment: none; +} + +.centro { + display: block; + margin-left: auto; + margin-right: auto; + width: 50%; +} + +@media print { + body > header { + display: none; + } +} |
