-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
194 lines (163 loc) · 3.35 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
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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
@import url('https://fonts.googleapis.com/css2?family=Comfortaa&display=swap');
:root {
--primary-color: #cea4be;
--border-radius: 10px;
}
html {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
background-color: var(--primary-color);
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath fill-rule='evenodd' d='M0 0h40v40H0V0zm40 40h40v40H40V40zm0-40h2l-2 2V0zm0 4l4-4h2l-6 6V4zm0 4l8-8h2L40 10V8zm0 4L52 0h2L40 14v-2zm0 4L56 0h2L40 18v-2zm0 4L60 0h2L40 22v-2zm0 4L64 0h2L40 26v-2zm0 4L68 0h2L40 30v-2zm0 4L72 0h2L40 34v-2zm0 4L76 0h2L40 38v-2zm0 4L80 0v2L42 40h-2zm4 0L80 4v2L46 40h-2zm4 0L80 8v2L50 40h-2zm4 0l28-28v2L54 40h-2zm4 0l24-24v2L58 40h-2zm4 0l20-20v2L62 40h-2zm4 0l16-16v2L66 40h-2zm4 0l12-12v2L70 40h-2zm4 0l8-8v2l-6 6h-2zm4 0l4-4v2l-2 2h-2z'/%3E%3C/g%3E%3C/svg%3E");
font-family: Comfortaa, sans-serif;
}
h1 {
color: white;
padding: 0.8em;
background: rgba(0, 0, 0, 0.5);
border-radius: var(--border-radius);
cursor: pointer;
text-transform: uppercase;
text-align: center;
width: 20rem;
margin: 20px auto 10px;
user-select: none;
}
h1:hover {
background: rgba(0, 0, 0, 0.8);
}
/* Bookmarks */
.container{
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
.item {
background: rgba(0, 0, 0, 0.5);
color: white;
border-radius: var(--border-radius);
padding: 1em;
margin: 10px;
}
.item:hover {
background: rgba(0, 0, 0, 0.6);
}
a {
font-size: 18px;
font-weight: bold;
text-transform: uppercase;
}
a:link, a:visited {
color: white;
text-decoration: none;
}
a:hover, a:active {
text-decoration: underline;
}
.fa-times {
float: right;
cursor: pointer;
z-index: 2;
}
.name {
margin-top: 20px;
margin-right: 20px;
}
.name img {
height: 20px;
width: 20px;
margin-right: 5px;
vertical-align: sub;
}
/* Modal */
.modal-container {
background: rgba(0, 0, 0, 0.6);
display: none;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.show-modal {
display: flex;
justify-content: center;
align-items: center;
}
.modal {
background: white;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
max-width: 95%;
width: 500px;
/* animation: modalopen 1s; */
}
@keyframes modalopen {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.close-icon {
float: right;
color: white;
font-size: 24px;
position: relative;
top: 13px;
right: 13px;
cursor: pointer;
}
.modal-header {
background: var(--primary-color);
color: white;
padding: 15px;
}
h3 {
margin: 0;
}
.modal-content {
padding: 20px;
background: whitesmoke;
}
/* Form */
.form-group {
height: 55px;
}
.form-input {
width: 97%;
padding: 5px;
border: 2px solid var(--primary-color);
border-radius: var(--border-radius);
display: block;
outline: none;
}
.form-label {
color: var(--primary-color);
display: block;
}
button {
cursor: pointer;
color: white;
background: var(--primary-color);
height: 30px;
width: 100px;
border: none;
border-radius: var(--border-radius);
margin-top: 10px;
}
button:hover {
filter: brightness(110%);
}
button:focus {
outline: none;
filter: brightness(110%);
}
/* Media Query: large smartphone (vertical) */
@media screen and (max-width: 600px) {
.container {
flex-direction: column;
}
}