init
This commit is contained in:
46
css/articles/article-base.css
Normal file
46
css/articles/article-base.css
Normal file
@@ -0,0 +1,46 @@
|
||||
article{
|
||||
font-size: 0.9em;
|
||||
color: white;
|
||||
padding: 2em;
|
||||
}
|
||||
article header{
|
||||
margin-bottom: 2em;
|
||||
line-height: 2em;
|
||||
}
|
||||
article p, article section p{
|
||||
line-height: 1.5em;
|
||||
font-weight: 300;
|
||||
}
|
||||
article section{
|
||||
font-weight: 300;
|
||||
line-height: 1.5em
|
||||
}
|
||||
|
||||
article div{
|
||||
margin-top: 2em;
|
||||
max-width: 100%;
|
||||
display: flex;
|
||||
|
||||
gap: 2em;
|
||||
justify-items: center;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
margin: auto;
|
||||
margin-top: 5em;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
article div img{
|
||||
width: 22%;
|
||||
border-radius: 0.5em;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1000px){
|
||||
article div{
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-template-areas: ". .";
|
||||
}
|
||||
article div img{
|
||||
width: 44%;
|
||||
}
|
||||
}
|
||||
46
css/articles/other/about-us.css
Normal file
46
css/articles/other/about-us.css
Normal file
@@ -0,0 +1,46 @@
|
||||
article{
|
||||
color: white;
|
||||
padding: 1em;
|
||||
text-align: center;
|
||||
}
|
||||
.about-us{
|
||||
margin: 2em;
|
||||
color: white;
|
||||
|
||||
position: relative;
|
||||
display: grid;
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
|
||||
.about-us-big{
|
||||
display: none;
|
||||
}
|
||||
.about-us-small{
|
||||
margin: auto;
|
||||
width: 90%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.about-us-small header{
|
||||
text-align: center;
|
||||
margin: auto;
|
||||
width: 80%;
|
||||
}
|
||||
.about-us-small header hr{
|
||||
height: 0;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.about-us-small main{
|
||||
margin: auto;
|
||||
width: 80%;
|
||||
}
|
||||
.about-us-small h2{
|
||||
font-size: 1.2em;
|
||||
text-align: center;
|
||||
}
|
||||
.about-us-small main p{
|
||||
text-align: center;
|
||||
margin: 1em;
|
||||
}
|
||||
48
css/articles/other/reference.css
Normal file
48
css/articles/other/reference.css
Normal file
@@ -0,0 +1,48 @@
|
||||
.reference{
|
||||
margin-top: 4em;
|
||||
color: white;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
.reference h1{
|
||||
font-size: 1.5em;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.reference .desktop-img{
|
||||
width: 80%;
|
||||
margin: 1em;
|
||||
|
||||
}
|
||||
.reference .mobile-img{
|
||||
margin: 1em;
|
||||
}
|
||||
.reference header{
|
||||
width: 80%;
|
||||
text-align: center;
|
||||
}
|
||||
/*.ref-hr{
|
||||
border-color: gold !important;
|
||||
height: 0;
|
||||
width: 200%;
|
||||
left: -50%;
|
||||
position: relative;
|
||||
background-color: gold;
|
||||
}*/
|
||||
|
||||
@media screen and (min-width: 1000px){
|
||||
.desktop-img{
|
||||
display: none;
|
||||
}
|
||||
.reference header{
|
||||
width: 35%;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 1000px){
|
||||
.mobile-img{
|
||||
width: -webkit-fill-available !important;
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
68
css/body.css
Normal file
68
css/body.css
Normal file
@@ -0,0 +1,68 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
|
||||
|
||||
body{
|
||||
background-color: white;
|
||||
width: 100%;
|
||||
|
||||
font-family: "Roboto", serif;
|
||||
font-optical-sizing: auto;
|
||||
font-weight: 500;
|
||||
font-style: italic;
|
||||
font-variation-settings: "wdth" 100;
|
||||
|
||||
font-size: 1.5em;
|
||||
}
|
||||
hr{
|
||||
border-color: #e77713;
|
||||
background-color: none !important;
|
||||
width: 100% !important;
|
||||
margin-bottom: 1em;
|
||||
|
||||
|
||||
}
|
||||
|
||||
h1{
|
||||
font-size: 2em;
|
||||
|
||||
font-weight: 700;
|
||||
}
|
||||
b{
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.carousel-cover-skew{
|
||||
height: 10em;
|
||||
|
||||
background-color: white;
|
||||
}
|
||||
.carousel-cover-skew-top{
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
bottom: -4em;
|
||||
|
||||
transform: skewY(-2deg);
|
||||
-webkit-transform: skewY(-2deg);
|
||||
}
|
||||
.carousel-cover-skew-bottom{
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
bottom: 4em;
|
||||
margin-bottom: -9em;
|
||||
|
||||
transform: skewY(-3deg);
|
||||
-webkit-transform: skewY(-3deg);
|
||||
}
|
||||
.error404{
|
||||
margin: auto;
|
||||
padding: 4em;
|
||||
color: white;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1000px){
|
||||
|
||||
}
|
||||
@media screen and (max-width: 1000px){
|
||||
body{
|
||||
font-size: unset;
|
||||
}
|
||||
}
|
||||
94
css/index/about_us.css
Normal file
94
css/index/about_us.css
Normal file
@@ -0,0 +1,94 @@
|
||||
.about-us{
|
||||
margin-top: -6em;
|
||||
margin-bottom: -3em;
|
||||
padding-top: 5em;
|
||||
padding-bottom: 5em;
|
||||
|
||||
clip-path: polygon(0 93%, 19% 93%, 27% 106%, 50% 106%, 56% 98%, 76% 98%, 79% 93%, 100% 93%, 100% 7%, 79% 7%, 73% -6%, 50% -6%, 44% 2%, 24% 2%, 21% 7%, 0 7%);
|
||||
|
||||
width: 100%;
|
||||
position: relative;
|
||||
display: flex;
|
||||
z-index: 5;
|
||||
flex-direction: column;
|
||||
background: url(/img/sluzby-background.jpg) no-repeat center center, rgb(255 255 255 / 90%);
|
||||
background-blend-mode: overlay;
|
||||
background-size: cover;
|
||||
|
||||
|
||||
}
|
||||
|
||||
.about-us div img{
|
||||
-webkit-transition: transform 0.5s ease;
|
||||
-moz-transition: transform 0.5s ease;
|
||||
-ms-transition: transform 0.5s ease;
|
||||
-o-transition: transform 0.5s ease;
|
||||
transition: transform 0.5s ease;
|
||||
width: 5em;
|
||||
}
|
||||
|
||||
.about-us div img:hover{
|
||||
transform: scale(1.2);
|
||||
}
|
||||
|
||||
|
||||
.about-us .sluzby{
|
||||
width: 25em;
|
||||
margin: auto;
|
||||
margin-top: 2em;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
gap: 3em;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.about-us-big{
|
||||
display: none;
|
||||
}
|
||||
.about-us-small{
|
||||
margin: auto;
|
||||
width: 90%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.about-us-small header{
|
||||
text-align: center;
|
||||
margin: auto;
|
||||
width: 80%;
|
||||
}
|
||||
.about-us-small header hr{
|
||||
height: 0;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.about-us-small main{
|
||||
margin: auto;
|
||||
width: 80%;
|
||||
}
|
||||
.about-us-small h2{
|
||||
font-size: 1.2em;
|
||||
text-align: center;
|
||||
}
|
||||
.about-us-small main p{
|
||||
text-align: center;
|
||||
margin: 1em;
|
||||
}
|
||||
|
||||
|
||||
@media screen and (max-width: 1000px){
|
||||
.about-us .sluzby{
|
||||
width: 100%;
|
||||
}
|
||||
.about-us div img{
|
||||
width: 8em;
|
||||
}
|
||||
.about-us {
|
||||
margin-top: -5em;
|
||||
margin-bottom: -5em;
|
||||
padding-top: 5em;
|
||||
padding-bottom: 5em;
|
||||
clip-path: polygon(0% 99%, 10% 99%, 39% 99%, 63% 95%, 100% 95%, 100% 90%, 100% 2%, 90% 2%, 65% 2%, 35% 5%, 0% 5%, 0% 10%);
|
||||
}
|
||||
}
|
||||
121
css/index/carousel.css
Normal file
121
css/index/carousel.css
Normal file
@@ -0,0 +1,121 @@
|
||||
.carousel{
|
||||
height: 25em;
|
||||
width: 100%;
|
||||
margin-bottom: 1em;
|
||||
overflow-x: hidden;
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.carousel-inner{
|
||||
height: 100%;
|
||||
/* min-width: 400%; */
|
||||
display: flex;
|
||||
transition: all ease .5s;
|
||||
}
|
||||
|
||||
.carousel-item{
|
||||
flex: 1;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.carousel-item h1{
|
||||
position: relative;
|
||||
color: white;
|
||||
bottom: 1.5em;
|
||||
}
|
||||
.carousel-controls .prev{
|
||||
display: inline-block;
|
||||
height: 3em;
|
||||
width: 3em;
|
||||
position: absolute;
|
||||
left: 12px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
background-image: url('/img/other/svg/prev.svg');
|
||||
background-position: center;
|
||||
background-size: auto 100%;
|
||||
background-repeat: no-repeat;
|
||||
cursor: pointer;
|
||||
opacity: .5;
|
||||
}
|
||||
|
||||
.carousel-controls .next{
|
||||
display: inline-block;
|
||||
height: 3em;
|
||||
width: 3em;
|
||||
position: absolute;
|
||||
right: 12px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
background-image: url('/img/other/svg/next.svg');
|
||||
background-position: center;
|
||||
background-size: auto 100%;
|
||||
background-repeat: no-repeat;
|
||||
cursor: pointer;
|
||||
opacity: .5;
|
||||
}
|
||||
|
||||
.prev:hover, .next:hover{
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.carousel-indicators{
|
||||
display: flex;
|
||||
position: absolute;
|
||||
bottom: 4em;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.carousel-indicators span{
|
||||
display: inline-block;
|
||||
background-color: white;
|
||||
width: 30px;
|
||||
height: 4px;
|
||||
border-radius: 2px;
|
||||
opacity: .5;
|
||||
cursor: pointer;
|
||||
margin: 3px;
|
||||
}
|
||||
|
||||
.carousel-indicators span.active{
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
|
||||
.carousel-item-first{
|
||||
background-image: url("/img/carousel/Web_slide_1.jpg");
|
||||
}
|
||||
.carousel-item-second{
|
||||
background-image: url("/img/carousel/Web_slide_2.jpg");
|
||||
}
|
||||
.carousel-item-third{
|
||||
background-image: url("/img/carousel/Web_slide_3.jpg");
|
||||
}
|
||||
.carousel-item-fourth{
|
||||
background-image: url("/img/carousel/Web_slide_4.jpg");
|
||||
}
|
||||
.carousel-item-fifth{
|
||||
background-image: url("/img/carousel/Web_slide_5.jpg");
|
||||
}
|
||||
.carousel-item-sixth{
|
||||
background-image: url("/img/carousel/Web_slide_6.jpg");
|
||||
}
|
||||
|
||||
|
||||
@media only screen and (min-width: 991px){
|
||||
.prev, .next{
|
||||
height: 1em !important;
|
||||
width: 1em !important;
|
||||
}
|
||||
}
|
||||
69
css/index/contact.css
Normal file
69
css/index/contact.css
Normal file
@@ -0,0 +1,69 @@
|
||||
body{
|
||||
background-color: #212121;
|
||||
}
|
||||
.contacts{
|
||||
font-weight: 300;
|
||||
|
||||
width: 100%;
|
||||
|
||||
background-color: #212121;
|
||||
color: white;
|
||||
|
||||
text-align: center;
|
||||
|
||||
padding-top: 2.5em;
|
||||
padding-bottom: 4em;
|
||||
margin: auto;
|
||||
}
|
||||
.contacts p {
|
||||
padding: 0.5em;
|
||||
line-height: 2ch;
|
||||
}
|
||||
.contacts address{
|
||||
line-height: 2ch;
|
||||
}
|
||||
|
||||
.contacts strong{
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.contacts img{
|
||||
width: 15em;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.contacts a{
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
}
|
||||
.contacts br{
|
||||
content: " ";
|
||||
display: block;
|
||||
height: 0.5em;
|
||||
}
|
||||
.contacts h2{
|
||||
font-size: 1.5em;
|
||||
}
|
||||
.contact-format-container{
|
||||
line-height: 0.8;
|
||||
margin: auto;
|
||||
width: 80%;
|
||||
}
|
||||
.contacts i{
|
||||
font-size: 1.5em;
|
||||
}
|
||||
.iframe-map{
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 50%;
|
||||
|
||||
}
|
||||
|
||||
@media screen and (min-width: 900px){
|
||||
.contacts{
|
||||
font-size: 0.9em;
|
||||
}
|
||||
.contact-format-container{
|
||||
width: 35%;
|
||||
}
|
||||
}
|
||||
0
css/index/index.css
Normal file
0
css/index/index.css
Normal file
10
css/index/instagram.css
Normal file
10
css/index/instagram.css
Normal file
@@ -0,0 +1,10 @@
|
||||
@media screen and (max-width: 500px){
|
||||
.crt-widget.crt-widget-branded {
|
||||
width: 228%;
|
||||
margin-left: -65%;
|
||||
margin-top: -75%;
|
||||
margin-bottom: -67%;
|
||||
scale: 0.45;
|
||||
padding-bottom: 25px;
|
||||
}
|
||||
}
|
||||
67
css/index/products.css
Normal file
67
css/index/products.css
Normal file
@@ -0,0 +1,67 @@
|
||||
.products{
|
||||
|
||||
display: none !important;
|
||||
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
|
||||
color: white;
|
||||
}
|
||||
.products-container{
|
||||
display: grid;
|
||||
grid-gap: 1em;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
|
||||
padding: 3em;
|
||||
}
|
||||
.products-item{
|
||||
flex: 0 0 45%;
|
||||
|
||||
margin-top: 2em;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
background-color: #212121;
|
||||
|
||||
border-radius: 2em;
|
||||
|
||||
transition: transform 0.3s ease; /* Smooth transition on transform */
|
||||
box-shadow: 0 0.5em 0.5em 0 rgba(0,0,0,0.2), 0 0.25em 0.25em 0 rgba(0,0,0,0.19) !important;
|
||||
}
|
||||
.products-item:hover{
|
||||
transform: scale(1.2);
|
||||
}
|
||||
.products-item:active{
|
||||
transform: scale(1.2);
|
||||
}
|
||||
|
||||
.products-img{
|
||||
padding-top: 2em;
|
||||
}
|
||||
.products-item a{
|
||||
padding: 1em;
|
||||
font-size: 1.5em;
|
||||
color: white;
|
||||
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 900px){
|
||||
.products-container{
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
grid-gap: 2em;
|
||||
}
|
||||
.products{
|
||||
margin: auto;
|
||||
width: 70%;
|
||||
}
|
||||
}
|
||||
48
css/reset.css
Normal file
48
css/reset.css
Normal file
@@ -0,0 +1,48 @@
|
||||
/* http://meyerweb.com/eric/tools/css/reset/
|
||||
v2.0 | 20110126
|
||||
License: none (public domain)
|
||||
*/
|
||||
|
||||
html, body, div, span, applet, object, iframe,
|
||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
||||
a, abbr, acronym, address, big, cite, code,
|
||||
del, dfn, em, img, ins, kbd, q, s, samp,
|
||||
small, strike, strong, sub, sup, tt, var,
|
||||
b, u, i, center,
|
||||
dl, dt, dd, ol, ul, li,
|
||||
fieldset, form, label, legend,
|
||||
table, caption, tbody, tfoot, thead, tr, th, td,
|
||||
article, aside, canvas, details, embed,
|
||||
figure, figcaption, footer, header, hgroup,
|
||||
menu, nav, output, ruby, section, summary,
|
||||
time, mark, audio, video {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
font-size: 100%;
|
||||
font: inherit;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
/* HTML5 display-role reset for older browsers */
|
||||
article, aside, details, figcaption, figure,
|
||||
footer, header, hgroup, menu, nav, section {
|
||||
display: block;
|
||||
}
|
||||
body {
|
||||
line-height: 1;
|
||||
}
|
||||
ol, ul {
|
||||
list-style: none;
|
||||
}
|
||||
blockquote, q {
|
||||
quotes: none;
|
||||
}
|
||||
blockquote:before, blockquote:after,
|
||||
q:before, q:after {
|
||||
content: '';
|
||||
content: none;
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
82
css/tools/email-me.css
Normal file
82
css/tools/email-me.css
Normal file
@@ -0,0 +1,82 @@
|
||||
input[type=text],
|
||||
input[type=email],
|
||||
textarea {
|
||||
width: 100%;
|
||||
|
||||
box-sizing: border-box;
|
||||
|
||||
font-family: "Montserrat", sans-serif;
|
||||
font-optical-sizing: auto;
|
||||
font-weight: 300;
|
||||
font-style: normal;
|
||||
|
||||
font-size: 1em;
|
||||
line-height: 1em;
|
||||
|
||||
margin-top: 0.5em;
|
||||
margin-bottom: 1em;
|
||||
margin-left: 0;
|
||||
padding: 0.5em;
|
||||
min-height: 0.75em;
|
||||
|
||||
border: unset;
|
||||
border-radius: 0.2em;
|
||||
|
||||
outline-color: rgb(84 105 212 / 0.5);
|
||||
background-color: rgb(255, 255, 255);
|
||||
box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(60, 66, 87, 0.16) 0px 0px 0px 1px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px;
|
||||
}
|
||||
.email-me label{
|
||||
display: block;
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
.email-me-form{
|
||||
margin: auto;
|
||||
width: 35%;
|
||||
}
|
||||
|
||||
|
||||
.email-me-container{
|
||||
padding-top: 4em;
|
||||
padding-bottom: 1em;
|
||||
background-color: #e77713;
|
||||
color: white;
|
||||
font-size: 0.95em;
|
||||
font-weight: 600;
|
||||
}
|
||||
.email-me-container header{
|
||||
font-size: 1.5em;
|
||||
text-align: center;
|
||||
}
|
||||
.email-me hr{
|
||||
border-color: white;
|
||||
border-style: solid;
|
||||
height: 0;
|
||||
height: 0;
|
||||
}
|
||||
.email-me-form button{
|
||||
font-size: 1em;
|
||||
|
||||
padding: 0.8em;
|
||||
|
||||
border-radius: 1.5em;
|
||||
border-width: 0;
|
||||
background-color: black;
|
||||
color: white;
|
||||
|
||||
-webkit-transition: background-color 1s, color 1s ease;
|
||||
-moz-transition: background-color 1s, color 1s ease;
|
||||
-ms-transition: background-color 1s, color 1s ease;
|
||||
-o-transition: background-color 1s, color 1s ease;
|
||||
transition: background-color 1s, color 1s ease;
|
||||
}
|
||||
.email-me-form button:hover{
|
||||
background-color: #898989;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 910px){
|
||||
.email-me-form{
|
||||
width: 80%;
|
||||
}
|
||||
}
|
||||
16
css/tools/footer.css
Normal file
16
css/tools/footer.css
Normal file
@@ -0,0 +1,16 @@
|
||||
footer{
|
||||
background-color: #A4A4A4;
|
||||
|
||||
padding: 1em;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
}
|
||||
footer a{
|
||||
color: black;
|
||||
}
|
||||
|
||||
.iframe-map{
|
||||
width: 100%;
|
||||
}
|
||||
205
css/tools/nav.css
Normal file
205
css/tools/nav.css
Normal file
@@ -0,0 +1,205 @@
|
||||
nav{
|
||||
background-color: #e77713;
|
||||
color: white;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
|
||||
z-index: 999;
|
||||
}
|
||||
nav a{
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
}
|
||||
.nav-logo{
|
||||
position: relative;
|
||||
height: fit-content;
|
||||
|
||||
background-color: white;
|
||||
|
||||
width: 100%;
|
||||
}
|
||||
.nav-logo img{
|
||||
/*margin-left: 1em;
|
||||
margin-top: -2%;
|
||||
margin-bottom: -2%;
|
||||
height: 7.5em;*/
|
||||
|
||||
display: flex
|
||||
;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-top: -1.6em;
|
||||
margin-bottom: -1.5em;
|
||||
height: 6.5em;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.mobile-nav .nav-logo button{
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
border: 0;
|
||||
color: black;
|
||||
height: auto;
|
||||
width: 1.6em;
|
||||
background-color: white;
|
||||
font-size: 3em;
|
||||
}
|
||||
.mobile-nav .nav-links{
|
||||
-webkit-transition: max-height 1s, color 1s ease;
|
||||
-moz-transition: max-height 1s, color 1s ease;
|
||||
-ms-transition: max-height 1s, color 1s ease;
|
||||
-o-transition: max-height 1s, color 1s ease;
|
||||
transition: max-height 1s, color 1s ease;
|
||||
overflow: hidden;
|
||||
|
||||
max-height: 0;
|
||||
}
|
||||
.mobile-nav .nav-links-expanded{
|
||||
max-height: 100em;
|
||||
}
|
||||
.mobile-nav .nav-items{
|
||||
display: block;
|
||||
height: 3em;
|
||||
text-align: center;
|
||||
|
||||
line-height: 3em;
|
||||
|
||||
font-size: 2em;
|
||||
|
||||
border-color: white;
|
||||
border-style: solid;
|
||||
border-top-width: 0.05em;
|
||||
}
|
||||
.mobile-nav .nav-items:hover{
|
||||
background-color: white;
|
||||
color: black;
|
||||
max-height: 20em;
|
||||
}
|
||||
/*#drop-act:hover{
|
||||
color: black;
|
||||
}*/
|
||||
|
||||
.mobile-nav .dropdown-content{
|
||||
width: 100%;
|
||||
margin-right: auto;
|
||||
|
||||
-webkit-transition: max-height 1s;
|
||||
-moz-transition: max-height 1s;
|
||||
-ms-transition: max-height 1s;
|
||||
-o-transition: max-height 1s;
|
||||
transition: max-height 1s;
|
||||
overflow: hidden;
|
||||
max-height: 0;
|
||||
|
||||
background-color: #212121;
|
||||
|
||||
/*border-color: white;
|
||||
border-style: solid;
|
||||
border-right-width: 0.2em;*/
|
||||
}
|
||||
.mobile-nav .dropdown-active{
|
||||
max-height: 50em;
|
||||
}
|
||||
|
||||
.desktop-nav{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.desktop-nav .nav-logo{
|
||||
width: 35%;
|
||||
clip-path: polygon(0 0, 100% 0%, 89% 100%, 0% 100%);
|
||||
padding-right: 1em;
|
||||
}
|
||||
|
||||
.desktop-nav-second-section{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-evenly;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.desktop-nav .dropdown-content{
|
||||
-webkit-transition: max-height 1s;
|
||||
-moz-transition: max-height 1s;
|
||||
-ms-transition: max-height 1s;
|
||||
-o-transition: max-height 1s;
|
||||
transition: max-height 1s;
|
||||
|
||||
max-height: 0;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: absolute;
|
||||
|
||||
z-index: 5;
|
||||
background-color: white;
|
||||
color: black;
|
||||
border-bottom-right-radius: 0.5em;
|
||||
border-bottom-left-radius: 0.5em;
|
||||
margin-top: 1.2em;
|
||||
margin-left: -2em;
|
||||
}
|
||||
.desktop-nav .dropdown-content a{
|
||||
color: black;
|
||||
}
|
||||
|
||||
.desktop-nav .dropdown:hover .dropdown-content{
|
||||
max-height: 22em;
|
||||
}
|
||||
.desktop-nav .dropdown .dropdown-content .nav-items{
|
||||
padding: 1em;
|
||||
}
|
||||
.desktop-nav .dropdown .dropdown-content .nav-items:hover{
|
||||
background-color: #dbdbdb;
|
||||
}
|
||||
|
||||
.nav-items{
|
||||
cursor: pointer;
|
||||
|
||||
-webkit-transition: color 0.5s ease, background-color 0.5s ease;
|
||||
-moz-transition: color 0.5s ease, background-color 0.5s ease;
|
||||
-ms-transition: color 0.5s ease, background-color 0.5s ease;
|
||||
-o-transition: color 0.5s ease, background-color 0.5s ease;
|
||||
transition: color 0.5s ease, background-color 0.5s ease;
|
||||
|
||||
}
|
||||
.nav-items:hover{
|
||||
/*background-color: #dbdbdb;*/
|
||||
}
|
||||
|
||||
.dropdown{
|
||||
z-index: 99;
|
||||
}
|
||||
|
||||
|
||||
@media screen and (min-width: 1000px){
|
||||
.mobile-nav{
|
||||
display: none;
|
||||
}
|
||||
/*.nav-logo img {
|
||||
margin: 1em;
|
||||
height: 1.8em;
|
||||
}*/
|
||||
}
|
||||
@media screen and (max-width: 1000px){
|
||||
.desktop-nav{
|
||||
display: none;
|
||||
}
|
||||
.nav-logo img{
|
||||
display: block;
|
||||
margin-left: 1em;
|
||||
margin-right: unset;
|
||||
margin-top: -1.6em;
|
||||
margin-bottom: -1.6em;
|
||||
height: 8.5em;
|
||||
align-items: center;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user