Nejc Kovač 8403c4a85b Arnes landing page in GDPR redesign popravki (header, mobile nav,body, footer )
displaycontroller.php je v prejsnjem testnem commitu "ai popravki blalbalb"
2022-05-27 14:19:05 +02:00

568 lines
8.6 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700&display=swap');
* {
font-family: "Source Sans Pro","sans-serif";
}
/* nav */
.mobile{
display: none;
}
h1 {
font-weight: 300;
font-size: 50px;
line-height: 62px;
}
h2 {
font-size: 40px;
font-weight: bold;
}
header {
padding-top: 10px;
padding-bottom: 5px;
}
header a {
font-weight: 400;
}
header nav span.menu_item a:hover {
color: #F07D3E;
}
header nav span.menu_item.active {
border-bottom: 3px #F07D3E solid;
}
#header-btn {
color: rgb(255, 255, 255);
background-color: #F07D3E;
width: 150x;
padding: 8px 16px;
text-transform: none;
}
#header-btn:hover {
color: #F07D3E;
background-color: white;
border: 1px solid #F07D3E;
}
.hero-container {
display: flex;
justify-content: space-between;
align-items: center;
height: auto;
margin-top: 30px;
margin-bottom: 100px;
}
.hero-container img {
max-width: 60%;
height: auto;
}
.hero-container .text {
text-align: left;
max-width: 350px;
margin-right: 10px;
font-size: 18px;
}
.hero-container a {
display: flex;
justify-content: space-between;
background-color: #F07D3E;
color: white;
padding: 8px 16px;
width: 200px;
}
.hero-container a:hover {
background-color: white;
color: #F07D3E;
border: 1px solid #F07D3E;
}
.hero-container img {
max-height: 476px;
max-width: auto;
}
.povezave {
display: flex;
justify-content: space-between;
}
.title {
text-align: center;
font-weight: 400;
margin-bottom: 70px;
}
.povezave h2 {
font-size: 18px;
font-weight: 700;
}
.povezave .col{
text-align: center;
margin-left: 10px;
}
.povezave .col p {
height: 110px;
max-width: 300px;
}
#povezave-btn {
display: flex;
justify-content: space-between;
background-color: #F07D3E;
color: white;
padding: 8px 16px;
max-width: 150px;
margin: auto;
}
#povezave-btn:hover {
color: #F07D3E;
background-color: white;
border: 1px solid #F07D3E;
}
footer h2 {
text-transform: uppercase;
font-weight: 700;
font-size: 18px;
}
footer .col a {
color: black;
}
.social_logo_flex img {
margin-right: 10px;
}
.social_logo_flex img:hover {
opacity: 0.8;
}
footer .footer_content .col span {
font-weight: 400;
}
footer .footer_content .col1 .col1-flex {
display: flex;
flex-direction: column;
}
/* GDPR ZAHTEVEK -------------------------------------- */
.register_holder{
max-width: 810px;
margin: 100px auto 0px auto;
}
.register_holder h1 {
font-weight: 300;
}
body.gdpr div.label {
display: block;
font-weight: 600;
width: 200px;
}
body .gdpr form p:first-of-type{
font-weight: 600;
}
input[type=submit]:hover,
button:hover,
input[type=button]:hover,
.button:hover {
border: 1px solid #F07D3E;
color: #F07D3E;
background-color: white;
}
/* -------------------------------------- */
@media screen and (max-width: 834px) {
header {
margin: none;
}
/* header - arnes logo fix */
header .logo {
width: auto;
/* background-color: red; */
}
header .logo img:last-child{
max-width: 100px;
height: 40px;
}
.hero-container {
display: flex;
flex-direction: column-reverse;
margin-top: 50px;
margin-bottom: 50px;
height: auto;
}
.hero-container img {
max-width: 70%;
height: auto;
}
.hero-container .text {
margin: auto;
text-align: center;
}
.hero-container .text a {
margin: auto;
}
.povezave{
display: grid;
grid-template-columns: 1fr 1fr;
row-gap: 30px;
}
.povezave .col {
margin: auto;
}
.povezave .col p {
max-width: 300px;
height: 80px;
}
footer .footer_content {
display: grid;
grid-template-columns: 1fr 1fr 1fr ;
grid-template-rows: 1fr 2fr;
}
footer .footer_content .col{
/* border: 1px solid red; */
width: auto;
}
footer .footer_content .col .logo_holder{
display: flex;
flex-direction: row;
justify-content: space-between;
}
footer .footer_content .col .logo_holder img{
max-width: 33%;
height: auto;
}
footer .footer_content .col1 {
grid-row: 1/3;
}
footer .footer_content .col4 {
grid-column: 2/4;
}
footer .footer_content .col1 .col1-flex {
display: flex;
flex-direction: column;
}
}
@media screen and (max-width: 700px) {
body #main .main_content h1 {
font-size: 50px;
}
.hero-container .text {
max-width: 95%;
}
.hero-container .text a {
width: 95%;
color: white;
}
.hero-container .text a:hover {
width: 95%;
border: 1px solid #F07D3E;
color: #F07D3E;
background-color: white;
}
.povezave {
display: flex;
flex-direction: column;
align-items: center;
}
.povezave .col {
margin-bottom: 50px ;
}
/* --------------HAMBURGER---------------------------------- */
.nav-desktop {
display: none;
}
.mobile {
display: block;
}
#nav-icon3 {
width: 40px;
height: 20px;
position: relative;
top: 15px;
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
-webkit-transition: .5s ease-in-out;
-moz-transition: .5s ease-in-out;
-o-transition: .5s ease-in-out;
transition: .5s ease-in-out;
cursor: pointer;
}
#nav-icon3 span {
display: block;
position: absolute;
height: 5px;
width: 100%;
background: #d3531a;
border-radius: 9px;
opacity: 1;
left: 0;
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
-webkit-transition: .25s ease-in-out;
-moz-transition: .25s ease-in-out;
-o-transition: .25s ease-in-out;
transition: .25s ease-in-out;
}
#nav-icon3 span:nth-child(1) {
top: 0px;
}
#nav-icon3 span:nth-child(2),#nav-icon3 span:nth-child(3) {
top: 9px;
}
#nav-icon3 span:nth-child(4) {
top: 18px;
}
#nav-icon3.open span:nth-child(1) {
top: 9px;
width: 0%;
left: 50%;
}
#nav-icon3.open span:nth-child(2) {
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
#nav-icon3.open span:nth-child(3) {
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
transform: rotate(-45deg);
}
#nav-icon3.open span:nth-child(4) {
top: 9px;
width: 0%;
left: 50%;
}
#links {
display: none;
}
/* */
.aai a {
color: #333333;
}
#links.open {
position: absolute;
top: 100px;
left: 0px;
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
height: 700px;
background-color: rgb(255, 255, 255);
}
#links .menu_item {
font-size: 30px;
margin-top: 30px;
}
#links .menu_item a {
font-size: 16px;
}
/* ------------------------------------------------- */
footer .footer_content {
/* background-color: rgb(184, 184, 184); */
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
footer .footer_content .col {
/* border: 1px solid red; */
width: auto;
max-height: 180px;
text-align: left;
}
footer .footer_content .col1 .col1-flex{
display: flex;
flex-direction: column;
flex-wrap: wrap;
max-height: 130px;
}
footer .footer_content .col1{
width: 100%;
}
footer .footer_content .col2,
footer .footer_content .col3 {
width: 50%;
}
}