-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
138 lines (111 loc) · 2.36 KB
/
style.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
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@1,600&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: sans-serif;
font-family: 'Open Sans', sans-serif;
}
.helpbox{
display: block;
position: fixed;
top: 0;
left: 0;
padding: 8px 10px;
margin: 18px;
color: #fff;
font-size: 14px;
text-decoration: none;
background-color: #143240;
border-radius: 10px;
cursor: pointer;
clip-path: circle(10.5% at 0 0);
transition: .5s;
}
.helpbox:hover{
clip-path: circle(141.5% at 0 0);
}
h1{
text-align: center;
}
.container {
box-sizing: border-box;
background-color: #fff;
padding: 1rem 0 2rem 0;
border-radius: 4px;
width: 95%;
height: 100vh;
margin: 0 auto;
}
.buttons {
display: flex;
align-items: center;
justify-content: center;
height: 3rem;
}
.btnAscDec {
margin: 0 5px;
border: none;
background-color: #555555;
color: white;
padding: 10px 25px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
cursor: pointer;
}
.active {
background-color: #4CAF50;
}
.boxes {
display: flex;
width: 100%;
height: 90%;
margin: 0 auto;
justify-content: space-between;
}
.input-box, .output-box{
display: flex;
width: 45%;
margin: 8px 0;
box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
border-radius: 8px;
}
.input-text, .output-text {
padding: 13px 15px;
border-radius: 8px;
border: 2px solid #1a73e8;
outline: 0;
width: 100%;
font-size: 16px;
resize: none;
background-color: rgb(229, 234, 240);
}
@media screen and (max-width: 400px) {
.container {
width: 100%;
}
.boxes {
flex-direction: column;
justify-content: space-between;
align-items: center;
}
.buttons {
flex-direction: column;
align-items: center;
height: 6rem;
}
.btnAscDec {
margin: 5px 2px;
padding: 3px 18px;
}
.input-box {
height: 45%;
width: 80%;
}
.output-box {
height: 45%;
width: 80%;
}
}