-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
92 lines (77 loc) · 1.16 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
* {
margin: 0;
padding: 0;
box-sizing: border-box;
text-align: center;
}
html {
scroll-behavior: smooth;
}
a {
text-decoration: none;
}
/*NAVBAR*/
.navbar {
background-color: rgba(0, 0, 0, 1);
overflow: hidden;
position: fixed;
top: 0;
width: 100%;
/*box-shadow: 5px 5px 5px #888888;*/
}
.navbar a {
color: white;
float: right;
display: block;
padding: 14px 16px;
font-size: 18px;
}
.navbar a:first-child {
float: left;
}
.navbar a:hover {
background-color: #818181;
}
.navbar a:last-child {
display: none
}
@media screen and (max-width: 600px) {
.navbar a:not(:first-child) {
display: none;
}
.navbar a:last-child {
display: block;
}
}
/*NAVBAR-ENDS*/
/*SIDEBAR*/
.sidebar {
height: 100%;
width: 0;
position: fixed;
overflow-x: hidden;
z-index: 1;
top: 0;
left: 0;
background-color: rgba(0, 0, 0, 1);
transition: 0.5s;
}
.sidebar a {
color: white;
display: block;
padding: 14px 16px;
font-size: 18px;
}
.sidebar a:first-child {
position: absolute;
top: 0;
right: 0;
}
.sidebar a:hover {
background-color: #818181;
}
/*SIDEBAR-ENDS*/
.main {
height: 1000px;
background-color: lightblue;
}