/
style.css
118 lines (99 loc) · 1.56 KB
/
style.css
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
body {
display: flex;
flex-direction: column;
font-family: times;
width: 100vw;
margin: auto;
padding: 50px 0;
background-image: url(resources/bg.png);
background-attachment: fixed;
overflow-x: hidden;
}
footer {
margin-top: 50px;
}
p {
margin: 5px 36px;
font-weight: 300;
font-size: 18px;
padding: 5px 0;
}
h1 {
font-weight: 300;
font-size: 18px;
padding: 5px 0;
text-align: center;
}
h2 {
font-size: 30px;
text-transform: uppercase;
font-weight: 200;
border-left: 4px solid #9370db;
padding-left: 1.0em;
font-family: 'Text Me One', sans-serif;
}
h3 {
margin-top: 0;
font-size: 70px;
font-weight: 200;
font-family: cursive;
}
.header, .main {
display: flex;
flex-direction: column;
align-items: center;
}
.header img {
border-radius: 50%;
box-shadow: 1px 1px 50px #888888;
width: 180px;
height: 180px;
display: block;
}
.main {
align-items: flex-start;
}
@media screen and (min-width: 400px) {
body {
margin-left: 0px;
margin-right: 0px;
}
}
@media screen and (min-width: 800px) {
body {
width: 800px;
margin: auto;
}
}
#nav {
display: inline-block;
font-size: 1.2em;
line-height: 2.5em;
width: 100%;
margin: -10px 0;
padding-left: 0.7em;
}
#nav li {
list-style-type: none;
float: left;
margin: 0;
padding: 0;
}
#nav li:first-child::before {
content: " ";
}
#nav li::before {
content: " / ";
color: #ccc;
}
#nav a {
margin: 0 .5em;
display: inline-block;
text-decoration: none;
color: #000000;
padding: 1px 15px;
}
#nav a:hover, #nav a.current:hover{
color: #ffffff;
background: #9370db;
}