flash.moe/assets/makai.css/project.css

47 lines
1.1 KiB
CSS

.project {
border: 1px solid var(--container-border);
background-color: var(--container-colour);
margin-top: var(--global-spacing);
}
.project h2 {
font-size: 1.5em;
line-height: 1.4em;
font-weight: 700;
font-family: var(--font-header);
background-color: var(--project-colour);
padding: var(--global-spacing-0-5x) var(--global-spacing);
}
.project p {
margin: var(--global-spacing-0-5x) var(--global-spacing);
}
.project-tags {
display: flex;
flex-wrap: wrap;
gap: var(--global-spacing-2x);
margin: var(--global-spacing);
}
.project-tag {
color: var(--text-colour);
border-left: var(--global-spacing) solid var(--tag-colour, var(--accent-colour2));
padding: 0 var(--global-spacing);
}
.project-tag-link {
text-decoration: underline;
text-decoration-style: dashed;
text-decoration-color: var(--tag-colour, var(--accent-colour3));
}
.project-tag-link:visited {
text-decoration-color: var(--accent-colour2);
}
.project-tag-link:hover,
.project-tag-link:focus {
text-decoration-style: solid;
}
.project-tag-link:active {
text-decoration-style: dotted;
}