-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
99 lines (81 loc) · 1.39 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
* {
box-sizing: border-box;
transition: all 0.5s ease;
}
html,body {
margin:0;
padding:0;
}
html {
background: rgba(0, 200, 200,0.0925);
}
body {
font: 18px Besley, Garamond, Georgia, serif;
max-width: 1200px;
display:flex;
flex-direction: column;
flex-wrap:nowrap;
}
h1,h2,h3,h4,h5,h6 {}
h1 {
font-weight: 900;
}
header,main {
padding: 1rem;
}
header {
background: white;
}
header h1 {
font-size: 1em;
}
nav a {
text-decoration:none;
padding-right: 1rem;
}
nav a:link,
nav a:visited {
color: rgb(140, 30, 200);
}
nav a:hover,
nav a:focus,
nav a:active {
color: rgba(140, 30, 200,0.75);
border-bottom: 5px solid rgba(140, 30, 200,0.75);
}
@media screen and (min-width:900px) {
body {
flex-direction: row;
}
header,main {
display:block;
width: 33%;
}
header {
}
nav {
margin-left: -1rem;
margin-top: 2rem;
}
nav a {
display:block;
padding: 0 1rem;
margin: 0 0 1px;
}
nav a:link,
nav a:visited {
border-left: 0px solid white;
}
nav a:hover,
nav a:focus,
nav a:active {
color: rgba(140, 30, 200,0.75);
padding-left: 1rem;
border-left: 1rem solid rgba(140, 30, 200,0.75);
border-bottom:none;
}
main {
width: 67%;
padding: 2rem 6rem;
}
}