abtmtr-v13/assets/components/about-boxes/style.css

50 lines
1 KiB
CSS
Raw Normal View History

2024-08-20 19:30:37 +00:00
.Aboutbox {
display: flex;
flex-direction: column;
2024-08-21 06:05:24 +00:00
align-items: stretch;
2024-08-20 19:30:37 +00:00
justify-content: start;
gap: 8px;
width: 100%;
box-sizing: border-box;
overflow: hidden;
2024-08-20 19:30:37 +00:00
border: 1px solid currentColor;
padding: 8px;
2024-08-21 06:05:24 +00:00
background: var(--background) var(--tiles-last-black);
box-shadow: inset var(--inset) var(--inset) 0 var(--foreground);
2024-08-20 19:30:37 +00:00
.AboutboxElement {
2024-08-21 06:05:24 +00:00
--height: 150px;
2024-08-20 19:30:37 +00:00
width: 100%;
2024-08-21 06:05:24 +00:00
height: var(--height);
2024-08-20 19:30:37 +00:00
display: grid;
box-sizing: border-box;
overflow: hidden;
2024-08-21 06:05:24 +00:00
grid-template-columns: 1fr calc(var(--height) - 2px);
box-shadow: var(--inset) var(--inset) 0 var(--foreground);
2024-08-20 19:30:37 +00:00
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%;
}
}
}
2024-08-27 08:35:12 +00:00
/* @media (max-width: 600px) {
.Aboutbox .AboutboxElement {
--height: 200px;
}
2024-08-27 08:35:12 +00:00
} */