forked from phscpt/phscpt.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
81 lines (65 loc) · 1.25 KB
/
style.css
File metadata and controls
81 lines (65 loc) · 1.25 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
/* OVERALL */
@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');
html, body {
background: rgb(250, 250, 250);
height: 100%;
}
body {
font-family: Inter, sans-serif;
}
h1, h2 {
font-weight: lighter;
font-family: Inter, sans-serif;
}
#main {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 30px;
}
@media screen and (max-width: 600px) {
#main {
display: block;
}
#logo-main {
width: 40%;
}
}
/* ELEMENTS */
#hero {
background-image: url("cpt_bg.png");
width: 100%;
filter: none;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
margin-top: 20%;
margin-bottom: 5%;
}
img {
filter: drop-shadow(0px 0px 10px rgb(228, 228, 228));
transition: filter 0.2s;
}
img:hover {
filter: drop-shadow(5px 5px 10px rgb(191, 191, 191));
}
a {
cursor: pointer;
}
table {
border: 1px solid var(--border)
}
button, input[type="submit"] {
border: 1px solid var(--button-hover);
box-shadow: 5px 5px 15px rgb(240, 240, 240);
}
/* SIDEBAR AND LAYOUT */
#sidebar {
grid-column: 1;
}
#sidebar button {
width: 100%;
}
#posts {
grid-column: 2 / 4;
}