v0.6.8: add Emo and 奶绿 streamers; center items shop layout.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/* Local defaults; production export overwrites via export_relations_site.py. */
|
||||
var SITE_VERSION = "0.6.7";
|
||||
var SITE_VERSION = "0.6.8";
|
||||
var SITE_ORIGIN = "";
|
||||
var ABILITY_VIDEO_BASE = "";
|
||||
var STATIC_ASSET_BASE = "";
|
||||
|
||||
@@ -43,8 +43,8 @@
|
||||
}
|
||||
</script>
|
||||
<link rel="icon" href="/ui-icon/dota2_logo.png" type="image/png" />
|
||||
<link rel="stylesheet" href="/style.css?v=0.6.7" />
|
||||
<script src="/mobile-gate.js?v=0.6.7"></script>
|
||||
<link rel="stylesheet" href="/style.css?v=0.6.8" />
|
||||
<script src="/mobile-gate.js?v=0.6.8"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="sr-only">DOTA2 上分帝</h1>
|
||||
@@ -233,8 +233,8 @@
|
||||
</div>
|
||||
<footer class="heroes-site-foot" id="heroes-site-foot" aria-hidden="true"></footer>
|
||||
|
||||
<script src="/config.js?v=0.6.7"></script>
|
||||
<script src="/router.js?v=0.6.7"></script>
|
||||
<script src="/app.js?v=0.6.7"></script>
|
||||
<script src="/config.js?v=0.6.8"></script>
|
||||
<script src="/router.js?v=0.6.8"></script>
|
||||
<script src="/app.js?v=0.6.8"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+12
-7
@@ -2531,7 +2531,8 @@ body:has(#items-view:not(.hidden)) {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Shop + detail as a centered cluster; detail sticks while shop scrolls. */
|
||||
/* Shop centered in the viewport; detail sits in the right gutter and
|
||||
does not shift the shop's center (1fr | shop | 1fr). */
|
||||
.items-board {
|
||||
display: block;
|
||||
position: relative;
|
||||
@@ -2542,11 +2543,10 @@ body:has(#items-view:not(.hidden)) {
|
||||
}
|
||||
.items-cluster {
|
||||
display: grid;
|
||||
grid-template-columns: max-content 320px;
|
||||
grid-template-columns: 1fr max-content 1fr;
|
||||
align-items: start;
|
||||
column-gap: 16px;
|
||||
width: max-content;
|
||||
margin: 0 auto;
|
||||
width: 100%;
|
||||
}
|
||||
.items-main {
|
||||
width: max-content;
|
||||
@@ -2554,15 +2554,17 @@ body:has(#items-view:not(.hidden)) {
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
min-width: 0;
|
||||
grid-column: 1;
|
||||
grid-column: 2;
|
||||
justify-self: center;
|
||||
}
|
||||
.item-detail-box {
|
||||
grid-column: 2;
|
||||
grid-column: 3;
|
||||
justify-self: start;
|
||||
position: sticky;
|
||||
top: 12px;
|
||||
align-self: start;
|
||||
z-index: 1;
|
||||
width: 320px;
|
||||
width: min(320px, 100%);
|
||||
height: fit-content;
|
||||
/* Cap to the items-board scrollport while sticky. */
|
||||
max-height: calc(100dvh - 9rem);
|
||||
@@ -2801,16 +2803,19 @@ body:has(#items-view:not(.hidden)) {
|
||||
.items-cluster {
|
||||
grid-template-columns: 1fr;
|
||||
width: min(920px, 100%);
|
||||
margin: 0 auto;
|
||||
row-gap: var(--space-md);
|
||||
}
|
||||
.items-main {
|
||||
width: min(920px, 100%);
|
||||
grid-column: 1;
|
||||
grid-row: 2;
|
||||
justify-self: stretch;
|
||||
}
|
||||
.item-detail-box {
|
||||
grid-column: 1;
|
||||
grid-row: 1;
|
||||
justify-self: stretch;
|
||||
top: 8px;
|
||||
width: min(920px, 100%);
|
||||
max-height: min(42vh, 360px);
|
||||
|
||||
Reference in New Issue
Block a user