-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
122 lines (104 loc) · 1.95 KB
/
index.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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
/* Universal */
/* Setting height and width */
html, body {
height: 100%;
}
/* Header styles */
h1 {
font-family: Georgia, 'Times New Roman', Times, serif;
font-size: 2.5em;
}
/* Body typography */
h2, p, textarea, #language-to-translate {
font-family: Arial, Helvetica, sans-serif;
}
/* Component styling */
textarea, #language-to-translate {
font-size: 1.2em;
padding: 0.5em;
}
/* H2 styling */
h2 {
color: #035A9D;
margin: 0 0 1vh 0;
}
/* Page styles */
/* Banner container */
#banner {
background: no-repeat url("assets/worldmap.png");
background-size: cover;
}
/* Logo container */
#logo {
padding: 4em 2em;
display: flex;
justify-content: center;
}
/* Logo image */
#logo img {
height: 10vh;
margin-right: 1em;
}
/* Logo text container */
#logo-text {
display:flex;
flex-direction: column;
justify-content: center;
width: fit-content;
}
/* App name text */
#logo-text h1 {
margin: 0 0 0 0;
font-size: 2.5em;
font-weight: bold;
color:#32CD32;
}
/* App description text */
#logo-text p {
margin: 0;
font-size: 1.5em;
color: #FFFFFF;
}
/* Content container */
#body {
display:flex;
flex-direction: column;
padding: 4vh 4vw;
}
/* Text area styling */
textarea {
margin:0 0 3vh 0;
border-radius: 6px;
}
/* Language dropdown stlying */
#language-to-translate {
margin:0 0 3vh 0;
min-height: 48px;
min-width: 100%;
border-radius: 6px;
}
/* Translate button style */
button {
background-color: #035A9D;
color: #FFFFFF;
border: none;
border-radius: 6px;
min-height: 48px;
min-width: 80%;
font-size: 1.3em;
font-family: Arial, Helvetica, sans-serif;
margin: auto 0 0 0;
}
button:hover {
background-color: #004173;
transition: 0.3s;
}
button:focus {
background-color: #004173;
outline-color: #003258;
transition: 0.3s;
}
button:active {
background-color: #000a11;
transition: 0.3s;
}