-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.less
145 lines (113 loc) · 2.42 KB
/
style.less
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
139
140
141
142
143
144
145
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;700&display=swap');
@primary: #FF4729;
@secondary: #FFFFFF;
html,
body {
background-color: @primary;
margin: 0;
padding: 0;
color: @secondary;
font-size: 21px;
line-height: 1.618em;
font-family: "Lato", sans-serif;
font-weight: 300;
font-style: normal;
opacity: 1;
overflow: hidden;
height: 100dvh;
width: 100dvw;
* {
box-sizing: border-box;
}
}
.fade-in {
opacity: 0;
scale: 1.02;
animation: fadeIn 0.5s forwards;
}
@keyframes fadeIn {
to {
opacity: 1;
scale: 1;
}
}
/* Typography */
h1, h2, h3, h4, h5, h6 {
font-family: Baskerville, "Baskerville Old Face", "Hoefler Text", Garamond, "Times New Roman", serif;
font-weight: normal;
line-height: 1.21em;
}
#logo {
max-width: 300px;
width: 60%;
}
.btn {
background-color: @primary;
padding: 1em 2em;
border: 1px solid @secondary;
margin: 1em 0;
display: inline-block;
text-decoration: none;
color: @secondary;
text-align: center;
filter: drop-shadow(5px 5px 0px @secondary);
transition: 0.23s ease-out all;
* {
display: block;
}
&:hover {
background-color: @secondary;
color: @primary;
filter: drop-shadow(0px 0px 0px @secondary);
border-radius: 80px;
}
}
#page {
display: flex;
align-items: center;
overflow: auto !important;
height: 100vh;
> div {
width: 50%;
padding: 0 2em;
&#hero {
background: @primary url(images/woman-kayaking.webp) 50% 30%/cover no-repeat;
height: 100vh;
}
}
}
@media screen and (min-width: 1300px) {
#page > div:first-of-type {
padding: 0 5em 0 8em;
}
}
@media screen and (max-width: 950px) {
html, body {
font-size: 18px;
}
}
@media screen and (max-width: 800px) {
#page {
flex-direction: column;
> div {
width: 100%;
padding: 2em;
&#hero {
min-height: 300px;
height: 40vh;
background-position: 50% 20%;
}
}
&:first-of-type {
text-align: center;
}
}
}
@media screen and (max-width: 460px) {
#page > div {
padding: 2em 1em;
}
h1, h2, h3, h4, h5, h6 {
font-size: 1.618em;
}
}