mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-24 14:49:58 -07:00
website: css
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#explorer {
|
||||
width: 100%;
|
||||
height: 100dvh;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
overflow: hidden;
|
||||
|
||||
@@ -12,35 +12,6 @@
|
||||
overflow-y: auto;
|
||||
padding: var(--main-padding) 0;
|
||||
flex-direction: column;
|
||||
|
||||
&::before,
|
||||
&::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: var(--main-padding);
|
||||
z-index: 1;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
&::before {
|
||||
left: 0;
|
||||
background-image: linear-gradient(
|
||||
to left,
|
||||
transparent,
|
||||
var(--background-color)
|
||||
);
|
||||
}
|
||||
|
||||
&::after {
|
||||
right: 0;
|
||||
background-image: linear-gradient(
|
||||
to right,
|
||||
transparent,
|
||||
var(--background-color)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
--cube: 4.5rem;
|
||||
@@ -63,6 +34,7 @@
|
||||
@media (min-width: 768px) {
|
||||
height: 100%;
|
||||
overflow-y: auto;
|
||||
padding-right: calc(var(--main-padding) / 2);
|
||||
}
|
||||
|
||||
.blocks {
|
||||
@@ -79,6 +51,10 @@
|
||||
height: 11.5rem;
|
||||
width: max-content;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
padding-bottom: 6rem;
|
||||
}
|
||||
}
|
||||
|
||||
.cube {
|
||||
@@ -192,6 +168,7 @@
|
||||
|
||||
@media (min-width: 768px) {
|
||||
overflow-y: auto;
|
||||
padding-left: calc(var(--main-padding) / 2);
|
||||
}
|
||||
|
||||
h1 {
|
||||
|
||||
Reference in New Issue
Block a user