112 lines
2 KiB
CSS
112 lines
2 KiB
CSS
.project-card {
|
|
padding: 10px;
|
|
height: 400px;
|
|
background-color: #333F;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
background-position: center;
|
|
text-align: left;
|
|
}
|
|
|
|
.project-card-role {
|
|
color: #888F;
|
|
font-weight: bold;
|
|
font-size: 125%;
|
|
}
|
|
|
|
.project-grid {
|
|
display: grid;
|
|
grid-gap: 50px 10px;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
margin-top: 50px;
|
|
}
|
|
|
|
@media only screen and (max-width: 640px) {
|
|
.project-grid {
|
|
display: grid;
|
|
grid-gap: 50px 10px;
|
|
grid-template-columns: repeat(1, 1fr);
|
|
margin-top: 50px;
|
|
}
|
|
}
|
|
|
|
.project-grid > a {
|
|
padding: 20px;
|
|
border-radius: 7px;
|
|
}
|
|
|
|
.project-grid > a:hover {
|
|
border-width: 5px;
|
|
background: #9993;
|
|
padding-top: 25px;
|
|
padding-bottom: 15px;
|
|
color: #99FF;
|
|
}
|
|
|
|
.project-grid > a:visited {
|
|
color: #444F;
|
|
}
|
|
|
|
.project-grid > a:active {
|
|
background: #44F3;
|
|
padding-top: 30px;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
|
|
.project-card[ruins-of-edis] {
|
|
background-image: url('../assets/ruins-of-edis-cover.jpg');
|
|
}
|
|
|
|
.project-card[stig-kart] {
|
|
background-image: url('../assets/stig-kart-cover.png');
|
|
}
|
|
|
|
.project-card[spirit-of-science] {
|
|
background-image: url('../assets/spirit-of-science-cover.jpg');
|
|
}
|
|
|
|
.project-card[boids] {
|
|
background-image: url('../assets/boids-ecs-cover.jpg');
|
|
}
|
|
|
|
.project-card[gml-tile-movement] {
|
|
background-image: url('../assets/gml-tile-movement-cover.jpg');
|
|
}
|
|
|
|
.project-card[tower-vr] {
|
|
background-image: url('../assets/tower-vr-cover.jpg');
|
|
background-position: 50% 100%
|
|
}
|
|
|
|
.project-card[station-to-station] {
|
|
background-image: url('../assets/station-to-station-cover.jpg');
|
|
background-position: 0 0
|
|
}
|
|
|
|
.project-labels {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.project-labels > p {
|
|
display: inline;
|
|
color: white;
|
|
background-color: #5C5F;
|
|
border-color: black;
|
|
margin-top: 20px;
|
|
margin-bottom: 20px;
|
|
padding-left: 6px;
|
|
padding-right: 6px;
|
|
padding-top: 2px;
|
|
padding-bottom: 2px;
|
|
border-radius: 4px;
|
|
width: fit-content;
|
|
margin-bottom: 0px;
|
|
line-height: 2em;
|
|
}
|
|
|
|
h2.project-title {
|
|
margin-top: 20px;
|
|
margin-bottom: 10px;
|
|
}
|