egytalk-template/www/public/css/style.css
2023-01-17 09:05:24 +01:00

184 lines
2.9 KiB
CSS

* {
margin: 0;
padding: 0;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Open Sans", "Helvetica Neue", sans-serif;
box-sizing: border-box;
}
@font-face {
font-family: saker;
src: url(./fonts/SakerSansMedium.ttf);
}
@font-face {
font-family: saker;
src: url(./fonts/SakerSansBold.ttf);
font-weight: bold;
}
html {
font-size: 62.5%;
}
body {
font-size: 1.6rem;
height: 100%;
background-color: #e8e8e8;
position: relative;
min-height: 100vh;
}
/** Header */
header {
width: 100%;
font-size: 1.2rem;
text-align: left;
height: 80px;
padding-top: 5px;
background-image: url("/images/bgImg.png");
background-repeat: repeat;
color: white;
position: relative;
border-bottom: 2px solid rgb(124, 10, 10);
}
header h1 {
display: inline-block;
font-family: saker, Arial;
letter-spacing: 3px;
font-size: 2.6rem;
margin-top: 1.8rem;
margin-left: 2.5rem;
}
header img {
float: left;
height: 50px;
margin-top: 10px;
margin-left: 50px;
}
@media only screen and (max-width: 1024px) {
header {
height: 12rem;
}
header img {
margin-left: 25px;
}
}
@media only screen and (max-width: 675px) {
header {
height: 108px;
}
header img {
margin-left: 15px;
}
}
/** END header */
input,
p,
label,
button {
font-size: 1.4rem;
}
input {
padding: 0.3rem;
}
p {
text-align: justify;
}
main {
max-width: 768px;
margin: 0 auto;
padding: 20px 4px 45px 4px;
position: relative;
height: 100%;
}
main h1 {
font-family: saker, Arial, Helvetica, sans-serif;
font-size: 2.2rem;
letter-spacing: 0.4rem;
}
main h2 {
margin-top: 0.5rem;
font-family: Arial, sans-serif;
font-size: 1.8rem;
letter-spacing: 2px;
}
main h3 {
margin-top: 4px;
font-family: Arial, Helvetica, sans-serif;
font-size: 1.6rem;
margin-bottom: 0.5rem;
}
main h4 {
margin-top: 4px;
font-family: Arial, Helvetica, sans-serif;
font-size: 1.4rem;
margin-bottom: 0.5rem;
}
label {
display: block;
}
input {
width: 100%;
}
input[type=submit] {
color: white;
background-color: #166fe5;
border: none;
margin: 10px 10px 0 0;
padding: 0.7rem;
border-radius: 6px;
}
input[type=submit]:hover {
background-color: blue;
}
aside,
section {
display: inline-block;
vertical-align: top;
}
aside {
margin-right: 10px;
}
button {
width: 100%;
color: white;
background-color: grey;
border: none;
margin: 10px 10px 0 0;
padding: 0.7rem;
border-radius: 6px;
}
button:hover {
background-color: #aeaeae;
}
p.center {
text-align: center;
margin-top: 0.5rem;
}
@media only screen and (max-width: 675px) {
img {
display: none;
}
}
/** footer */
footer {
height: 45px;
width: 100%;
background-image: url("/images/bgImgLarge.png");
border-top: 2px solid rgb(124, 10, 10);
position: absolute;
bottom: 0;
}
footer p {
color: white;
padding: 1rem;
}/*# sourceMappingURL=style.css.map */