tjld/css/officers.css

239 lines
4.7 KiB
CSS
Executable File

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&display=swap");
* {
margin: 0;
padding: 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
pointer-events: none;
overflow-x: hidden;
}
a {
pointer-events: auto;
}
.burger {
pointer-events: auto;
cursor: pointer;
}
header nav {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-pack: distribute;
justify-content: space-around;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
min-height: 8vh;
color: #fff;
background: linear-gradient(135deg, #000 0%, #000 40%, #fff 40.0%, #fff 100%);
font-family: 'Playfair Display', serif;
}
header nav .brand a {
font-size: 3em;
color: white;
text-decoration: none;
}
header nav .brand a i {
padding-right: 10;
}
header nav .brand a img {
height: 6vh;
margin: auto 0;
}
header nav ul {
list-style-type: none;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-pack: distribute;
justify-content: space-around;
width: 50%;
font-family: "Poppins", sans-serif;
font-weight: 400;
text-transform: uppercase;
overflow: hidden;
}
header nav ul li {
padding: 5px 10px;
}
header nav ul li a {
color: #000;
text-decoration: none;
}
header nav ul .login {
padding: 4px 5px;
border: 2px solid black;
}
header nav .burger {
display: none;
}
header nav .burger div {
width: 25px;
height: 3px;
background-color: #333;
margin: 5px;
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease;
}
@media (max-width: 1100px) {
header nav {
background: linear-gradient(135deg, #000 0%, #000 65%, #fff 65.0%, #fff 100%);
}
header ul {
z-index: 1;
-webkit-transform: translatex(100%);
transform: translatex(100%);
position: absolute;
right: 0%;
top: 8vh;
height: 50vh;
width: 100% !important;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
background-color: #333;
-webkit-transition: -webkit-transform 0.5s ease-in;
transition: -webkit-transform 0.5s ease-in;
transition: transform 0.5s ease-in;
transition: transform 0.5s ease-in, -webkit-transform 0.5s ease-in;
}
header ul li a {
color: #fff !important;
font-size: 1.5em;
}
header ul .login {
border: none !important;
}
header .burger {
display: block !important;
}
header .burger.toggle .line1 {
-webkit-transform: rotate(-45deg) translate(-5px, 6px);
transform: rotate(-45deg) translate(-5px, 6px);
}
header .burger.toggle .line2 {
opacity: 0;
}
header .burger.toggle .line3 {
-webkit-transform: rotate(45deg) translate(-5px, -6px);
transform: rotate(45deg) translate(-5px, -6px);
}
}
.nav-active {
-webkit-transform: translateX(0%) !important;
transform: translateX(0%) !important;
}
.officers {
margin: 10vh 20vh;
}
.row {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-ms-flex-line-pack: center;
align-content: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
width: 100%;
margin-bottom: 2em;
}
@media (max-width: 1100px) {
.row {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
}
}
.column {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
}
.header {
font-family: "Playfair Display", serif;
text-align: center;
font-size: 4em;
}
.profile {
margin: 0 auto;
text-align: center;
}
.profile img {
width: 200px;
height: 200px;
background-color: #ffd1dc;
border-radius: 50%;
}
.profile h1 {
font-family: "Poppins", sans-serif;
font-size: 1.6em;
margin-top: 0.3em;
}
.profile h2 {
font-family: "Playfair Display", serif;
font-size: 1em;
}
.profile p {
font-family: sans-serif;
width: 60%;
margin: 0 auto;
margin-top: 0.5em;
}
.profile p a {
text-decoration: none;
color: #11c1e0;
}
.profile.single p {
width: 30%;
}
/*# sourceMappingURL=officers.css.map */