-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
122 lines (106 loc) · 2.1 KB
/
style.css
File metadata and controls
122 lines (106 loc) · 2.1 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
113
114
115
116
117
118
119
120
121
122
/* @import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap"); */
* {
padding: 0;
/* box-sizing: border-box; */
font-family: "Montserrat", "Ariel", Helvetica, sans-serif;
}
/* navbar */
/* .navbar{
position: fixed;
} */
.navbar {
overflow: hidden;
background-color: white;
position: fixed;
top: 0;
left: 0;
width: 100%;
}
.navbarlinks a {
margin-top: 15px;
font-size: 1em;
float: right;
color: black;
padding: 10px 16px;
/* size of the box when we hover over the nav link*/
overflow: hidden;
text-decoration: none;
z-index: 2;
}
.navbarlinks a:hover {
background-color: #ddd;
text-decoration: underline;
border-radius: 20%;
z-index: 2;
}
#logo {
height: 55px;
width: 55px;
border-radius: 55%;
margin-left: 1em;
margin-top: 5px;
/* display: inline; */
}
.logo a {
text-decoration: none;
color: Black;
}
/* #logo:hover {
background-color: #ddd;
transform: translate(50px, 100px);
} */
/* Hide the link that should open and close the topnav on small screens */
.navbarlinks .icon {
display: none;
}
/* When the screen is less than 600 pixels wide, hide all links. */
@media screen and (max-width: 600px) {
.navbarlinks a {
display: none;
}
.navbarlinks a.icon {
float: right;
display: block;
}
}
/* The "responsive" class is added to the navbarlinks with JavaScript when the user clicks on the hamburger icon*/
@media screen and (max-width: 600px) {
.navbarlinks.responsive {
position: relative;
}
.navbarlinks.responsive .icon {
position: absolute;
right: 0;
top: 0;
}
.navbarlinks.responsive a {
float: none;
display: block;
text-align: left;
border-radius: 5%;
margin-bottom: 15px;
}
}
@media screen and (max-width: 600px) {
#logo {
float: none;
display: block;
text-align: center;
width: 80px;
height: 80px;
z-index: 2;
}
}
/* @media screen and (max-width: 600px) {
.navbarlinks a {
float: none;
display: block;
text-align: left;
width: 100%;
height: 50%;
margin: 0;
padding: 14px;
z-index: 2;
}
} */
/* navbar */