AuthorizationServerDemos/React/real-estate/src/index.css
2021-01-17 13:03:59 +03:00

93 lines
1.4 KiB
CSS

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Roboto:wght@300;400;500;700&display=swap");
:root {
--blue: #343b99;
--black: #1a1c21;
}
.bg-blue-custom {
background-color: var(--blue);
}
.text-blue-custom {
color: var(--blue);
}
p,
.font-inter {
font-family: "Inter", sans-serif;
}
.font-playfair {
font-family: "Roboto", sans-serif;
font-weight: 500;
color: var(--blue) !important;
}
.text-black-custom {
color: var(--black);
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
text-align: left;
}
button:hover {
background-color: var(--blue);
border: none;
}
@media only screen and (max-width: 950px) {
.navbar-list {
position: absolute;
top: 0px;
right: 0px;
flex-direction: column;
align-items: flex-start;
background-color: #dfdfdf;
width: 40vw;
height: 100vh;
padding: 35vh 5vw 35vh 5vw;
}
.navbar-list li a,
.navbar-list li:nth-child(3) {
font-size: 1.5rem !important;
border-bottom: 1px solid var(--blue);
padding-bottom: 5px;
color: var(--blue);
}
.navbar-list li a:hover {
color: var(--blue);
}
.hamburger-menu {
display: block;
z-index: 1000;
}
}
@media only screen and (max-width: 700px) {
.navbar-list {
width: 50vw;
}
}
@media only screen and (max-width: 600px) {
.navbar-list {
width: 65vw;
}
.navbar-list li a,
.navbar-list li:nth-child(3) {
font-size: 1.28rem !important;
}
}