-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
127 lines (110 loc) · 2.44 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Ubuntu', sans-serif;
}
body{
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-image: linear-gradient(to right, #00b09b, #96c93d);
color: white;
}
.container{
width: 50%;
height: 80%;
}
.container .main-content .control{
display: flex;
justify-content: space-between;
align-items: center;
font-size: 1.3rem;
margin-bottom: 15px;
font-family: 'Ubuntu', sans-serif;
text-shadow: 0 0 1px;
}
.container .heading{
width: 80% ;
margin: 30px auto;
text-align: center;
padding: 5px 10px;
text-shadow: 0 0 5px;
font-family: 'Ubuntu', sans-serif;
}
.container .main-content .control > select{
height: 30px;
width: 115px;
border-radius: 5px;
font-size: 1rem;
font-family: 'Ubuntu', sans-serif;
box-shadow: 0 0 5px black;
}
.container .button-area{
padding: 20px;
text-align: center;
}
.container .button-area >button{
font-size: 1.2rem;
padding: 6px 10px;
border-radius: 5px;
border: none;
background: transparent;
border: 2px solid white;
color: white;
box-shadow: 0 0 5px;
font-family: 'Ubuntu', sans-serif;
}
.container .button-area >button:hover{
background-color: white;
color: black;
}
.container .final{
text-align: center;
padding: 10px;
font-family: 'Ubuntu', sans-serif;
text-shadow: 0 0 2px;
}
@media only screen and (min-width:320px) and (max-width:480px) {
.container {
width: 85%;
height: 80%;
}
}
@media only screen and (min-width:480px) and (max-width:595px) {
.container {
width: 75%;
height: 80%;
}
}
@media only screen and (min-width:595px) and (max-width:690px) {
.container {
width: 65%;
height: 80%;
}
}
@media only screen and (min-width:690px) and (max-width:800px) {
.container {
width: 55%;
height: 80%;
}
}
@media only screen and (min-width:800px) and (max-width:1024px) {
.container {
width: 45%;
height: 80%;
}
}
@media only screen and (min-width:1024px) and (max-width:1224px) {
.container {
width: 40%;
height: 80%;
}
}
@media only screen and (min-width:1224px) and (max-width:2000px) {
.container {
width: 30%;
height: 80%;
}
}