-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
116 lines (110 loc) · 2.07 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
body{
background-color: aquamarine;
width:100vw;
height:100vh
}
#container{
box-sizing: content-box;
display:grid;
background-color: gray;
width:70vw;
height:60vh;
overflow: hidden;
border-radius: 20px;
}
#frame{
display: flex;
background-color: #cc0000;
width:80vw;
height:80vh;
margin:50px auto;
align-items: center;
flex-direction: column;
border-radius: 20px;
}
#title{
display: inline;
font-family: 'Dancing Script', cursive;
font-size: 400%;
margin:0;
}
#controls{
display: flex;
margin-top:20px;
}
.resolution{
display: flex;
flex-direction: column;
align-items:flex-start;
margin-right: 60px;
}
.colors{
display: flex;
flex-direction: column;
align-items:center;
}
button,input{
margin-right:40px;
}
button{
border: 2px solid rgb(146, 146, 146);
height:130%;
border-radius: 50px;
color:white;
font-size: 14px;
background-color: rgba(23, 93, 185, 0.644);
box-shadow: 2px 2px 5px 0px #2E5151;
}
label{
font-size: 1.3em;
font-weight: 600;
}
#range{
-webkit-appearance: none;
width: 100%;
height: 8px;
border-radius: 5px;
background: #d3d3d3;
outline: none;
opacity: 0.7;
-webkit-transition: .2s;
transition: opacity .2s;
}
#range:hover {
opacity: 1;
}
#range::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 15px;
height: 15px;
border-radius: 50%;
background: #4CAF50;
cursor: pointer;
}
#range::-moz-range-thumb {
width: 15px;
height: 15px;
border-radius: 50%;
background: #4CAF50;
cursor: pointer;
}
@media (max-height:800px){
button,input{
margin-right:20px;
}
button{
border: 2px solid rgb(146, 146, 146);
height:70%;
border-radius: 50px;
color:white;
font-size: 14px;
background-color: rgba(23, 93, 185, 0.644);
box-shadow: 2px 2px 5px 0px #2E5151;
}
}
@media(max-width:1027px){
#range{
width:60%
}
}