-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathstyle.css
More file actions
166 lines (166 loc) · 2.94 KB
/
Copy pathstyle.css
File metadata and controls
166 lines (166 loc) · 2.94 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;700&display=swap');
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
::selection {
background-color: black;
color: white;
}
body {
font-family: 'Open Sans', sans-serif;
min-height: 100vh;
padding-bottom: 100px;
background-color: #131417;
color: #ffffff;
outline: none;
}
header {
padding: 50px 30px 50px 30px;
text-align: center;
}
header h1 {
font-family: 'Open Sans', sans-serif;
font-weight: 400;
font-size: 30px;
}
header h2 {
margin-top: 10px;
font-weight: 400;
font-size: 20px;
}
header a {
color: aqua;
text-decoration: underline;
}
.list {
max-width: 600px;
margin: 0 auto;
text-align: left;
box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
}
.list ul {
list-style: none;
width: 100%;
}
.list ul li {
position: relative;
cursor: pointer;
width: 100%;
height: auto;
padding: 20px 25px;
background-color: #1e1f26;
transition: .3s ease background-color;
margin-bottom: 1px;
overflow: hidden;
}
.list ul li:hover {
background-color: #22232b;
}
.list ul li h1 {
line-height: 40px;
color: rgba(255, 255, 255, 0.76);
text-decoration: none;
font-weight: 400;
font-size: 22px;
}
.list .buttons {
display: flex;
align-items: center;
justify-content: center;
flex-direction: row;
flex-wrap: wrap;
height: 0;
transition: .3s ease height;
visibility: hidden;
}
.list ul li .buttons a {
display: flex;
align-items: center;
justify-content: center;
flex-direction: row;
flex-wrap: no-wrap;
padding: 5px 10px;
margin: 5px 3px;
background-color: #2d2f35;
border-radius: 8px;
font-size: 18px;
color: rgba(255, 255, 255, 0.712);
text-decoration: none;
transition-delay: .1s;
transition: .5s ease;
transition-property: opacity, margin-top, background-color;
opacity: 0;
}
.list ul li .buttons a img {
display: inline-block;
height: 25px;
width: 25px;
padding-right: 5px;
}
.list ul li .buttons a p {
display: inline-block;
}
.list ul li a:hover {
background-color: black;
}
.list li .close {
visibility: hidden;
position: absolute;
top: 10px;
right: 10px;
height: 25px;
width: 25px;
cursor: pointer;
}
.list li.active {
cursor: auto;
}
.list li.active img {
visibility: visible;
}
.list li.active .buttons {
visibility: visible;
height: 60px;
}
.list li.active .buttons a {
animation: button-animation .5s ease forwards;
}
.list li.active .buttons a:nth-child(1) {
animation-delay: .1s;
}
.list li.active .buttons a:nth-child(2) {
animation-delay: .15s;
}
.list li.active .buttons a:nth-child(3) {
animation-delay: .2s;
}
@keyframes button-animation {
0% {
opacity: 0;
transform: translateY(40px);
}
100% {
opacity: 1;
transform: translateY(0px);
}
}
@media only screen and (max-width: 550px) {
.list li.active .buttons {
height: 80px;
justify-content: flex-start;
}
.list ul li h1 {
font-size: 18px;
letter-spacing: 2px;
}
header h1 {
font-size: 22px;
}
}
@media only screen and (min-width: 768px) {
header h1 {
font-size: 40px;
}
}