-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
123 lines (117 loc) · 1.93 KB
/
styles.css
File metadata and controls
123 lines (117 loc) · 1.93 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
body{
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
text-align: center;
}
header{
background-color: #6200ea;
color: white;
padding: 1rem;
}
.header-container{
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
}
.header-image{
width: 100px;
height: 100px;
object-fit: cover;
border-radius: 10px;
}
h1{
margin: 0;
font-size: 2rem;
color: white;
}
main{
margin: 2rem;
}
input{
padding: 0.5rem;
width: 70%;
max-width: 400px;
border-radius: 10px;
border: 1px solid #000000;
}
button{
padding: 0.5rem;
margin: 0.5rem;
background-color: #6200ea;
color: white;
border: none;
cursor: pointer;
border-radius: 10px;
}
button:hover{
background-color: #3700b3;
}
ul{
list-style-type: none;
padding: 0;
max-width: 400px;
margin: 0 auto;
}
li{
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.5rem;
border: 1px solid #ddd;
margin-top: 0.5rem;
}
img.lazy{
display: block;
width: 100%;
height: auto;
opacity: 0;
transition: opacity 0.3s;
}
img.lazy-loaded{
opacity: 1;
}
@media (max-width: 500px){
.header-image{
width: 75px;
height: 75px;
}
h1{
font-size: 1.7rem !important;
}
}
@media (max-width: 300px){
.header-image{
width: 50px;
height: 50px;
}
h1{
font-size: 1.5rem !important;
}
}
@media (max-width: 225px){
.header-image{
width: 35px;
height: 35px;
}
h1{
font-size: 0.8rem !important;
}
input{
padding: 0.2rem !important;
border-radius: 5px !important;
font-size: 0.6rem;
}
main {
margin: 1rem;
}
button {
padding: 0.3rem !important;
margin: 0.2rem !important;
font-size: 0.6rem;
}
header{
padding: 0.5rem;
}
}