gateway.fjla.uk/stylesheets/style.css

227 lines
3.6 KiB
CSS
Raw Normal View History

2022-09-08 20:30:09 +01:00
body {
background-color: #004284;
background-image: url("../assets/bg-img/jellyfish-portrait-l.webp");
background-attachment: fixed;
background-repeat: no-repeat;
background-position: left top;
background-size: cover;
}
.pagetitle {
font-family: "MuseoModerno", "Arial Bold", "Arial", sans-serif;
font-weight: 400;
font-size: 10vw;
text-align: center;
padding-top: 5px;
transition: 0.5s;
color: ivory;
opacity: 0.8;
margin-bottom: 4px;
}
.errornote {
color: red !important;
font-size: 2vw !important;
margin-left: 40px;
margin-right: 40px;
}
.pagesubtitle {
font-family: "MuseoModerno", "Arial Bold", "Arial", sans-serif;
font-weight: 200;
font-size: 7vw;
text-align: center;
transition: 0.5s;
color: ivory;
opacity: 0.8;
margin-top: 0px;
}
form {
text-align: center;
margin: -10 5;
}
.searchentry {
width: 60%;
height: 40px;
max-width: 900px;
font-size: auto;
padding-left: 43px;
padding-right: 23px;
border-radius: 100px;
border: 0px;
outline: none;
background-color: rgba(255,255,255,0.6);
transition: 0.2s;
background-image: url(../assets/search-icons/duckduckgo-s.webp);
background-position: 10px;
background-repeat: no-repeat;
background-size: 25px;
}
.searchgo {
display: none;
}
.searchentry:focus {
background-color: rgba(255,255,255,0.9)
}
.gatecontainer {
display: block;
position: relative;
justify-content: center;
}
.gateicon {
display: flex;
margin: 10px 10px;
position: relative;
width: 90%;
max-width: 670px;
border: 0px;
border-radius: 30px;
padding: 10px 10px;
text-align: left;
color: ivory;
background-color: rgba(64,64,64,0.6);
transition: 0.4s;
height: 5%;
}
.paracontainer {
display: flex;
margin: 10px 10px;
position: relative;
width: 90%;
max-width: 670px;
border: 0px;
border-radius: 30px;
padding: 10px 10px;
text-align: left;
color: ivory;
background-color: rgba(64,64,64,0.6);
transition: 0.4s;
height: 5%;
}
.gateimage {
position: relative;
max-width: 30%;
flex: 1;
}
.icontext {
flex: 1;
text-align: center;
font-family: sans-serif;
margin: auto;
}
.gatetitle {
color: white;
font-size: 5vw;
}
.gatesubtitle {
color: lightgrey;
font-size: 4vw;
}
.hidden {
display: none !important;
}
/* BREAKPOINTS */
@media (min-width: 800px) {
body {
background-image: url("../assets/bg-img/jellyfish-m.webp")
}
.pagetitle {
font-size: 100px;
margin-top: 40px;
}
.pagesubtitle {
margin-top: 0px;
margin-bottom: 5px;
font-size: 3vw;
}
.searchentry {
margin-top: 50px;
margin-bottom: 60px;
}
.searchentry:hover {
background-color: rgba(255,255,255,0.9)
}
.gatecontainer {
display: flex;
}
.gateicon {
flex: 1;
display: flex;
width: 15%;
min-height: 100px;
max-height: 120px;
max-width: 220px;
text-align: center;
border-radius: 50px;
}
.gateimage {
max-width: 40%;
margin: auto;
}
.gatetitle {
font-size: 1.2vw;
}
.gatesubtitle {
font-size: 1.0vw;
}
.gateicon:hover {
background-color: rgba(64,64,64,0.9);
cursor: pointer;
}
}
@media (min-width: 1000px) {
body {
background-image: url("../assets/bg-img/jellyfish-l.webp")
}
}
@media (min-width: 1400px) {
.gatetitle {
font-size: 16px;
}
.gatesubtitle {
font-size: 14px;
}
}
@media (max-width: 299px) {
.gatecontainer {
display: none;
}
@media (min-width: 2000px) {
body {
background-image: url("../assets/bg-img/jellyfish-xl.webp")
}
}
}