gateway.fjla.uk/old/stylesheets/style-old.css

159 lines
2.5 KiB
CSS
Raw Normal View History

2022-09-08 20:30:09 +01:00
body {
background-image: url("../assets/bg-img/0001.webp");
background-attachment: fixed;
background-repeat: no-repeat;
background-position: left top;
background-size: cover;
}
form {
text-align: center;
margin: -10 5;
}
.pagetitle {
font-family: "MuseoModerno", "Arial Bold", "Arial", sans-serif;
font-weight: 400;
font-size: 6vw;
text-align: center;
padding-top: 40px;
transition: 0.5s;
color: ivory;
opacity: 0.8;
}
.searchentry {
width: 40%;
height: 50px;
font-size: auto;
padding-left: 63px;
padding-right: 23px;
border-radius: 100px;
border: 1px solid darkgrey;
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: 5%;
}
.searchgo {
height: 50px;
font-size: auto;
border-radius: 100px;
}
.searchentry:hover {
background-color: rgba(255,255,255,0.9)
}
.searchentry:focus {
background-color: rgba(255,255,255,0.9)
}
.gatecontainer {
display: flex;
position: relative;
}
.gateicon {
flex: 1;
margin: 10px 10px;
position: relative;
width: 20%;
border: 0px;
border-radius: 60px;
padding: 10px 10px;
text-align: center;
color: ivory;
background-color: rgba(64,64,64,0.6);
transition: 0.4s;
height: 10%;
}
.gateimage {
max-height: 50%;
max-width: 40%;
}
.gatetitle {
color: white;
font-family: sans-serif;
margin-top: 0;
font-size: 2vw;
}
.gatesubtitle {
color: lightgrey;
font-family: sans-serif;
font-size: 1.4vw;
}
.gateicon:hover {
background-color: rgba(64,64,64,0.9);
cursor: pointer;
}
/* BREAKPOINTS */
@media (max-width: 1024px) {
.pagetitle {
font-size: 8vw;
padding-top: 5px;
}
.gatecontainer {
display: block;
width: 100%;
padding-top: 10px;
}
.gateicon {
display: block;
margin: auto;
margin-top: 10px;
width: 80%;
padding: 10px 10px;
text-align: left;
}
.gateimage {
max-height: 100%;
max-width: 10%;
position: relative;
}
}
@media (max-width: 500px) {
.pagetitle {
font-size: 10vw;
}
.searchentry {
width: 70%;
text-align: center;
}
.searchgo {
width: 10%;
}
}
@media (max-width: 430px) {
.searchentry {
margin: auto;
}
.searchgo {
width: 50%;
margin: 10px;
}
.gatecontainer {
display: none;
}
}