-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
105 lines (92 loc) · 1.8 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
@font-face {
font-family: 'quicksand';
src: url('fonts/quicksand_semibold.ttf') format('truetype');
}
body {
font-family: 'quicksand', Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #f0f0f0;
}
.container {
background: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
max-width: 600px;
width: 100%;
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: space-between;
height: 90vh;
}
header {
display: flex;
align-items: center;
margin-bottom: 20px;
}
header button {
background: none;
border: none;
font-size: 24px;
cursor: pointer;
}
header h1 {
flex-grow: 1;
text-align: center;
margin: 0;
}
.counters {
display: flex;
justify-content: space-between;
margin-bottom: 20px;
flex-wrap: nowrap;
overflow-x: auto;
}
.counter {
background: #f9f9f9;
padding: 5px;
border-radius: 5px;
width: 23%;
min-width: 90px;
text-align: center;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
box-sizing: border-box;
margin-right: 10px;
}
.counter:last-child {
margin-right: 0;
}
textarea {
font-family: 'quicksand', Arial, sans-serif;
width: 100%;
height: 200px;
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
resize: vertical;
box-sizing: border-box;
}
footer {
text-align: center;
padding: 10px 0;
margin-top: 20px;
font-size: 14px;
color: #888;
}
@media (max-width: 600px) {
.counters {
flex-direction: row;
justify-content: space-between;
}
.counter {
width: 22%;
}
.counter:last-child {
margin-right: 0;
}
}