abtmtr-v13/assets/components/about-boxes/style.css
2024-08-21 01:05:24 -05:00

41 lines
919 B
CSS

.Aboutbox {
display: flex;
flex-direction: column;
align-items: stretch;
justify-content: start;
gap: 8px;
width: 100%;
box-sizing: border-box;
border: 1px solid currentColor;
padding: 8px;
background: var(--background) var(--tiles-last-black);
box-shadow: inset var(--inset) var(--inset) 0 var(--foreground);
.AboutboxElement {
--height: 150px;
width: 100%;
height: var(--height);
display: grid;
box-sizing: border-box;
grid-template-columns: 1fr calc(var(--height) - 2px);
box-shadow: var(--inset) var(--inset) 0 var(--foreground);
border: 1px solid currentColor;
background: var(--background);
.AboutboxElementText {
display: inline-block;
padding: 1rem;
h1 {
margin-top: 0;
margin-bottom: 1rem;
font-family: var(--font-text-top);
}
}
.AboutboxElementImage {
height: 100%;
}
}
}