-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
89 lines (74 loc) · 1.35 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
body {
overflow: scroll;
margin: 0;
}
* {
font-family: courier;
}
h1 {
text-align: center;
font-size: min(80px, 6.5vw);
margin: 5% 0 5% 0;
}
a {
display: block;
color: black;
text-decoration: none;
}
#Panels {
display: flex;
flex-direction: row;
flex-wrap: wrap;
margin: 0 min(150px, 10%) 0 min(150px, 10%);
}
.Panel {
flex-basis: auto;
position: relative;
width: 250px;
height: 250px;
}
.Panel-Margin-Box {
position: absolute;
top: 15%;
left: 15%;
bottom: 15%;
right: 15%;
}
.Panel-Content-Box {
position: relative;
width: 100%;
height: 100%;
border-radius: 35px;
box-shadow: 0 0 1.5vw 0.125vw black;
background-color: white;
overflow: hidden;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(3, 1fr);
transition: width 0.25s, height 0.25s, border-radius 0.25s;
}
.Panel-Content-Box:hover {
width: 225%;
height: 150%;
border-radius: 35px;
z-index: 1;
}
.Panel-Image {
background-size: auto 100%;
background-position: center center;
background-repeat: no-repeat;
border-radius: 35px;
}
.Panel-Title {
font-size: 26px;
font-weight: bold;
text-align: center;
position: absolute;
}
.Panel-Description {
position: absolute;
margin-top: -3%;
padding: 5%;
overflow-wrap: break-word;
font-size: 20px;
}