-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
executable file
·113 lines (113 loc) · 2.14 KB
/
style.css
File metadata and controls
executable file
·113 lines (113 loc) · 2.14 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
body {
background-image: url(https://raw.githubusercontent.com/WEremite/html-css-popup/308fb72a699779f60528cfa6fed26cdefcb59d0e/icons/unicorn-main.svg);
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
background-color: rgb(255, 250, 250);
}
a {
text-decoration: none;
}
ul {
list-style: none;
}
li {
display: inline;
}
input {
appearance: none;
}
p {
text-align: center;
margin-top: 5px;
font-size: 14px;
}
.icons-menu label {
cursor: pointer;
text-align: center;
display: block;
position: relative;
padding: 10px 0px;
}
#show,#content {
opacity: 0;
}
#show:checked~#content {
opacity: 1;
overflow-x: hidden;
height: 300px;
margin: 10px 0px;
padding: 15px 20px;
}
#show2, #content2 {
opacity: 0;
position: absolute;
}
#show2:checked~#content2 {
opacity: 1;
position: relative;
display: flex;
border-top: 1px solid #c5c5c547
}
#show2:checked~.second-show-label {
display: none;
}
.menu {
position: relative;
clear: both;
display: flex;
justify-content: flex-end;
align-items: center;
font-family: Helvetica, sans;
}
.first-menu-item {
margin: 10px;
}
.popup-button {
position: relative;
bottom: -6px;
cursor: pointer;
}
.popup {
overflow-y: auto;
height: 300px;
width: 350px;
}
.icons-menu {
display: flex;
width: 280px;
flex-wrap: wrap;
border: 2px solid transparent;
border-image: linear-gradient(to bottom left, #b827fc 0%, #2c90fc 25%, #b8fd33 50%, #fec837 75%, #fd1892 100%);
border-image-slice: 1;
background-color: #fff;
}
.icons-item {
display: flex;
align-items: center;
}
li.icons-item:hover {
outline: 1px solid grey;
}
.show:focus + .show-label {
outline: 1px solid grey;
}
.second-show:focus + .second-show-label {
outline: 1px solid grey;
}
.first-menu-item:focus, .icons-item:focus {
background-color: grey;
}
.icons-item-img {
width: 60px;
margin: 15px 10px 0px 15px;
}
.second-show-label {
width: 250px;
}
.more-icons-menu {
display: flex;
width: 280px;
flex-wrap: wrap;
padding-left: 0px;
}