-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
111 lines (105 loc) · 1.89 KB
/
style.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
* {
padding: 0;
margin: 3;
font-family: verdana;
font-weight: bold;
}
body {
background-color: grey;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
background-image: url('bedge-pepe-sleep.gif');
}
h1 {
color: green;
text-align: center;
font-family: "Arial";
font-size: 40px;
}
p {
color: white;
font-size: 20px;
}
ul {
list-style-type: none;
overflow: hidden;
}
nav a {
padding: 14px 16px;
color: green;
display: block;
text-align: center;
text-decoration: none;
}
li {
float: left;
position: relative;
left: 30%;
}
li a {
display: block;
}
.gc {
display: grid;
gap: 10%;
padding: 10px;
}
.gi1 {
grid-column: 1 / span 2;
grid-row: 1;
}
.gi2 {
grid-column: 1 / span 2;
grid-row: 2;
background-color: #333;
}
.gi3 {
grid-column: 1 / 1;
grid-row: 3;
opacity: 0.5;
width: 100%;
height: 100%;
}
.gi4 {
grid-column: 2 / 2;
grid-row: 3;
opacity: 0.5;
width: 100%;
height: 100%;
}
/* Change the link color to #111 (black) on hover */
li a:hover {
background-color: #f1f1f1
}
nav .dropdown {
display: none;
float: right;
position: relative;
right: 10%;
padding: 14px 16px;
width: 48px;
height: 48px;
background-image: url('menu.png');
background-repeat: no-repeat;
background-size: cover;
image-rendering: pixelated;
image-rendering: -moz-crisp-edges;
image-rendering: crisp-edges;
}
.dropdown-content {
display: none;
position: relative;
background-color: #333;
float: right;
right: 0;
top: 128%;
z-index: 1;
}
.dropdown-content a:hover {background-color: #f1f1f1;}
@media screen and (max-width: 800px) {
nav ul { display: none; }
nav .dropdown { display: inline-block; }
nav .dropdown:hover .dropdown-content { display: block; }
nav .dropdown:hover { background-image: url('close.png');}
}