-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
130 lines (105 loc) · 1.86 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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-size: 32px;
font-family: 'Courier New', Courier, monospace, sans-serif;
}
:root{
--blur:10px;
--space:10px;
--color:rgb(248, 123, 6);
}
body {
padding: 30px;
background-color: rgb(53, 53, 53);
color: white;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
/* header style */
header {
margin-bottom: 20px;
}
header h1 {
font-size: 1.5rem;
}
header h1 span {
font-size: 1.5rem;
color: var(--color);
}
/* main style */
main {
background-color: rgb(37, 37, 37);
padding: 30px;
border-radius: 10px;
width: 70vw;
display: flex;
flex-direction: column;
box-shadow: 0px 0px calc(40px + var(--space)) var(--color);
}
.controles div {
display: flex;
justify-content: space-around;
width: 100%;
}
.controles div input {
flex-grow: 1;
}
.controles div label {
flex-grow: 1;
width: 600px;
}
.controles div input#SColor {
flex-grow: 0;
height: 30px;
border: none;
border-radius: 10px;
}
.myIdImg {
margin-top: 50px;
display: flex;
justify-content: center;
}
.myIdImg img {
width: 100%;
border-style: solid;
}
/* applique style control */
#myImg {
filter: blur(var(--blur));
border-color: var(--color);
border-width:var(--space);
}
@media (max-width:870px) {
header h1 {
font-size: 1.2rem;
}
header h1 span {
font-size: 1.2rem;
}
main {
width: 90vw;
}
.controles div {
flex-direction: column;
}
}
@media (max-width:710px) {
header h1 {
font-size: 0.8rem;
}
header h1 span {
font-size: 0.8rem;
}
}
@media (max-width:490px) {
header h1 {
font-size: 0.5rem;
}
header h1 span {
font-size: 0.5rem;
}
}