mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-21 12:53:56 +01:00
add banner art for emebd, fix embed flex 1, and univerial 0 left paddings
This commit is contained in:
3 files changed
+11
-7
No files matched your search
@@ -0,0 +1,5 @@
|
||||
<svg width="58" height="60" viewBox="0 0 58 60" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="56" height="28" fill="white"/>
|
||||
<rect x="33" y="30" width="25" height="28" fill="white"/>
|
||||
<rect y="30" width="31" height="28" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 256 B |
@@ -1,5 +1,9 @@
|
||||
.section {
|
||||
padding: var(--space-5);
|
||||
padding: var(--space-4);
|
||||
|
||||
@media (pointer: fine) {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
@@ -20,7 +20,6 @@ const toolStrings = strings.tools[tool.id as keyof typeof strings.tools];
|
||||
--tool-banner-overlap: 8rem;
|
||||
--margin: var(--space-4);
|
||||
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
|
||||
background-size: cover;
|
||||
@@ -38,7 +37,7 @@ const toolStrings = strings.tools[tool.id as keyof typeof strings.tools];
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: var(--space-4);
|
||||
padding: var(--padding) var(--space-4);
|
||||
padding: var(--space-6) var(--space-4);
|
||||
box-sizing: border-box;
|
||||
|
||||
backdrop-filter: var(--blur-tint);
|
||||
@@ -49,10 +48,6 @@ const toolStrings = strings.tools[tool.id as keyof typeof strings.tools];
|
||||
backdrop-filter: var(--blur-tint) invert(1) hue-rotate(180deg);
|
||||
}
|
||||
|
||||
@media (width > 40rem) {
|
||||
padding: var(--space-6) var(--space-4);
|
||||
}
|
||||
|
||||
.centered {
|
||||
position: relative;
|
||||
|
||||
|
||||
Reference in new issue
Block a user