This repository was archived by the owner on May 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
99 lines (93 loc) · 1.8 KB
/
style.css
File metadata and controls
99 lines (93 loc) · 1.8 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
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background-color: hsl(233, 47%, 7%);
font-size: 15px;
font-family: 'Inter';
color: white;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-top: 150px;
}
.grid-body {
display: grid;
height: 350px;
margin-right: 10vw;
margin-left: 10vw;
grid-template-columns: 1fr 1fr;
background-color: hsl(244, 38%, 16%);
border-radius: 5px;
overflow: hidden;
}
h1{
margin-bottom: 20px;
}
h2{
margin: 0;
padding: 0;
color: hsla(0, 0%, 100%, 0.6);
}
p{
color: (0, 0%, 100%, 0.75);
font-family: 'Lexend Deca';
}
.tex{
padding: 10px;
}
.text {
margin: 50px;
}
span{
color: hsl(277, 64%, 61%);
}
.attribution{
display: flex;
bottom: 0;
font-size: 11px;
text-align: center;
justify-content: center;
align-items: center;
}
.attribution a {
color: hsl(228, 45%, 44%);
}
.image{
background-color: hsl(277, 64%, 61%);
}
img{
object-fit: cover;
max-height: 100%;
width: 100%;
height: 350px;
mix-blend-mode: multiply;
}
.grid-text{
display: grid;
grid-template-columns: 1fr 1fr 1fr;
margin-top: 60px;
font-family: 'Lexend';
}
@media (max-width: 768px) {
.grid-body {
display: flex;
flex-direction: column-reverse;
overflow: hidden;
height: 100%;
}
.grid-text{
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
h2{
color: hsla(0, 0%, 100%, 1);
}
}