about summary refs log tree commit diff
path: root/wpisy/style.css
blob: 91a590a0280d2f565a3ac0cc05b1c9b47d05a8f3 (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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
:root {
  --primary: #000;
  --bg-primary: #fff;
  --secondary: #fff;
  --bg-secondary: #507b34;

}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Roboto Slab", sans-serif;
  height: 100%;
}

nav a {
  vertical-align: middle;
}

a:link,
a:visited {
  color: var(--primary);
}

a:hover {
  color: var(--bg-secondary);
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  text-align: center;
}

header {
  box-shadow: 0 0 20px rgb(0 0 0 / 10%);
  padding: 2ex 1ex;
}

header > div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  max-width: 100ex;
}

.logo a {
  text-decoration: none;
}

.logo {
  font-size: 1.5em;
}

nav a {
  margin: 0.5em;
}

main > p {
  text-align: center;
}

main img {
  display: block;
  margin: 0 auto;
  width: 100%;
}

article {
  text-align: left;
}

header > *,
main,
footer > * {
  max-width: 80ex;
  margin: 0 auto;
  width: 100%;
  padding: 1ex;
}

nav ul {
  list-style: none;
}

footer {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2ex 1ex;
}

footer img {
  width: 30px;
  height: 30px;
  margin: 0 5px;
}

.social a {
  text-decoration: none;
}

.secondary {
  color: var(--secondary);
  background-color: var(--bg-secondary);
}

.secondary a {
  color: var(--secondary);
}

.secondary a:hover {
  color: #eee;
}