-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
101 lines (86 loc) · 1.4 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
body{
background: ghostwhite;
color: dimgray;
font-family: serif;
text-align: center;
}
h1{
font-size: 2rem;
}
#container{
margin: 5% auto;
border-radius: 5px;
text-align: center;
}
.box{
display: inline-block;
border: 1px solid gray;
width: 100px;
height: 100px;
text-align: center;
box-sizing: border-box;
padding: 0;
}
span{
position: absolute;
font-size: 75px;
font-family: sans-serif;
text-align: center;
height: 75px;
width: 75px;
padding: 0;
margin: 5px;
margin-left: -35px;
}
.top{
border-top: none;
}
.bottom{
border-bottom: none;
}
.left{
border-left: none;
}
.right{
border-right: none;
}
.alert{
height: 75px;
width: 125px;
display: inline-block;
background: ghostwhite;
position: relative;
z-index: 10;
margin-top: -50%;
border-radius: 20px;
box-shadow: 0 0 75px 2px dimgray;
animation: larger 0.5s;
animation-fill-mode: forwards;
box-sizing: content-box;
padding: 30px;
bottom: 50px;
top: 0;
}
button{
background: dimgray;
border-radius: 2px;
color: ghostwhite;
border: none;
outline: none;
}
button:focus{
background: silver;
}
.activeBox{
background: silver;
}
@keyframes larger{
from{
height: 75px;
width: 125px;
}
to{
height: 100px;
width: 250px;
}
}