Files
ThermostatArduinoNano/style.css
2024-09-12 16:14:00 +02:00

188 lines
3.2 KiB
CSS

.site{
display: flex;
}
div.menu a{
text-decoration: none;
color: inherit;
}
div.menu{
width: 240px;
float: left;
background-color: rgba(196, 196, 196, 0.808);
}
div.bodyAndFooter{
width: 100%;
}
div.body{
width: 70%;
margin-left: 50px;
border-width: 0px;
box-sizing: border-box;
padding: 30px;
}
div.sideMenu{
width: 80%;
background-color:white;
border-radius: 10px;
height: 50px;
margin: 20px;
}
div.sideMenu:hover{
transform: scale(1.1);
cursor:pointer;
}
div.sideMenuImg{
width: 30%;
height: 100%;
margin: 0px;
border-width:0px;
box-sizing: border-box;
float: left;
}
div.sideMenuImg img{
height: 80%;
display: flex;
justify-content: center;
align-items: center;
padding: 5px;
}
div.sideMenu:hover img{
transform: rotate(360deg);
transition-duration: 1500ms;
}
div.sideMenuText{
width: 60%;
box-sizing: border-box;
text-align: center;
display: flex;
justify-content: center; /* aligns items horizontally */
align-items: center; /* aligns items vertically */
height: 100%; /* or any height */
}
.mainImage{
margin: 0px;
border: 0px;
padding: 0px;
width: 100%;
}
.mainImage img{
width: 100%;
}
.desc{
font-family: 'Times New Roman', Times, serif;
text-align: justify;
}
div.imageContainer{
width: 20%;
object-fit: cover;
float: left;
border: 1px solid #ddd;
border-radius: 10px;
padding: 5px;
cursor: pointer;
background-color: rgba(196, 196, 196, 0.808);
margin: 5px;
margin-top: 20px;
margin-bottom: 20px;
}
div.galleryContainer, div.imageDesc{
display: flex;
justify-content: center;
align-items: center;
height: fit-content;
}
div.imageContainer img{
width: 100%;
border-radius: 10px;
align-items: center;
}
div.descTitle{
width: 50%;
text-align: center;
float: left;
}
div.descText{
width: 50%;
vertical-align: middle;
text-align: justify;
}
div.imageContainer:hover{
transform: scale(1.1);
}
div.footer{
float:right;
background-color: rgb(97, 96, 96);
box-sizing: border-box;
height:fit-content;
width: 100%;
}
div.footer #socialMedia, #blogs, #youtubeChannels{
float: left;
width: 20%;
font-size: small;
padding: 20px;
text-align: center;
}
div.footer p{
padding: 0px;
margin: 0px;
}
div.footer #copyRight{
text-align: center;
}
div.footer #copyRight p{
margin-top: 50px;
padding-top: 20px;
}
textarea{
width: 100%;
height: 300px;
background-color: rgba(196, 196, 196, 0.808);
border-radius: 10px;
border-style: hidden;
overflow-y:scroll;
overflow-x:scroll;
word-break:keep-all;
white-space: nowrap;
resize: none;
}
.popup-image{
position: fixed;
top: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.89);
height: 100%;
width: 100%;
z-index: 100;
display: none;
}
.popup-image img{
position: absolute;
height: 80%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
border: 5px, solid, #fff;
border-radius: 5px;
object-fit: cover;
cursor: pointer;
}