This repository was archived by the owner on Jul 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
71 lines (62 loc) · 1.53 KB
/
style.css
File metadata and controls
71 lines (62 loc) · 1.53 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
/* CSS Personal Blog Website */
@import url(css/header.css);
@import url(css/bloggrid.css);
@import url(css/blogpost.css);
@import url(css/footer.css);
/* Main CSS */
.container {
display: grid;
margin: auto;
margin-top: 20px;
margin-bottom: 20px;
margin-left: 20px;
margin-right: 20px;
grid-template-columns: repeat(auto-fill);
grid-auto-rows: repeat(auto-fill);
grid-template-areas: "hd" "sr" "mn" "bl" "ft";
overflow: hidden;
}
.box {
display: flex;
padding: 20px;
}
.menubtn {
background-color: #AA6075;
color: white;
padding: 16px;
border: none;
cursor: pointer;
font-size: 28px;
width: 100%;
border-radius: 20px;
}
.vert-menu {
grid-area: mn;
width: 100%;
position: relative;
display: inline-block;
}
.vert-menu-drop {
display: none;
width: 100%;
position: absolute;
background-color: #f9f9f9;
min-width: 100%;
z-index: 1;
text-align: center;
}
.vert-menu-drop a {
background-color: #eee;
color: black;
display: block;
padding: 20px;
font-size: 28px;
text-decoration: none;
border-radius: 20px;
}
.vert-menu-drop a:hover {
background-color: lightgray
}
.vert-menu:hover .vert-menu-drop {
display: block;
}