-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
60 lines (50 loc) · 1010 Bytes
/
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
@import url('https://fonts.googleapis.com/css2?family=Gloria+Hallelujah&display=swap');
:root{
--primary-color: #FBBF24;
}
header {
background-color: var(--primary-color);
position: fixed;
height: 5rem;
width: 100%;
top:0;
}
h1 {
margin-block-start: 0%;
margin-block-end: 0%;
}
body {
font-family: 'Gloria Hallelujah', cursive;
margin-left: 0rem;
margin-right: 0rem;
text-align: center;
}
#txt-input {
margin-top: 7.5rem;
width: 13rem;
height: 3rem;
display: block;
}
#btn-translate {
margin-top: 1rem;
display: block;
}
textarea, button, #output {
display: block;
margin: auto;
}
#output {
width: 13rem;
height: 8rem;
border: 1px solid black;
}
footer {
position: fixed;
width: 100%;
bottom: 0;
padding: 0rem 0.65rem;
background-color: var(--primary-color);
margin-top: 1rem;
}
/* footer does not stick to the bottom of the page */
/* Center align textarea, button, output-div */