Files
a3-global/style.scss

127 lines
1.6 KiB
SCSS

* {
padding: 0;
margin: 0;
border: 0;
}
*,
*:before,
*:after {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
nav,
footer,
header,
aside {
display: block;
}
html,
body {
height: 100%;
width: 100%;
font-size: 100%;
line-height: 1;
font-size: 14px;
-ms-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
input,
button,
textarea {
font-family: inherit;
}
button {
background: transparent;
border: 0;
}
input::-ms-clear {
display: none;
}
button {
cursor: pointer;
}
button::-moz-focus-inner {
padding: 0;
border: 0;
}
a,
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
}
ul li {
list-style: none;
}
img {
vertical-align: top;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-size: inherit;
font-weight: 400;
}
header {
height: 45px;
border-bottom: 2px solid rgb(161, 137, 0);
}
.logo {
font-size: 24px;
color: rgb(2, 2, 120);
}
.header {
display: flex;
justify-content: space-between;
height: 100%;
align-items: center;
}
.nav {
display: flex;
justify-content: space-between;
&-header {
width: 35%;
}
&__item {
color: black;
opacity: 0.7;
transition: 0.2s;
&_active {
opacity: 1;
position: relative;
&::after {
content: "";
bottom: -14px;
position: absolute;
display: block;
width: 100%;
height: 2px;
background-color: rgb(128, 109, 1);
}
}
&:hover {
opacity: 1;
}
}
}
.container {
max-width: 1200px;
margin: 0 auto;
}