summaryrefslogtreecommitdiff
path: root/static/base.css
blob: cfc6a7ca1ae7acaa536b040744b921015c23cbdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
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;
  }
}