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 @@...@@ -43,6 +43,8 @@
4343
44 /* layout */44 /* layout */
45 .canvas {45 .canvas {
46 display: flex;
47 flex-direction: column;
46 width: 100vw;48 width: 100vw;
47 height: 100vh;49 height: 100vh;
48 overflow: hidden;50 overflow: hidden;
...@@ -53,12 +55,21 @@...@@ -53,12 +55,21 @@
53 background-color: var(--bg-color);55 background-color: var(--bg-color);
54 }56 }
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
56 .flex-main {70 .flex-main {
57 display: flex;71 display: flex;
58 width: 100%;72 overflow-y: hidden;
59 height: 100%;
60 justify-content: center;
61
62 z-index: 100;73 z-index: 100;
63 }74 }
6475
...@@ -515,7 +526,7 @@...@@ -515,7 +526,7 @@
515 </style>526 </style>
516 </head>527 </head>
517 <body class="canvas">528 <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>
519 <div class="flex-main">530 <div class="flex-main">
520 <div class="flex-filler"></div>531 <div class="flex-filler"></div>
521 <div class="flex-left sidebar">532 <div class="flex-left sidebar">