Web-programming_Anisin_R.S..../styles/style.css
2024-01-10 20:41:47 +04:00

114 lines
2.0 KiB
CSS

@font-face {
font-family: "Racing Sans One";
src: url(../fonts/RacingSansOne-Regular.ttf) format('truetype');
font-weight: 400; font-style: normal;
}
body {
background-color: #FFF8E7;
font-family: "Arial", sans-serif;
min-height: 100vh;
display: flex;
flex-direction: column;
}
h1, h3, .logoSpan {
font-family: "Racing Sans One", sans-serif;
}
h2 {
letter-spacing: 0.1em;
}
header{
background-color: #4B3621;
}
header > a, header > a:visited, header > a:active{
color: white;
}
nav a, nav a:visited, nav a:hover {
font-variant: small-caps;
color: white;
text-decoration: none;
display: flex;
flex-direction: column;
justify-content: center;
}
nav a div {
position: relative;
border-bottom: 1px white solid;
transition-property: width, transform;
transition-duration: .4s;
transition-timing-function: ease-out;
transform: rotateY(90deg);
animation-name: hide-transition;
animation-duration: .4s;
}
nav a:hover div {
transform: rotateY(0);
}
@keyframes hide-transition {
0% {opacity: 0;}
100% {opacity: 0;}
}
.navbar-toggler, .navbar-toggler:active, .navbar-toggler:focus {
border: none;
box-shadow: none;
}
@media screen and (min-width: 992px) and (max-width: 1139px) {
.navbar{
flex-direction: row-reverse;
}
}
@media screen and (min-width: 1140px) {
.login-cart{
position: absolute;
}
}
.dropdown ul {
background-color: #4B3621;
}
.dropdown a, .dropdown a:hover {
font-variant: normal;
}
.dropdown a:active {
background-color: #4B3621 !important;
}
footer, form{
background-color: #EFDECD;
}
footer{
margin-top: auto;
}
.btn-primary{
background-color: #45b6fe !important;
border-color: #45b6fe !important;
}
.btn-primary:hover{
background-color: #389bd9 !important;
border-color: #389bd9 !important;
}
input {
border: none;
border-radius: 10px;
background-color: #FFF8E7;
padding: 10px;
}
input[type="file"] {
display: none;
}