Add mine page
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 3.3 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.3 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 4.0 KiB |
+30
-1
@@ -88,7 +88,6 @@ ul {
|
||||
|
||||
header {
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
justify-content: space-between;
|
||||
background-color: $mantle;
|
||||
padding: .5rem;
|
||||
@@ -150,6 +149,36 @@ footer {
|
||||
}
|
||||
}
|
||||
|
||||
.blocks {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin-top: .5rem;
|
||||
gap: .5rem;
|
||||
|
||||
& + &,
|
||||
& + .block,
|
||||
.block + & {
|
||||
margin-top: .5rem;
|
||||
}
|
||||
|
||||
.block {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.badges {
|
||||
.block {
|
||||
flex: 1;
|
||||
text-wrap-mode: nowrap;
|
||||
text-align: -webkit-center;
|
||||
|
||||
&:hover {
|
||||
flex: 1.5;
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.icon {
|
||||
width: 1.5em;
|
||||
vertical-align: middle;
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
h3 {
|
||||
margin-block-end: 0;
|
||||
}
|
||||
|
||||
.qr {
|
||||
img { width: 100% }
|
||||
p { text-align: center; }
|
||||
|
||||
&.blocks {
|
||||
flex-wrap: nowrap;
|
||||
overflow-x: auto;
|
||||
width: calc(100vw - 1rem);
|
||||
max-width: 45rem;
|
||||
scroll: {
|
||||
behavior: smooth;
|
||||
snap-type: x mandatory;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar { display: none; }
|
||||
|
||||
&:hover .block.qr:not(:hover) {
|
||||
filter: blur(5px);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
}
|
||||
|
||||
&.block {
|
||||
flex: 0 0 calc(100vw - 2rem);
|
||||
scroll-snap-align: start;
|
||||
max-width: 13.666rem;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user