-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.scss
127 lines (94 loc) · 2.44 KB
/
style.scss
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
124
125
126
127
$color-bg: rgb(0, 0, 0);
$color-text: white;
$color-nav: rgb(0, 0, 0);
$color-bg-footer: #02C3F3;
$color-footer: rgb(0, 0, 0);
$hoverShadow: 0px -2px 4px #633ca2, 0px -2px 10px #8661C1, 0px -6px 15px #9271c5,
0px -10px 20px #b098d5, 0px -20px 40px #eae6ef;
@font-face {
font-family: "oxanium";
src: url('fonts/Oxanium/Oxanium-VariableFont_wght.ttf');
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background: $color-bg;
color: $color-text;
font-family: "oxanium";
header {
nav {
padding: 1rem;
background-color: $color-nav;
overflow: hidden;
position: relative;
box-shadow: 0 2px 10px -1px rgb(210, 210, 169), 0 4px 20px -2px rgb(154, 77, 77);
#img-logo {
max-width: 15%;
}
#links {
display: none;
list-style-type: none;
z-index: 99;
padding-left: 0;
margin-left: 0;
margin-top: 1rem;
}
.navLink {
margin-top: 1rem;
text-decoration: none;
color: $color-text;
}
.navLink:hover {
text-shadow: $hoverShadow;
}
.icon {
display: block;
position: absolute;
right: 0;
top: 0;
padding: 10%;
color: $color-text;
}
}
}
footer {
margin-top: 2rem;
padding: 1rem;
text-align: center;
color: $color-footer;
background-color: $color-bg-footer;
}
@media screen and (min-width: 800px) {
nav {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.5rem;
margin-bottom: 0;
.logo {
align-items: center;
height: fit-content;
order: 0;
margin-right: auto;
}
img {
margin: 0;
width: 10%;
}
#links {
display: flex !important;
margin: 1rem;
order: 1;
}
.navLink {
margin-left: 1rem;
}
.icon {
display: none;
}
}
}
}