-
Notifications
You must be signed in to change notification settings - Fork 0
/
translator.css
90 lines (76 loc) · 1.62 KB
/
translator.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
body{
padding: 0;
margin: 0;
box-sizing: border-box;
background-color: rgba(165, 42, 42, 0.952);
}
.container{
display: flex;
flex-direction: column;
align-items: center;
height: 100vh;
justify-content: center;
white-space: nowrap;
margin-top: -10px;
}
.container .header{
text-align: center;
font-family: sans;
font-size: 1.5em;
color: white;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
#text1, #text2{
padding: 10px;
min-width: 500px;
font-family: sans;
border: none;
border-radius: 10px;
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
background: pink;
}
#text1, #text2, ::placeholder{
color: black;
}
.lang{
display: flex;
flex-direction: row-reverse;
width: 100vh;
justify-content: space-around;
}
#btn{
border: none;
border-radius: 5px;
padding: 10px 20px;
cursor: pointer;
font-family: sans;
background-color:burlywood ;
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
#btn:hover{
opacity: 0.8;
}
#mySelect{
border: none;
border-radius: 5px;
padding: 10px 20px;
cursor: pointer;
font-family: sans;
background-color: burlywood;
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
/* Media query */
@media only screen and (max-device-width: 480px) {
h1{
font-size: 1.5em;
}
#text1, #text2{
min-width: 300px;
}
.lang{
display: flex;
flex-direction: row-reverse;
width: 80%;
justify-content: space-evenly;
}
}