-
Notifications
You must be signed in to change notification settings - Fork 0
/
hackrego.css
131 lines (111 loc) · 1.84 KB
/
hackrego.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
*{
margin: 0;
}
head, html {
color: #ffffff;
font: 15px/1.2"Lato", sans-serif;
cursor: default;
}
a:link, a:visited {
text-decoration: none;
color: #ffffff;
}
h2 {
font-size: 20px;
letter-spacing: 3px;
color: black;
padding-bottom: 1%;
}
/*************
NavBar
**************/
.navBar {
position: fixed;
top: 0;
padding-top: 20px;
padding-bottom: 20px;
width: 100%;
background: #333;
text-align: right;
opacity: 0.65;
z-index: 10;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
}
.navBar:hover {
opacity: 1;
}
.dropbtn {
background-color:#333;
color: #ffffff;
border: none;
padding-left: 10%;
padding-right: 10%;
display: none;
}
.dropdown {
position: relative;
display: none;
}
.dropdown-content {
display: none;
position: absolute;
margin-left: -130%;
background-color: #333;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
.dropdown-content a {
color: #ffffff;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.dropdown-content a:hover {
opacity: 0.4;
}
.dropdown:hover .dropdown-content {
display: block;
}
.dropdown:hover .dropbtn {
opacity: 0.4;
}
.navBar a:hover {
opacity: 0.4;
}
.navBar a:visited, a:link{
padding-right: 25px;
letter-spacing: 5px;
}
.social {
position: absolute;
left: 2%;
top: 27.5%;
}
/**********
Footer
**********/
footer {
padding: 1% 5% 1% 5%;
background-color: #000000;
text-align: center;
}
@media only screen and (max-width: 700px){
/**********
NavBar
**********/
.navBar {
text-align: center;
}
.bigMenu {
display: none;
}
.dropdown {
display:inline-block;
}
.dropbtn {
display: block;
}
}