-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.css
119 lines (100 loc) · 1.61 KB
/
home.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
113
114
115
116
117
118
119
@import url('https://fonts.googleapis.com/css2?family=Lexend+Zetta&family=Montserrat&display=swap');
:root {
--primary: #fffffc;
--secondary: #0e131f;
--accent-1: #985f99;
--accent-2: #00a676;
--accent-3: #aa4465;
}
* {
box-sizing: border-box;
}
html,
body {
padding: 0;
margin: 0;
background: var(--primary);
color: var(--secondary);
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: 'Lexend Zetta', sans-serif;
}
p,
span,
li,
a {
font-family: 'Montserrat', sans-serif;
}
a {
text-decoration: none;
color: var(--secondary);
}
a:hover > .subtitle {
background-color: var(--accent-2);
color: var(--primary);
border-radius: 2px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
-ms-border-radius: 2px;
-o-border-radius: 2px;
font-weight: 700;
}
a:visited {
color: var(--secondary);
}
.header {
padding: 20px;
background: var(--accent-3);
letter-spacing: 1em;
text-align: center;
color: var(--primary);
}
.wrapper {
display: flex;
justify-content: center;
padding: 20px;
}
.list {
display: flex;
flex-wrap: wrap;
list-style-type: none;
}
.list .img-wrapper {
width: 200px;
height: 200px;
border: solid 5px var(--accent-3);
margin: 1em 0;
}
.img-wrapper img {
width: 100%;
height: 100%;
}
.list li {
display: flex;
width: 100%;
}
.list .subtitle {
font-size: 1.5rem;
border-bottom: 5px solid var(--accent-1);
}
.text-wrapper {
margin: 1em;
}
@media screen and (min-width: 768px) {
.list li {
width: 350px;
flex-direction: column;
}
.list .subtitle {
font-size: 2rem;
width: 50%;
}
.list p {
font-size: 1.2rem;
}
}