authorgravatar for 14938807+xackus@users.noreply.github.comxackus <14938807+xackus@users.noreply.github.com> 2021-04-08 22:38:48+02:00
committergravatar for kappaloris@gmail.comLoris Cro <kappaloris@gmail.com> 2021-04-09 00:36:59+02:00
logc28d1fe1733eb150f956b1eb0d01d79496e7378c
tree010029cb41cdb2ebf1f74282bfb4339404e14809
parent9f744f19e7036df9a410f780f3394f6669b8079e

std docs: fix layout broken by the banner


1 files changed, 16 insertions(+), 5 deletions(-)

lib/std/special/docs/index.html+16-5
......@@ -43,6 +43,8 @@
4343
4444 /* layout */
4545 .canvas {
46 display: flex;
47 flex-direction: column;
4648 width: 100vw;
4749 height: 100vh;
4850 overflow: hidden;
......@@ -53,12 +55,21 @@
5355 background-color: var(--bg-color);
5456 }
5557
58 .banner {
59 background-color: darkred;
60 text-align: center;
61 color: white;
62 padding: 15px 5px;
63 }
64
65 .banner a {
66 color: bisque;
67 text-decoration: underline;
68 }
69
5670 .flex-main {
5771 display: flex;
58 width: 100%;
59 height: 100%;
60 justify-content: center;
61
72 overflow-y: hidden;
6273 z-index: 100;
6374 }
6475
......@@ -515,7 +526,7 @@
515526 </style>
516527 </head>
517528 <body class="canvas">
518 <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>
529 <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>
519530 <div class="flex-main">
520531 <div class="flex-filler"></div>
521532 <div class="flex-left sidebar">