-
Notifications
You must be signed in to change notification settings - Fork 1
/
styles.css
91 lines (82 loc) · 1.42 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
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
:root {
--accent: #65a30d;
--dark: #18181b;
--background: #fefce8;
}
body {
font-family: "Montserrat", sans-serif;
background-color: var(--background);
}
nav {
background-color: var(--accent);
text-align: center;
}
nav h1 {
font-size: 2rem;
padding: 0.7rem;
}
.translation-div {
margin: auto;
padding: 1rem;
max-width: 600px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
textarea {
box-sizing: border-box;
display: block;
width: 100%;
min-height: 20vh;
margin: 2rem;
font-size: large;
border: 2px solid var(--dark);
border-radius: 0.2rem;
padding: 1rem;
font-weight: bold;
}
button {
background-color: var(--accent);
margin: 1rem 0rem;
padding: 0.5rem 1rem;
font-size: large;
border-radius: 0.2rem;
cursor: pointer;
}
/* Footer Start */
.footer {
display: flex;
justify-content: center;
align-items: center;
background-color: var(--accent);
color: var(--colorLight);
position: absolute;
bottom: 0;
width: 100%;
height: 5rem;
}
.footer-links ul {
margin: 0;
padding: 0;
display: flex;
}
.footer-links li a {
color: var(--dark);
padding: 0 1rem;
display: block;
font-weight: bold;
}
li {
list-style: none;
}
a {
text-decoration: none;
}
/* Footer End */