abtmtr-v13/assets/components/header/style.css

82 lines
1.7 KiB
CSS
Raw Normal View History

2024-08-20 19:30:37 +00:00
.Header {
display: grid;
width: 100%;
grid-template-rows: 150px 1fr;
box-sizing: border-box;
border: 1px solid currentColor;
padding: 8px;
gap: 8px;
font-size: 16px;
2024-08-21 06:05:24 +00:00
background: transparent var(--tiles-last-black);
box-shadow: inset var(--inset) var(--inset) 0 var(--foreground);
2024-08-20 19:30:37 +00:00
.HeaderTop {
display: grid;
width: 100%;
height: 100%;
grid-template-columns: 150px 1fr;
box-sizing: border-box;
border: 1px solid currentColor;
font-family: var(--font-text-top);
2024-08-21 06:05:24 +00:00
font-weight: bold;
background: var(--background);
box-shadow: var(--inset) var(--inset) 0 var(--foreground);
2024-08-20 19:30:37 +00:00
.HeaderTopImage {
width: 100%;
height: 100%;
object-fit: contain;
box-sizing: border-box;
}
.HeaderTopName {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
box-sizing: border-box;
h1,
p {
margin: 0;
}
2024-08-21 06:05:24 +00:00
p {
/* letter-spacing: 0.2em; */
line-height: 0.8em;
}
2024-08-20 19:30:37 +00:00
h1 {
font-weight: normal;
font-size: 2.5em;
line-height: 1em;
2024-08-21 06:05:24 +00:00
/* letter-spacing: 0.1em; */
2024-08-20 19:30:37 +00:00
}
}
}
.HeaderLinks {
display: flex;
align-items: center;
justify-content: center;
gap: 0.5em;
font-family: var(--font-text-header);
font-weight: bold;
font-size: 1em;
.HeaderLinksLink {
display: inline-block;
width: 100%;
text-align: center;
padding: 0.5em;
border: 1px solid currentColor;
color: currentColor;
text-decoration: inherit;
2024-08-21 06:05:24 +00:00
background: var(--background);
box-shadow: var(--inset) var(--inset) 0 var(--foreground);
2024-08-20 19:30:37 +00:00
}
}
}