-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
112 lines (95 loc) · 1.73 KB
/
style.css
File metadata and controls
112 lines (95 loc) · 1.73 KB
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
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700;900&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
font-size: 62.5%;
}
:root {
--bg-slate-200: #e2e8f0;
--bg-gray-800: #1f2937;
--bg-gray-100: #f3f4f6;
}
body {
background-color: var(--bg-slate-200);
font-family: "Source Sans Pro";
}
header {
background-color: white;
padding: 2.5rem 20rem;
display: flex;
justify-content: space-between;
align-items: center;
}
header h3 {
font-size: 1.6rem;
}
nav {
display: flex;
justify-content: flex-start;
align-items: center;
gap: 1rem;
}
a {
font-size: 1.6rem;
text-decoration: none;
font-weight: 600;
color: var(--bg-gray-800);
}
.menu--icon {
font-size: 1.6rem;
border: 2px solid var(--bg-slate-200);
padding: 0.5rem 0.7rem;
border-radius: 4px;
cursor: pointer;
box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
display: none;
}
.display--nav {
display: none;
}
.display--nav h3 {
font-size: 1.8rem;
font-weight: 800;
}
.display--nav_up {
display: flex;
justify-content: flex-start;
flex-direction: column;
gap: 1rem;
background-color: var(--bg-gray-100);
height: 100%;
width: 68%;
position: fixed;
top: 0;
left: 0;
padding: 3rem 0 0 2.5rem;
box-shadow: 0 4px 6px 4px rgb(0 0 0 / 0.1);
z-index: 1;
animation-name: width;
animation-duration: 300ms;
animation-timing-function: ease-in-out;
}
@keyframes width {
from {
width: 40%
}
to {
width: 68%;
}
}
.social-icons {
font-size: 1.7rem;
display: flex;
justify-content: flex-start;
align-items: center;
gap: 1rem;
margin-top: 1rem;
}
.social-icons p {
font-size: 1.5rem;
font-weight: 700;
color: var(--bg-gray-800);
}