aboutsummaryrefslogtreecommitdiff
path: root/lib/std
diff options
context:
space:
mode:
authorxackus <14938807+xackus@users.noreply.github.com>2021-04-08 22:38:48 +0200
committerLoris Cro <kappaloris@gmail.com>2021-04-09 00:36:59 +0200
commitc28d1fe1733eb150f956b1eb0d01d79496e7378c (patch)
tree010029cb41cdb2ebf1f74282bfb4339404e14809 /lib/std
parent9f744f19e7036df9a410f780f3394f6669b8079e (diff)
downloadzig-c28d1fe1733eb150f956b1eb0d01d79496e7378c.tar.gz
zig-c28d1fe1733eb150f956b1eb0d01d79496e7378c.zip
std docs: fix layout broken by the banner
Diffstat (limited to 'lib/std')
-rw-r--r--lib/std/special/docs/index.html21
1 files changed, 16 insertions, 5 deletions
diff --git a/lib/std/special/docs/index.html b/lib/std/special/docs/index.html
index 98f1938cc6..61e3bb4ed2 100644
--- a/lib/std/special/docs/index.html
+++ b/lib/std/special/docs/index.html
@@ -43,6 +43,8 @@
/* layout */
.canvas {
+ display: flex;
+ flex-direction: column;
width: 100vw;
height: 100vh;
overflow: hidden;
@@ -53,12 +55,21 @@
background-color: var(--bg-color);
}
+ .banner {
+ background-color: darkred;
+ text-align: center;
+ color: white;
+ padding: 15px 5px;
+ }
+
+ .banner a {
+ color: bisque;
+ text-decoration: underline;
+ }
+
.flex-main {
display: flex;
- width: 100%;
- height: 100%;
- justify-content: center;
-
+ overflow-y: hidden;
z-index: 100;
}
@@ -515,7 +526,7 @@
</style>
</head>
<body class="canvas">
- <div style="background-color: darkred; width: 100vw; text-align: center; color: white; padding: 15px 5px;">These docs are experimental. <a style="color: bisque;text-decoration: underline;" href="https://kristoff.it/blog/zig-new-relationship-llvm/">Progress depends on the self-hosted compiler</a>, <a style="color: bisque;text-decoration: underline;" href="https://github.com/ziglang/zig/wiki/How-to-read-the-standard-library-source-code">consider reading the stlib source in the meantime</a>.</div>
+ <div class="banner">These docs are experimental. <a href="https://kristoff.it/blog/zig-new-relationship-llvm/">Progress depends on the self-hosted compiler</a>, <a href="https://github.com/ziglang/zig/wiki/How-to-read-the-standard-library-source-code">consider reading the stdlib source in the meantime</a>.</div>
<div class="flex-main">
<div class="flex-filler"></div>
<div class="flex-left sidebar">