-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
115 lines (103 loc) · 1.77 KB
/
styles.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
/* Reset */
html {
box-sizing: border-box;
font-size: 1.2em;
/* transition: all 2s ease; */
}
*,
*:before,
*:after {
box-sizing: inherit;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
margin: 0;
padding: 0;
font-weight: normal;
}
ol,
ul {
list-style: none;
}
img {
max-width: 100%;
height: auto;
}
/* Base Styles */
body {
font-family: "Arial", sans-serif;
background-color: #f4f4f4;
background-image: url("background.jpg");
background-size: cover;
background-position: center;
color: #333;
display: flex;
justify-content: center;
align-items: center;
height: 100svh;
transition: all 0.4s ease-in-out;
}
.container {
background: rgba(34, 34, 34, 0.2);
border-radius: 1.6em;
backdrop-filter: blur(1em);
-webkit-backdrop-filter: blur(1em);
padding: 0.8em;
width: 90%;
max-width: 600px;
transition: all 0.4s ease-in-out;
}
h3 {
margin-bottom: 0.4em;
font-size: 1.8em;
font-weight: bold;
color: #ffffff;
text-align: center;
}
ul {
display: flex;
flex-direction: column;
flex-grow: 1;
list-style-type: none;
gap: 0.4em;
}
a {
text-decoration: none;
}
li {
display: flex;
align-items: center;
padding: 0.6em;
gap: 0.6em;
background: rgba(51, 51, 51, 0.6);
border-radius: 0.8em;
font-size: 1em;
box-shadow: 0 2px 10px rgba(51, 51, 51, 0.4);
transition: all 0.4s ease-in-out;
> p {
color: #ffffff;
transition: all 0.4s ease-in-out;
}
}
@media (min-width: 768px) {
li:hover {
background: rgba(255, 255, 255, 0.6);
> p {
color: #000000;
}
}
}
li img {
width: 2em;
aspect-ratio: 1/1;
/* margin-right: 15px; */
object-fit: cover;
}