tw25.net/main.css

136 lines
2.4 KiB
CSS

html, body {
background-image: url("images/website_bg.png");
font-family: 'Comic Sans', 'Open Sans', 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', sans-serif;
background-repeat: no-repeat;
background-size: cover;
background-position: center;
background-attachment: fixed;
margin: 0;
/* Ugly fix for vertical scrollbar on Chromium Based Browsers */
overflow-x: hidden;
}
p {
color: #ffffff;
font-size: larger;
}
h1 {
color: #ffffff;
font-size: 70px;
font-family: 'Orbitron','Tofu','Comic Sans','Open Sans',sans-serif;
}
footer {
color: #ffffff;
text-align: center;
margin-top: 11%;
font-size: small;
}
ul.menu {
list-style-type: none;
margin: 0;
padding: 0;
margin-left: 95%;
margin-top: -3.5%;
display: flex;
text-align: right;
}
ul.menu li {
margin-right: 10px;
color: #ffffff;
}
a.menu-link {
color: #ffffff;
text-decoration: none;
}
img.logo {
margin-top: -1%;
}
.center {
margin: 0 auto;
text-align: center;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 20px;
width: 100hv;
z-index: 10;
margin: 0;
}
.logo-link {
display: flex;
align-items: center;
white-space: nowrap;
text-decoration: none;
}
.logo {
margin-right: 0px;
}
.menu {
list-style: none;
margin: 0;
padding: 0;
display: flex;
}
.menu li {
margin-left: 20px;
}
.menu-link {
text-decoration: none;
color: black;
font-size: 16px;
}
.outer-container {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
width: 100%;
padding: 20px;
}
.content-container {
display: flex;
justify-content: space-between;
align-items: center;
}
.text-section {
padding-left: 40px;
/* Ugly fix for vertical scrollbar on Chromium Based Browsers */
/* Requires additional padding to bridge hidden overflow in html/body */
padding-right: 50px;
}
.home-image {
object-fit: contain;
height: 350px;
width: 350px;
}
@media (max-width: 768px) {
.outer-container {
display: block;
}
.content-container {
flex-direction: column;
}
.text-section {
padding-left: 0;
padding-top: 20px;
}
.home-image {
height: 250px;
width: 250px;
}
}