99 lines
1.5 KiB
CSS
99 lines
1.5 KiB
CSS
.pair {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
|
|
.key {
|
|
font-weight: bold;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.value {
|
|
text-align: right;
|
|
flex-grow: 1;
|
|
}
|
|
}
|
|
|
|
.project-carousel {
|
|
.carousel-item {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
|
|
br {
|
|
line-height: 0.6em;
|
|
}
|
|
}
|
|
|
|
.carousel-item-small {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
|
|
&:not(.active) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.carousel-description {
|
|
max-height: 14rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.carousel-fade {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
height: 30px;
|
|
|
|
background: linear-gradient(var(--dim-background-transparent), var(--dim-background));
|
|
}
|
|
}
|
|
|
|
.project-card {
|
|
color: var(--fg-font-color);
|
|
background-color: var(--card-background);
|
|
border-color: var(--project-card-border-color);
|
|
|
|
transition: box-shadow 0.2s, background-color 0.2s;
|
|
|
|
.slideshow & {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
&:hover {
|
|
background-color: var(--card-background-hover);
|
|
|
|
&>.title {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
.image-container {
|
|
--image-size: 8rem;
|
|
|
|
width: var(--image-size);
|
|
min-height: var(--image-size);
|
|
|
|
.image {
|
|
position: absolute;
|
|
width: var(--image-size);
|
|
top: 0;
|
|
bottom: 0;
|
|
}
|
|
}
|
|
|
|
.details {
|
|
/* Background color given by theme */
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.badges:empty {
|
|
display: none;
|
|
}
|
|
|
|
.badge {
|
|
color: white;
|
|
border-radius: 5px;
|
|
}
|
|
} |