-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
112 lines (91 loc) · 2.39 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
@import url('https://fonts.googleapis.com/css2?family=Major+Mono+Display&display=swap');
/* ----------------------------------------
Resets / Defaults / Common
-------------------------------------------- */
button{
all: initial;
cursor: pointer;
}
html{
box-sizing: border-box;
}
body{
min-height: 100vh;
margin: 0;
display: flex;
justify-content: space-evenly;
align-items: center;
/* https://uigradients.com/#NeonLife */
background: #B3FFAB;
background: -webkit-linear-gradient(to bottom, #12FFF7, #B3FFAB);
background: linear-gradient(to bottom, #12FFF7, #B3FFAB);
}
/* ---------------------------------------
Picture in Picture
------------------------------------------*/
.capture-button{
width: 20rem;
height: 5rem;
padding: 2rem;
box-shadow:
1px 3px 6px rgba(0, 0, 0, 0.5),
1px 1px 10px rgba(0, 0, 0, 0.2) inset;
text-align: center;
font-family: 'Major Mono Display', monospace;
font-weight: bold;
font-size: 1.6rem;
background-color: transparent;
color: #fff;
-webkit-filter: url("#filter");
filter: url("#filter");
border: solid;
border-image: linear-gradient(to top, #ece9e6d5, #ffffffbd) 5 / .5rem;
border-image-outset: 0rem;
border-radius: 5rem;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
transition: all .3s;
}
.capture-button:hover{
border-image: linear-gradient(to bottom, #ece9e641, #ffffff54) 5 / .5rem;
border-image-outset: 2rem;
text-shadow: 1px 1px 10px #B3FFAB;
border-radius: 1rem;
box-shadow:
1px 3px 6px rgba(0, 0, 0, 0.8),
1px 3px 10px rgba(0, 0, 0, 0.5) inset;
}
.capture-button:active{
transform: translateY(3px);
box-shadow:
1px 3px 6px rgba(0, 0, 0, 0.8),
1px 5px 15px rgba(0, 0, 0, 0.7) inset;
}
.show-stream{
width: 4rem;
display: none;
}
.show-stream img{
width: 100%;
filter: invert(2) drop-shadow(1px 1px 5px rgba(0, 0, 0, 0.3));
transition: all 0.1s;
}
.show-stream img:hover{
filter: invert(2) drop-shadow(1px 1px 4px #B3FFAB);
}
/* [hidden]{
display: none;
} */
/* ---------------------------------------
Media Query
------------------------------------------*/
@media screen and (max-width: 850px){
body{
flex-direction: column;
}
}
@media screen and (max-width: 500px) {
.capture-button{
width: 15rem;
padding: 1rem;
}
}