-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.css
145 lines (124 loc) · 2.36 KB
/
main.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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
:root {
--bg--white: rgba(255, 255, 255, 0.3);
/*--bg--white: rgba(255,255,255,0.1);*/
--glass: rgba(0,0,0,0.1);
--br: 5px;
--border: solid 1px rgba(255, 255, 255, 0.5);
--bf: blur(20px);
--spartan: 'League Spartan';
--pippins: 'Poppins';
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: sans-serif;
background-image: url(./background.jpg);
background-repeat: no-repeat;
background-size: cover;
height: 100vh;
}
/* Container */
.navbar {
display: flex;
align-items: center;
padding-left: 8%;
padding-right: 8%;
background-color: var(--bg--white);
background-filter: blur(20px);
margin: 20px 29px;
/* border: 1px solid #000; */
height: 50px;
border-radius: 5px;
}
.logo {
width: 400px;
cursor: pointer;
}
h2 {
color: #fff;
font-size: 1.5rem;
font-weight: bold;
font-family: var(--spartan);
}
nav {
flex: 1;
text-align: right;
}
nav ul li {
list-style: none;
display: inline-block;
margin-left: 60px;
}
nav ul li a {
text-decoration: none;
color: white;
font-size: 1rem;
color: rgba(255, 255, 255, 0.8);
font-family: var(--spartan);
font-size: 1rem;
padding: 12px 10px;
}
.sidebar ul li a:hover {
color: white;
border-radius: var(--br);
background-color: #0084ff;
box-shadow: 0 5px 10px 2px rgba(10, 137, 255, 0.5);
}
/* main */
main {
padding-right: 3.2%;
margin: 20px 29px;
width: 100%;
}
.container {
background-color: var(--bg--white);
background-filter: blur(20px);
border: var(--border);
border-radius: 5px;
box-shadow: 0 10px 20px 5px rgba(0, 0, 0, 0.05);
display: flex;
}
.sidebar__main {
background-color: rgba(0, 0, 0, 0.1);
padding: 20px;
width: 20%;
}
.sidebar__main ul {
padding: 0;
margin: 20px 0;
list-style: none;
text-align: left;
}
.sidebar__main ul li a {
color: rgba(255, 255, 255, 0.8);
display: block;
text-decoration: none;
padding: 12px 10px;
}
.sidebar__main ul li a:hover {
color: white;
border-radius: var(--br);
background-color: #0084ff;
box-shadow: 0 5px 10px 2px rgba(10, 137, 255, 0.5);
}
section {
padding: 8%;
height: 90vh;
width: 80%;
}
section .first-title h2 {
color: rgba(0, 0, 0, 0.7);
font-size: 48px;
margin: 10px 0;
color: #fff;
}
section .first-title span {
color: rgba(0, 0, 0, 0.5);
font-size: 1rem;
margin: 10px 0;
font-weight: bolder;
display: block;
}