-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
120 lines (105 loc) · 1.9 KB
/
style.css
File metadata and controls
120 lines (105 loc) · 1.9 KB
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
body {
display: grid;
grid-template-areas:
"logo header header"
"aside main menu"
"footer footer footer";
grid-template-rows: 15% 1fr 15%;
grid-template-columns: 15% 1fr 10%;
height: 100vh;
grid-gap: 0.5vw;
margin: 0;
}
#logo {
grid-area: logo;
background: linear-gradient(to top, #e66465, #9198e5);
}
#header {
grid-area: header;
background-color: coral;
padding: 20px;
}
#aside {
grid-area: aside;
background-color: cornflowerblue;
padding: 20px;
}
#main {
grid-area: main;
background-color: aquamarine;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
}
#menu {
grid-area: menu;
background-color: darksalmon;
padding: 20px;
}
#footer {
grid-area: footer;
background-color: dimgray;
padding: 20px;
}
.image-gallery {
width: 13.5vmax;
height: 7vmax;
border: 2px solid #fff;
margin: 1vw;
}
.image-gallery:hover {
border: none;
box-shadow: 0 0 2vw rgba(0, 0, 0, 0.9);
border: 2px solid rgba(0, 0, 0, 0.01);
margin: 1vmax;
}
img {
display: flex;
width: 100%;
height: 100%;
}
#splash {
position: fixed;
display: none;
z-index: 9999;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.9);
top: 0;
left: 0;
}
#splash-image {
display: none;
position: relative;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 80vw;
animation: fade 0.5s;
}
@keyframes fade {
0% {
opacity: 0.1;
}
100% {
opacity: 1;
}
}
#splash > span {
position: fixed;
display: inline-block;
top: 20px;
right: 20px;
font-size: 40px;
font-weight: 600;
color: aliceblue;
opacity: 0.4;
cursor: pointer;
transition: 0.5s;
border-radius: 50%;
}
#splash > span:hover {
opacity: 0.9;
transition: 0.5s;
}