Mabasej_Team/website/app.css

401 lines
7.7 KiB
CSS
Raw Normal View History

2021-05-07 21:15:20 +02:00
/* ---------- Základné štýly ---------- */
header {
background-image: url(header-background.jpg);
}
body {
background-image: url(header-background.jpg);
margin: 0;
user-select: none;
2021-05-10 15:03:04 +02:00
background-repeat: no-repeat;
background-attachment: fixed;
2021-05-07 21:15:20 +02:00
}
/* ---------- Navigačná lišta (navbar) ---------- */
.list {
margin: 0px;
padding: 1rem 0;
display: flex;
justify-content: flex-end;
align-items: center;
}
.item {
list-style: none;
margin-right: 3rem;
cursor: pointer;
}
.item:first-child {
margin-right: auto;
margin-left: 1.3rem;
}
.itemImg {
margin-right: auto;
margin-left: 1.3rem;
}
.list li {
color: #FFFFFF;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
font-size: 20px;
}
.list li:hover {
color: chartreuse;
transition: color 0.2s ease-in-out;
}
/* ---------- Burger Menu ---------- */
.burger {
cursor: pointer;
font-size: 40px;
color: white;
display: flex;
visibility: collapse;
margin-right: 2rem;
margin-top: -10px;
position: absolute;
}
.burgerList {
display: none;
}
/* ---------- 1 ---------- */
#list1 {
cursor: pointer;
height: 40px;
width: 40px;
font-size: 40px;
margin-right: 30px;
margin-top: 28px;
transition: transform 0.5s ease-in-out;
}
#hey1 {
font-weight: bold;
margin-top: 15px;
}
#hou1 {
margin-top: 50px;
margin-left: -60px;
}
/* ---------- 2 ---------- */
#list2 {
cursor: pointer;
height: 40px;
width: 40px;
font-size: 40px;
margin-right: 30px;
margin-top: 28px;
transition: transform 0.5s ease-in-out;
}
#hey2 {
font-weight: bold;
margin-top: 15px;
}
#hou2 {
margin-top: 50px;
margin-left: -60px;
}
/* ---------- 3 ---------- */
#list3 {
cursor: pointer;
height: 40px;
width: 40px;
font-size: 40px;
margin-right: 30px;
margin-top: 28px;
transition: transform 0.5s ease-in-out;
}
#hey3 {
font-weight: bold;
margin-top: 15px;
}
#hou3 {
margin-top: 50px;
margin-left: -60px;
}
/* ---------- 4 ---------- */
#list4 {
cursor: pointer;
height: 40px;
width: 40px;
font-size: 40px;
margin-right: 30px;
margin-top: 28px;
transition: transform 0.5s ease-in-out;
}
#hey4 {
font-weight: bold;
margin-top: 15px;
}
#hou4 {
margin-top: 50px;
margin-left: -60px;
}
/* ---------- 5 ---------- */
#list5 {
cursor: pointer;
height: 40px;
width: 40px;
font-size: 40px;
margin-right: 30px;
margin-top: 28px;
transition: transform 0.5s ease-in-out;
}
#hey5 {
font-weight: bold;
margin-top: 15px;
}
#hou5 {
margin-top: 50px;
margin-left: -60px;
}
/* ---------- Zdieľané štýly (classes) ---------- */
.wsList {
background: white;
width: 550px;
height: 100px;
border-radius: 10px;
margin-left: 20px;
margin-top: 5px;
}
.hey {
display: flex;
flex-direction: row;
justify-content: flex-end;
}
2021-05-10 15:03:04 +02:00
.short_description {
width: 300px;
}
.list_item_holder {
2021-05-07 21:15:20 +02:00
display: flex;
2021-05-10 15:03:04 +02:00
flex-direction: column;
justify-content: space-between;
margin-top: 5px;
margin-right: 71px;
2021-05-07 21:15:20 +02:00
margin-bottom: 10px;
margin-left: 10px;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
2021-05-10 15:03:04 +02:00
.sens_style_heat {
grid-area: senzory;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
font-size: 20px;
2021-05-07 21:15:20 +02:00
display: flex;
2021-05-10 15:03:04 +02:00
align-items: center;
flex-direction: column;
}
.wsImg {
border-radius: 10px;
margin-right: auto;
2021-05-07 21:15:20 +02:00
}
.mystyle {
transform: rotate(180deg);
}
.appear {
display: flex;
}
.arrow {
cursor: pointer;
height: 40px;
width: 40px;
font-size: 40px;
margin-right: 30px;
margin-top: 28px;
transition: transform 0.5s ease-in-out;
}
/* ---------- Grid Layout ---------- */
2021-05-10 15:03:04 +02:00
.obrazok_small {
2021-05-07 21:15:20 +02:00
grid-area: obrazok;
2021-05-10 15:03:04 +02:00
display: flex;
align-items: center;
flex-direction: column;
width: 100px;
height: 100px;
margin-left: 25px;
border-radius: 10px;
transition: display 1s 1s;
}
.obrazok_big {
grid-area: obrazok;
width: 400px;
2021-05-07 21:15:20 +02:00
height: 300px;
2021-05-10 15:03:04 +02:00
margin-left: 0px;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.imgBig {
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
}
.text_small {
grid-area: description;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
display: flex;
justify-content: center;
flex-direction: column;
2021-05-07 21:15:20 +02:00
margin-left: 25px;
}
2021-05-10 15:03:04 +02:00
.text_big {
grid-area: description;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
display: flex;
justify-content: center;
flex-direction: column;
margin-left: 25px;
2021-05-07 21:15:20 +02:00
}
2021-05-10 15:03:04 +02:00
.sensors_small {
width: 140px;
grid-area: senzory;
display: flex;
justify-content: center;
flex-direction: column;
2021-05-07 21:15:20 +02:00
}
2021-05-10 15:03:04 +02:00
.sensors_big {
grid-area: senzory;
display: flex;
justify-content: center;
flex-direction: column;
}
.info_small {
grid-area: info;
}
.info_big {
2021-05-07 21:15:20 +02:00
grid-area: info;
}
.listHide {
display: none;
}
.expand {
display: grid;
grid-template-columns: 1.3fr 0.7fr;
grid-template-rows: 1fr 1fr;
gap: 5px 5px;
grid-template-areas:
"obrazok senzory"
"description info";
margin-top: 2px;
margin-left: 20px;
margin-bottom: 2px;
border-radius: 10px;
height: 600px;
width: 550px;
2021-05-10 15:03:04 +02:00
background-color: white;
2021-05-07 21:15:20 +02:00
}
.big {
display: grid;
grid-template-columns: 1.3fr 0.7fr;
grid-template-rows: 1fr 1fr;
gap: 5px 5px;
grid-template-areas:
"obrazok senzory"
"description info";
position: absolute;
border-radius: 10px;
2021-05-10 15:03:04 +02:00
margin-top: -12px;
2021-05-07 21:15:20 +02:00
left: 650px;
top: 117px;
height: 700px;
width: 900px;
background: royalblue;
align-items: center;
}
.appear {
display: flex;
}
/* ---------- Responzívnosť (media tag) ---------- */
2021-05-10 15:03:04 +02:00
@media (max-width: 1550px) {
.obrazok_big {
width: 400px;
height: 250px;
}
.big {
width: 800px;
height: 600px;
}
}
@media (max-width: 1450px) {
.obrazok_big {
width: 350px;
height: 200px;
}
.big {
width: 700px;
height: 500px;
}
}
@media (max-width: 1350px) {
2021-05-07 21:15:20 +02:00
.big {
display: none;
}
}
@media (max-width: 800px) {
.item {
display: none;
}
.burger {
visibility: visible;
}
.burgerList {
flex-direction: column;
align-items: center;
margin-right: 30px;
margin-top: 0px;
color: white;
list-style: none;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
font-size: 20px;
}
.bItem {
margin-top: 10px;
}
2021-05-10 15:03:04 +02:00
}
@media (max-width: 570px) {
.wsList {
background: white;
width: 500px;
height: 100px;
border-radius: 10px;
margin-left: 0px;
margin-top: 5px;
}
.wsImg {
width: 120px;
border-radius: 10px;
margin-right: auto;
}
.title0 {
font-size: 15px;
}
.short_description {
font-size: 15px;
}
.list_item_holder {
margin-right: 0px;
}
#arrow0 {
margin-top: 32px;
font-size: 30px;
width: 30px;
height: 30px;
}
.expand {
margin-left: 0px;
width: 500px;
height: 550px;
}
}
@media (max-width: 360px) and (max-height: 640px) {
.wsList {
background: white;
width: 360px;
height: 100px;
border-radius: 10px;
margin-left: 0px;
margin-top: 5px;
}
.list_item_holder {
margin-right: -10px;
}
2021-05-07 21:15:20 +02:00
}