You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

284 lines
4.2 KiB

4 years ago
body {
margin: 0;
color: #034;
font-family: "Nunito Sans", "Avenir", "Helvetica Neue", sans-serif;
font-size: 14pt;
line-height: 1.4em;
}
p {
text-align: justify;
}
a {
color: #3be;
}
a:hover {
color: #034;
}
header {
margin: 0 auto;
max-width: 1040px;
position: relative;
text-align: center;
top: 0;
width: 100%;
z-index: 1;
}
h1 {
font-family: 'Adelle W01 Bold', "Lucida Bright", Lucida, "DejaVu Serif", "Bitstream Vera Serif", Georgia, serif;
font-size: 90px;
font-weight: 500;
background-color: #fff;
color: #034;
display: inline-block;
min-height: 18px;
margin: 40px auto 0;
padding: 0 10px;
z-index: 2;
}
/* Creates horizontal line */
h1:after {
background-color: #e42;
content: '';
height: 12px;
left: 0;
margin-top: 2px;
position: absolute;
width: 100%;
z-index: -1;
}
h2 {
color: #e42;
font-size: 22px;
font-style: italic;
font-weight: 400;
text-align: right;
max-width: 695px;
margin: -10px auto 0;
width: 100%;
}
.summary {
position: relative;
max-width: 1040px;
margin: 20px auto;
z-index: 2;
}
.summary p {
color: #e42;
font-style: italic;
text-align: right;
max-width: 695px;
margin: 10px auto 0;
}
.intro {
background: linear-gradient(to bottom, #fff 0%, #edf6ff 100%);
height: 450px;
}
h3 {
color: #e42;
text-transform: uppercase;
font-size: 160%;
font-weight: 900;
}
.main {
background-color: rgba(255, 255, 255, 0.9);
border-top: 5px solid #e42;
border-bottom: 5px solid #3be;
position: relative;
width: 100%;
z-index: 3;
}
.main p, .main h3, .main .middle {
max-width: 495px;
}
.middle {
margin: 25px auto 40px auto;
}
.solide {
background: #edf6ff;
border-top: 5px solid #def;
border-bottom: 5px solid #def;
margin: 25px 0;
display: grid;
grid-template-columns: auto auto;
grid-gap: 10px;
padding: 0 10%;
align-items: center;
}
.solide > div {
padding: 20px 0;
max-width: 495px;
margin-left:auto;
margin-right:auto;
}
.solide .cat {
max-height: 250px;
}
table {
border-collapse: collapse;
max-width: 100%;
}
table th {
padding: 15px;
}
table td {
text-align: center;
max-width: 200px;
padding: 10px;
}
.rowheader {
border-bottom: 2px solid #e42;
}
.team {
display: grid;
grid-template-columns: auto auto;
grid-gap: 30px;
align-items: top;
}
.profile {
text-align: center;
max-width: 220px;
margin: 0 auto;
}
.profile-pic {
margin: 20px;
width: 160px;
border-radius:100px;
box-shadow: 0 0 10px 0 black;
}
/* star */
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
aside:before {
animation: spin 37s infinite linear;
background: url('star.svg') center top no-repeat;
content: '';
height: 921px;
left: 50%;
margin-left: -461.5px;
position: fixed;
top: 60px;
width: 923px;
}
/* cats */
@keyframes rise {
from { top: 100%; }
to { top: 165px; }
}
aside:after {
animation: rise 1.25s 1 ease;
background: url('ginger-cat-718.png') center no-repeat;
content: '';
position: fixed;
z-index: 1;
left: 50%;
margin-left: -330px;
width: 660px;
height: 640px;
top: 165px;
}
footer {
color: #fff;
padding: 20px;
background: #034;
font-size: 22px;
text-align: center;
}
footer a {
text-decoration: underline;
}
footer a:hover {
color: #fff;
}
@media (max-width: 750px) {
.intro {
height: 320px;
}
aside:before {
top: 80px;
}
@keyframes rise-short {
from { top: 100%; }
to { top: 40px; }
}
aside:after {
background-size: 67%;
animation: rise-short 1.5s 1 ease;
top: 40px;
}
h1 {
font-size: 60px;
min-height: 50px;
margin-top: 35px;
}
.main footer {
font-size: 18px;
}
.middle {
/*width: 85%;*/
}
.solide {
grid-template-columns: auto;
grid-gap: 0px;
}
.solide > div {
padding: 0px;
}
.solide .cat {
max-height: 140px;
padding: 10px;
}
}
@media (max-width: 500px) {
body {
font-size: 15pt;
}
.solide {
padding: 5px;
}
.middle {
padding: 5px;
}
table th {
padding: 8px;
}
table td {
padding: 4px;
}
table {
font-size: 80%;
}
.team {
grid-template-columns: auto;
}
.profile {
max-width: 400px;
}
}