-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
50 lines (45 loc) · 986 Bytes
/
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
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display&display=swap');
*, *::after, *::before{
box-sizing: border-box;
margin: 0;
font-family: 'Red Hat Display', sans-serif;
}
:root{
--bg-color: #874356;
--txt-color: #F6E7D8;
--color: #C65D7B;
}
/* ====== CONTAINER ====== */
.container{
width: 88%;
margin: 2rem auto 0;
}
/* ====== TITLE ====== */
.title{
text-align: center;
background-color: var(--bg-color);
color: var(--txt-color);
padding: 1rem;
}
/* ====== TEXTBOX ====== */
#textbox{
width: 100%;
font-size: 1.2rem;
padding: 0.5rem 0.8rem;
background-color: var(--txt-color);
resize: vertical;
}
#textbox:focus{
outline: 3px solid transparent;
}
/* ====== TEXT COUNTER ====== */
#text_counter{
margin-top: -8px;
width: 100%;
text-align: center;
font-size: 1.4rem;
font-weight: bold;
color: var(--txt-color);
padding: 0.4rem;
background-color: #C65D7B;
}