-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathstyle.css
112 lines (97 loc) · 1.73 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
102
103
104
105
106
107
108
109
110
111
112
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: black;
font-family: Arial, Helvetica, sans-serif;
color: white;
}
html {
font-size: 1px;
}
body {
font-size: 18rem;
margin: auto;
padding: 10rem;
background-color: rgb(24, 26, 27);
color: white;
max-width: 1052rem;
user-select: none;
}
header {
text-align: center;
font-size: 24rem;
font-weight: bolder;
margin-bottom: 50rem;
}
section {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(302rem, max-content));
gap:40rem;
justify-content: center;
}
article {
/* margin: 20rem; */
padding: 20rem 24rem;
border-radius: 12rem;
border: 2rem solid rgb(0, 41, 102);
width: 302rem;
box-shadow: 0 0 5px rgb(0, 41, 102);
/* for margin-top:auto to work at .bottom-align */
display: flex;
flex-direction: column;
}
.tag {
padding: 4rem 12rem;
line-height: 150%;
width: max-content;
border-radius: 13rem;
font-size: 12rem;
color: rgb(155, 195, 116);
background-color: rgb(47, 74, 4);
margin-bottom: 10rem;
}
.title {
margin: 8rem 0rem 0rem;
margin-bottom: 10rem;
}
.title a {
color: white;
font-weight: bold;
line-height: 1.5;
font-size: 20rem;
}
.title:hover {
text-decoration: underline;
}
img {
width: 250rem;
height: 250rem;
object-fit: cover;
border-radius: 4rem;
}
a {
text-decoration: none;
}
.code-link {
color: rgb(245, 245, 245, 0.5);
line-height: 1.5;
font-size: 16rem;
color: rgb(232, 94, 35);
cursor: pointer;
font-weight: normal;
display: inline-flex;
-webkit-box-align: center;
align-items: center;
text-align: right;
}
.code-link:hover,
.code-link:focus {
text-shadow: 0 0 10rem blue;
color: white;
}
.bottom-align{
margin-top: auto;
}