-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
77 lines (65 loc) · 1.15 KB
/
styles.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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');
* {
box-sizing: border-box;
}
body {
font-family: Poppins, sans-serif;
display: flex;
line-height: 1.7;
margin: 0;
padding: 0;
}
main header,
nav header {
font-weight: 700;
font-size: 1.5em;
}
/* Nav */
nav {
border-right: 3px solid #333;
width: 800px;
}
nav header {
padding: 15px;
}
nav a {
display: block;
border-top: 1px solid #333;
padding: 15px;
text-decoration: none;
color: #333;
}
/* Main */
main {
padding: 20px;
height: 100vh;
overflow-y: scroll;
padding-bottom: 500px;
}
code {
display: block;
text-align: left;
white-space: pre-line;
position: relative;
word-break: normal;
word-wrap: normal;
line-height: 2;
background-color: #f7f7f7;
padding: 15px;
margin: 10px;
border-radius: 5px;
}
/* Media Query */
@media (max-width: 576px) {
body {
flex-direction: column;
}
nav {
border-bottom: 3px solid #333;
overflow-y: scroll;
height: 300px;
}
main {
overflow-y: unset
}
}