-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
58 lines (49 loc) · 832 Bytes
/
styles.css
File metadata and controls
58 lines (49 loc) · 832 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
body {
box-sizing: border-box;
padding: 0;
margin: 0;
background-color: rgb(30, 30, 38);
color: rgb(183, 183, 205);
font-size: 1rem;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
display: flex;
flex-direction: column;
place-items: center;
text-align: center;
position: relative;
overflow-x: hidden;
}
.head {
position: absolute;
top: 1rem;
right: -50%;
left: -50%;
z-index: 10;
opacity: 0.25;
}
.head:hover {
opacity: 0.05;
}
h1 {
font-size: 2rem;
}
p {
font-size: 0.5rem;
}
@media screen and (min-width: 960px) {
[data-hubble] {
content: url('img/hubble/deep_field_2800.jpg');
}
[data-webb] {
content: url('img/webb/deep_field_2800\(2\).jpg');
}
.head {
opacity: 0.75;
}
h1 {
font-size: 3rem;
}
p {
font-size: 0.9rem;
}
}