adaptive css

master
Boris Voropaev 2023-12-19 16:22:35 +03:00
parent 11a366f6f6
commit 2128b88289
3 changed files with 44 additions and 35 deletions

View File

@ -8,10 +8,10 @@
</div>
<div class="contact">
<div>
<a href="#">+7 (498) 657-45-18</a>
<a href="tel:+74986574518">+7 (498) 657-45-18</a>
</div>
<div>
<a href="#">info@vniigaz-cert.ru</a>
<a href="mailto:info@vniigaz-cert.ru">info@vniigaz-cert.ru</a>
</div>
<div>
142717, Российская Федерация, Московская область, г. Видное, посёлок Развилка, ВНИИГАЗ

View File

@ -24,6 +24,7 @@ jumbotron{
height: 400px;
background-size: cover;
background-position: center;
max-height: 100vw;
.jumbotron-content{
height: 100%;
display: flex;
@ -42,6 +43,7 @@ jumbotron{
h1{
margin: 0;
padding: $ps 0;
max-width: 100%;
}
}
}
@ -208,5 +210,9 @@ pages-menu-item{
padding: 0 24px;
}
}
.copyright{
flex-direction: column;
gap: 24px;
}
}

View File

@ -8,42 +8,45 @@
&.simple {
margin-bottom: 24px;
}
button {
padding: 8px 20px;
>div{
margin-right: -1px;
background: #ffffff;
border-radius: 4px 4px 0 0;
border: var(--prime) solid 1px;
color: var(--prime);
font-family: PT Sans;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 24px; /* 150% */
cursor: pointer;
&:last-child {
margin-right: 0;
}
span {
white-space: nowrap;
}
&:last-child {
button {
padding: 8px 20px;
background: #ffffff;
border-radius: 4px 4px 0 0;
border: var(--prime) solid 1px;
color: var(--prime);
font-family: PT Sans;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 24px; /* 150% */
cursor: pointer;
&:last-child {
margin-right: 0;
}
span {
white-space: nowrap;
}
&:last-child {
span {
}
}
&.active {
color: #ffffff;
background-color: var(--prime);
border-color: var(--prime)
}
&.disabled {
opacity: 0.7;
cursor: not-allowed;
}
&:hover {
background-color: var(--prime-act);
border-color: var(--prime-act);
color: #ffffff;
}
}
&.active {
color: #ffffff;
background-color: var(--prime);
border-color: var(--prime)
}
&.disabled {
opacity: 0.7;
cursor: not-allowed;
}
&:hover {
background-color: var(--prime-act);
border-color: var(--prime-act);
color: #ffffff;
}
}
}