-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
120 lines (102 loc) · 1.82 KB
/
styles.css
File metadata and controls
120 lines (102 loc) · 1.82 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
@font-face {
font-family: 'quicksand';
src: url('fonts/quicksand_semibold.ttf') format('truetype');
}
* {
font-family: 'quicksand', Arial, sans-serif;
}
body {
margin: 0;
font-family: 'quicksand', Arial, sans-serif;
display: flex;
flex-direction: column;
height: 100vh;
background-color: #f0f0f0;
}
.container {
display: flex;
flex-direction: column;
height: 100%;
justify-content: space-between;
}
main {
flex-grow: 1;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.content {
background-color: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
text-align: center;
width: 90%;
max-width: 400px;
}
h2 {
margin-top: 0;
font-size: 22px;
}
textarea {
width: 100%;
height: 100px;
padding: 10px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 5px;
margin-top: 10px;
box-sizing: border-box;
resize: none;
}
.buttons {
display: flex;
justify-content: space-between;
margin-top: 10px;
}
button {
flex: 1;
padding: 10px;
margin: 0 5px;
background-color: #ffca28;
border: none;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
}
button:active {
background-color: #ffb300;
}
footer {
background-color: #e0e0e0;
text-align: center;
padding: 10px;
font-size: 14px;
}
@media (min-width: 768px) {
button {
font-size: 18px;
}
footer {
font-size: 16px;
}
}
@media (min-width: 1024px) {
.content {
width: 60%;
max-width: 500px;
}
main, footer {
padding: 20px;
}
textarea {
font-size: 18px;
}
button {
font-size: 20px;
}
footer {
font-size: 18px;
}
}