-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
41 lines (40 loc) · 837 Bytes
/
style.css
File metadata and controls
41 lines (40 loc) · 837 Bytes
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
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
* {
box-sizing: border-box;
}
body {
font-family: cursive;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
overflow: hidden;
background-color: slateblue;
color: #fff;
}
.event {
display: flex;
}
.event .insert {
background-color: rgb(150, 20, 50);
margin: 10px;
padding: 15px 30px;
position: relative;
display: inline-flex;
flex-direction: column;
align-items: center;
min-width: 200px;
border: 1px solid #999;
box-shadow: 2px 2px rgb(150, 20, 50);
}
.insert small {
position: absolute;
top: -50%;
left: 0;
width: 100%;
text-align: center;
}
.insert:hover {
transform: scale(0.98);
}