-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
67 lines (66 loc) · 1.04 KB
/
styles.css
File metadata and controls
67 lines (66 loc) · 1.04 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
body {
background-color: #292D33;
font-family: 'Source Sans Pro', sans-serif;
}
* {
box-sizing:border-box;
}
:root {
--gutter:20px;
}
img {
width:100%;
height: 200px;
object-fit: cover;
}
h1 {
color:#fff;
font-family: Oswald, sans-serif;
font-weight:400;
font-size:72px;
text-align:center;
}
.articles {
max-width: 1200px;
margin-inline: auto;
display:flex;
flex-wrap:wrap;
position:relative;
}
.article {
width: 100%;
margin:var(--gutter);
flex-grow: 1;
background-color: white;
}
@media only screen and (min-width: 600px) {
.article {
width: calc(100%/2 - var(--gutter)*2);
}
}
@media only screen and (min-width: 1000px) {
.article {
width: calc(100%/3 - var(--gutter)*2);
}
}
.article-inside {
background-color: white;
}
.text {
padding:20px;
text-align: center;
}
.text p {
padding-bottom:30px;
height:50px;
}
h3 {
margin-bottom:0;
}
.date {
text-align:right;
}
.changeTitle {
margin-inline:auto;
text-align:center;
}