-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
174 lines (147 loc) · 2.93 KB
/
style.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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
/*
Theme Name: 4Hotels By Brian Atzori
Author: Brian Atzori
Author URI: https://linktr.ee/brianatzori
Description: A theme designed for hotels as a study project for the Start2Impact University
Tags: blog, hotels, custom-background, custom-colors, custom-logo, custom-menu, block-theme, featured-images, footer-widgets, threaded-comments, block-styles, accessibility-ready
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,700;1,9..40,400;1,9..40,700&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: 0;
}
body {
background-color: whitesmoke;
color: #333;
font-family: "DM Sans", sans-serif;
scroll-behavior: smooth;
}
ol {
list-style: none;
}
input:hover,
a:hover,
textarea:hover,
button:hover {
transform: scale(1.1);
transition: all 0.8s ease-in-out;
}
/* MENU */
.site-logo {
max-width: 80px;
}
.logo-container {
visibility: hidden;
height: 0px;
}
nav {
background-color: #fdaea5;
font-weight: bold;
color: whitesmoke;
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px;
}
.hidden {
background-color: #fdaea5;
/* background-color: red; */
padding-left: 10px;
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
display: flex;
}
nav li {
margin-right: 20px;
}
nav li > a:hover {
color: #c07f85;
}
nav a {
text-decoration: none;
color: #fff;
}
.menu-icon {
display: none;
flex-direction: column;
cursor: pointer;
}
.bar {
width: 25px;
height: 3px;
background-color: #fff;
margin: 3px 0;
}
/* Mobile */
@media only screen and (max-width: 450px) {
.menu-icon {
display: flex;
}
nav ul {
display: none;
flex-direction: column;
position: absolute;
top: 5vh;
left: 0;
background-color: #333;
width: 100%;
}
.active {
display: flex;
z-index: 1;
}
nav li {
margin: 10px 0;
}
}
/* Tablet Styles */
@media only screen and (min-width: 451px) and (max-width: 960px) {
.menu-icon {
display: flex;
}
nav ul {
display: none;
flex-direction: column;
position: absolute;
top: 4vh;
left: 0;
background-color: #333;
width: 100%;
}
nav ul.active {
display: flex;
z-index: 1;
}
nav li {
margin: 10px 0;
}
}
/* Desktop Styles */
@media only screen and (min-width: 961px) {
.logo-container {
visibility: visible;
background-color: whitesmoke;
border-radius: 100%;
height: fit-content;
}
}
@media only screen and (min-width: 1440px) {
.logo-container {
visibility: visible;
background-color: whitesmoke;
border-radius: 100%;
height: fit-content;
}
}
/* 4K */
@media only screen and (min-width: 2560px) {
}