-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle_light.css
137 lines (133 loc) · 2.82 KB
/
style_light.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
@font-face {
font-family: iAwriter_Quattro;
src: url("./assets/fonts/iAWriterQuattroS-Regular.woff2");
font-weight: regular;
}
:root {
--bg: #f4f0ed;
--color_heading: #867462;
--color_subtitle: #a38d78;
--color_heading_categories: #83b887;
--color_categories-hover: #f0ebe7;
--color_border: #ded2c8;
--color_links: #6b5c4d;
--color_links-hover: #c29830;
--font_heading: iAwriter_Quattro;
--font_default: iAwriter_Quattro;
}
body {
min-height: 100vh;
font-family: var(--font_default);
background-color: var(--bg);
transition: background-color 0300ms;
}
#btn {
text-align: right;
margin: 20px 10px 0px;
}
#btn > button {
font-family: var(--font_default);
border: 1px solid var(--color_border);
border-radius: 50%;
padding: 8px;
background-color: transparent;
color: var(--color_button-text);
transition: border-color 0300ms;
}
#btn > button:focus {
outline: none;
}
#colorSwitch {
font-size: 15px;
cursor: pointer;
transition: transform 0225ms;
}
#colorSwitch:active {
transform: scale(0.7);
}
header {
padding: 0px 30px 30px;
text-align: center;
}
#heading-icon {
font-size: 30px;
margin-bottom: 10px;
}
h1 {
font-family: var(--font_heading);
font-size: 35px;
margin-top: 10px;
color: var(--color_heading);
transition: color 0300ms;
}
header > p {
color: var(--color_subtitle);
transition: color 0300ms;
}
#container {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 64px;
align-items: center;
padding: 0px 150px 0px;
}
.categories {
height: 100%;
border: 2px solid transparent;
border-radius: 7px;
background-color: transparent;
transition: background-color 0400ms, border 0300ms;
}
.categories:hover {
border: 2px solid var(--color_border);
background-color: var(--color_categories-hover);
}
.contents {
padding: 0px 20px 0px 20px;
text-align: left;
}
.contents > h2 {
font-family: var(--font_heading);
color: var(--color_heading_categories);
transition: color 0300ms;
}
.separator {
border: 1px solid var(--color_border);
width: 64%;
margin-left: 0;
margin-bottom: 20px;
transition: border 0300ms;
}
.links {
font-size: 16px;
}
.link {
color: var(--color_links);
text-decoration: none;
transition: color 0320ms;
}
.link:hover {
color: var(--color_links-hover);
}
#image {
overflow: hidden;
}
#image img {
height: 100%;
width: 100%;
object-fit: cover;
transition: transform 0420ms ease-out;
}
#image:hover img {
transform: scale(1.100);
}
@media only screen and (max-width: 950px) {
#container {
grid-template-columns: repeat(1, 1fr);
grid-gap: 30px;
padding: 0px 40px 40px;
}
header {
padding: 0px 75px 30px;
}
}