-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
133 lines (115 loc) · 2.54 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
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
122
123
124
125
126
127
128
129
130
131
132
133
/* BEM naming convention used */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap');
/* css variables */
:root {
--primary--color: #FFD55E; /*minion yellow*/
--light--yellow: #fefce8;
}
/* body */
body {
font-family: 'Fredoka One', cursive;
background-color: #f3f4f6;
margin: 0px;
}
/* navigation */
.navigation {
background-color: var(--primary--color);
color: black;
padding: 5px;
text-align: center;
font-size: 200%;
border-bottom-left-radius: 2rem;
border-bottom-right-radius: 2rem;
}
/* input-text-area */
.input-text-area {
font-family: inherit;
box-sizing: border-box;
display: block;
width: 50%;
height: 20vh;
margin-left: auto;
margin-right: auto;
margin-top: 50px;
margin-bottom: 20px;
padding: 10px 10px;
border: 1px solid black;
border-radius: 0.5rem;
line-height: 150%;
background-color: var(--light--yellow);
}
/* container-btn */
.container-btn {
text-align: center;
}
/* btn-translate */
#btn-translate {
background-color: var(--primary--color);
font-family: inherit;
font-size: xx-small;
padding: 25px 35px;
cursor: pointer;
border: none;
border-radius: 0.5rem;
position: relative;
font-size: 20px;
text-align: center;
margin-top: 10px;
margin-bottom: 20px;
box-shadow: 0 5px #dac913;
}
#btn-translate:hover {
background-color: hsl(39, 72%, 47%);
}
#btn-translate:active {
transform: translateY(4px); /* Moves the button down when clicked */
box-shadow: 0 2px #dac913; /* Reduces the shadow size when clicked */
}
/* heading-output */
.heading-output {
text-align: center;
}
/* output */
#output {
font-family: inherit;
box-sizing: border-box;
display: block;
width: 50%;
height: 20vh;
margin-left: auto;
margin-right: auto;
margin-top: 30px;
margin-bottom: 40px;
padding: 10px 10px;
border: 2px solid black;
border-radius: 0.5rem;
line-height: 150%;
background-color: var(--light--yellow);
}
/* footer */
.footer {
background-color: var(--primary--color);
padding: 10px 30px;
color: black;
text-align: center;
border-top-left-radius: 2rem;
border-top-right-radius: 2rem;
}
.footer .list-footer{
padding: 0;
margin: 0;
display: flex;
justify-content: center;
}
.footer .list-footer-item {
list-style: none;
padding: 0px 10px;
display: inline-block;
}
.footer .link {
text-decoration: none;
color: black;
}
.footer-head{
text-align: center;
}