-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
138 lines (122 loc) · 2.46 KB
/
styles.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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
/* RESET */
* {
box-sizing: border-box;
margin: 0;
}
/* Root Declaration */
:root {
/* Color */
/* Primary */
--Cyan: hsl(180, 62%, 55%);
--lightGreen: hsl(158, 36%, 37%);
--lightBrown: hsl(32, 89%, 75%);
--lilac: hsl(300, 26%, 71%);
--dodgerBlue: hsl(210, 100%, 56%);
/* Neutral */
--darkBrown: hsl(212, 21%, 14%);
--transparentWhite: hsl(0, 0%, 100%);
--grayishBlue: hsl(229, 6%, 66%);
--veryDarkBlue: hsl(234, 12%, 34%);
}
/* General Styling */
body {
background-color: var(--lightBrown);
margin: 10px 0 50px 0;
overflow: auto;
font-family: "Red Hat Display", sans-serif;
}
/* Block && Element */
.main {
align-items: center;
display: flex;
flex-flow: column nowrap;
justify-content: center;
min-height: 100vh;
position: relative;
}
.main__card {
background-color: var(--transparentWhite);
border-radius: 1em;
border: 1px double var(--grayishBlue);
display: flex;
flex-flow: column nowrap;
width: min(50em, 95%);
}
.container__one__image {
border-radius: 1em 1em 0 0;
height: 100%;
width: 100%;
}
.container__two {
padding: 1em;
}
.section__title {
color: var(--darkBrown);
font-size: 1.5em;
font-family: "Fraunces", "sans-serif";
margin: 0.5em 0;
text-transform: uppercase;
word-spacing: 3px;
}
.section__information__text {
font-family: "Red Hat Display", sans-serif;
}
.section__information__span {
color: var(--dodgerBlue);
display: block;
font-family: "Montserrat Alternates", sans-serif;
text-align: center;
}
article h3 {
text-transform: capitalize;
text-align: center;
font: 400 1.4em "Fraunces", "sans-serif";
padding-top: 0.5em;
}
.article {
border: none;
border-top: 2px solid var(--lightGreen);
border-bottom: 2px solid var(--lightGreen);
padding: 0.8em 0;
}
.attribution {
-webkit-backdrop-filter: blur(5px);
backdrop-filter: blur(5px);
bottom: 0;
font-size: 1em;
padding: 0.8em 0;
position: fixed;
text-align: center;
width: 100%;
}
@media (min-width: 768px) {
body {
margin: 0;
overflow: hidden;
}
.main__container {
display: flex;
flex-flow: row-reverse nowrap;
}
.container__one__image {
border-radius: 0 15px 15px 0;
}
.container__one {
flex: 2 0 100px;
}
.container__two {
flex: 2 0 100px;
padding: 1em;
}
}
/* Modifiers */
.attribution--secondary {
color: hsl(202, 81%, 54%);
}
.attribution--primary {
color: var(--lightGreen);
}
.attribution--primary:hover,
.attribution--secondary:hover {
color: red;
}