Final website tweaks

This commit is contained in:
Simon Prince
2024-04-18 17:41:04 -04:00
parent faf53a49a0
commit 2d300a16a1
20 changed files with 540 additions and 320 deletions

View File

@@ -127,4 +127,39 @@ export const InstructorsContent = styled.div`
flex-direction: column;
align-items: left ;
list-style-position: inside;
@media screen and (max-width: 1050px) {
font-size: 12px;
}
@media screen and (max-width: 768px) {
font-size: 10px;
}
`
export const InstructorsLink = styled.a`
text-decoration: none;
color: #555;
font-weight: 300;
margin: 0 2px;
position: relative;
&:before{
position: absolute;
margin: 0 auto;
top: 100%;
left: 0;
width: 100%;
height: 2px;
background-color: #555;
content: '';
opacity: .3;
-webkit-transform: scaleX(1);
transition-property: opacity, -webkit-transform;
transition-duration: .3s;
}
&:hover:before {
opacity: 1;
-webkit-transform: scaleX(1.05);
}
`