-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
151 lines (138 loc) · 2.47 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
body {
font-family: 'BioRhyme', serif;
font-size: 1.5rem;
background-color: #F2C94C;
text-align: center;
justify-content: center;
margin: 1rem;
padding: 1rem;
margin-right: 5rem;
margin-left: 5rem;
text-align: center;
justify-content: center;
width: 60vw;
margin: 0 auto;
margin-top: 10px;
margin-bottom: 80px;
}
/* css style to curve border */
.has-border {
border: 1px solid black;
}
.curve-all-edges {
border-radius: 1rem;
}
.curve-top-edge-only {
border-top-left-radius: 1rem;
border-top-right-radius: 1rem;
}
.curve-bottom-edge-only {
border-bottom-left-radius: 1rem;
border-bottom-right-radius: 1rem;
}
/* Minion Image */
#minion-img {
display: block;
object-fit: cover;
background-repeat: no-repeat;
height: 60vh;
width: 100%;
margin: 1rem auto;
margin-top: 0px;
margin-bottom: 40px;
}
#main-app {
margin-top: 60px;
margin-bottom: 60px;
}
/* Translate Button */
#btn-translate {
background-color: black;
border-color: black;
color: white;
font-size: 1.6rem;
/* margin: 1rem; */
padding: 1rem 2rem;
border-radius: 0.5rem;
width: 50%;
margin: 15px auto;
text-align: center;
}
#txt-input {
font-family: 'Caveat', cursive;
display: block;
border: 2px solid;
font-size: 1.6rem;
height: 20vh;
max-width: 100%;
width: 97vw;
padding: 0px;
padding-top: 1rem;
margin: 0 auto;
}
#output-box {
font-size: 1.6rem;
font-family: 'Caveat', cursive;
background: white;
border: 2px solid;
display: block;
height: 20vh;
margin: 0px auto 10px auto;
padding: 1rem;
text-align: left;
font-style: normal;
}
/* Title */
.title-style {
display: block;
color: white;
background: black;
margin: 0 auto;
padding: 1rem;
}
/* Box Labels Style */
.box-labels {
background: rgb(38, 65, 218);
padding-top: 0.5rem;
padding-bottom: 0.5rem;
margin: 0 auto;
}
/* FOOTER STYLE */
#made-by {
background: white;
margin: 0 auto;
margin-top: 20px;
padding: 1rem;
}
#socials-container {
/* background: white; */
height: auto;
padding: 0px 0px 20px 0px;
margin: 0 auto;
margin-top: 25px;
}
#social-links {
background: white;
display: flex;
justify-content: space-evenly;
gap: 15px;
flex-wrap: wrap;
padding: 20px 100px 10px 100px;
}
#social-links img {
height: 50px;
}
/* Mobile View */
@media (max-width: 530px) {
body {
width: 90vw;
margin: 0 0;
}
.title-style {
font-size: 1.9rem;
}
#btn-translate {
font-size: 1rem;
padding: 1rem 0px 1rem 0px;
}
}