Various reworks. Removed VH units from CSS.

This commit is contained in:
2023-08-23 16:53:06 -04:00
parent 3d317e7505
commit 5c6f23a722
10 changed files with 42 additions and 25 deletions

View File

@@ -1,3 +1,12 @@
html {
height:100%;
}
body {
height: 100%;
margin: 0px;
}
/****************************************************************************
* Containers. *
****************************************************************************/
@@ -13,19 +22,37 @@
}
.image-container {
height: 75vh;
position: relative;
height: 100%;
width: 100%;
overflow: hidden;
}
.fc {
width: fit-content;
}
.h90 {
height: 90%;
}
.full-width {
width: 100%;
}
/****************************************************************************
* Content. *
****************************************************************************/
.image {
.image-container img {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
height: 100%;
width: auto;
margin: auto;
}
.mauto {
@@ -58,7 +85,7 @@
}
.search-box {
height: 2em;
height: 2.5em;
}
/****************************************************************************