-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
159 lines (141 loc) · 3.1 KB
/
styles.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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
/********************************************
* Styles for the Background Switcher. *
* Author: Nikos-Nikitas *
* Github: https://github.com/nikosnikitas *
********************************************/
:root {
--lpink: lightpink;
--lsgreen: lightseagreen;
--main: lightgray;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
* {
font-family: sans-serif;
font-weight: bold;
font-size: x-large;
}
header {
background-color: #000;
color: var(--lsgreen);
width: 100%;
align-self: flex-start;
vertical-align: top;
border: solid #000 1px;
border-radius: 25px;
display: flex;
flex-direction: row;
justify-content: space-between;
}
#right { align-self: start; padding: 10px;}
#right a {color: var(--main); text-decoration: none;}
#right:hover a { color: lightyellow; animation: grow 3s both;}
#left { align-self: end; padding: 10px;}
svg {
align-self: center;
padding: 3px;
}
#shape {
fill: var(--lpink);
stroke: var(--lsgreen);
animation-name: switch;
animation-duration: 3s;
animation-iteration-count: infinite;
animation-fill-mode: both;
}
@keyframes switch {
0% {
fill: var(--lpink);
stroke: var(--lsgreen);
}
50% {
fill: var(--lsgreen);
stroke: var(--lpink);
}
100% {
fill: var(--lpink);
stroke: var(--lsgreen);
}
}
@keyframes grow {
from {
font-size: inherit;
}
to {
font-size: xx-large;
}
}
#App {
display: flex;
flex-direction: column;
justify-content: center;
align-self: center;
align-items: center;
border: solid inherit 1px;
border-radius: 25px;
height: 100%;
}
body {
display: flex;
flex-direction: column;
justify-content: center;
background-color: var(--main);
}
#App, p {width: 100%;}
.container {
display: flex;
flex-direction: column;
justify-content: center;
align-self: center;
align-items: center;
border: solid inherit 1px;
border-radius: 25px;
width: 80%;
height: 100vh;
background: linear-gradient(transparent, rgba(255, 255, 255, 0.205));
backdrop-filter: blur(30%);
box-shadow: inset 2px 2px 4px 2px gray;
}
button {
width: 200px;
height: 100px;
background-color: #000;
color: var(--lsgreen);
border: solid 3px var(--lsgreen);
border-radius: inherit;
box-shadow: 2px 3px 4px 2px gray;
cursor: pointer;
padding: 6px;
}
button:hover {
animation: grow 2s both;
}
p {
transform: translateY(-50vh);
height: 10vh;
display: flex;
flex-direction: column;
justify-content: center;
align-self: center;
align-items: center;
border: solid inherit 1px;
border-radius: 25px;
text-align: center;
color: var(--lsgreen);
background-color: #000;
}
footer {
background-color: #000;
color: var(--lsgreen);
width: 100%;
align-self: flex-end;
vertical-align: top;
border: solid #000 1px;
border-radius: 25px;
display: flex;
flex-direction: row;
justify-content: center;
}