]> git.dujemihanovic.xyz Git - dujemihanovic.xyz.git/blob - assets/css/style.css
Justify all text in <main> tags
[dujemihanovic.xyz.git] / assets / css / style.css
1 body {
2 max-width: 1000px;
3 margin: 0 auto;
4 padding: 0 10px;
5 }
6
7 nav {
8 text-align: center;
9 }
10
11 nav ul {
12 list-style: none;
13 padding: 3px 5px;
14 }
15
16 nav a {
17 text-decoration: none;
18 color: #000;
19 }
20
21 nav a:hover {
22 text-decoration: underline;
23 }
24
25 nav li {
26 display: inline;
27 padding: 0 10px;
28 }
29
30 p {
31 margin: 8px 0;
32 }
33
34 ul {
35 padding: 0 40px;
36 margin: 5px 0;
37 }
38
39 main {
40 max-width: 1000px;
41 margin: 0 auto;
42 display: flex;
43 flex-direction: column;
44 align-items: center;
45 text-align: justify;
46 }
47
48 h1 {
49 text-align: center;
50 }
51
52 footer {
53 display: flex;
54 flex-direction: column;
55 align-items: center;
56 }