mirror of
https://github.com/rust-lang/book.git
synced 2026-09-15 08:59:17 -04:00
Pull back on that red a bit
This commit is contained in:
@@ -19,6 +19,47 @@
|
||||
|
||||
<link rel="stylesheet" href="highlight.css">
|
||||
<link rel="stylesheet" href="tomorrow-night.css">
|
||||
<style>
|
||||
p.warning {
|
||||
background-color: rgb(242, 222, 222);
|
||||
border-bottom-color: rgb(238, 211, 215);
|
||||
border-bottom-left-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
border-bottom-style: solid;
|
||||
border-bottom-width: 0.666667px;
|
||||
border-image-outset: 0 0 0 0;
|
||||
border-image-repeat: stretch stretch;
|
||||
border-image-slice: 100% 100% 100% 100%;
|
||||
border-image-source: none;
|
||||
border-image-width: 1 1 1 1;
|
||||
border-left-color: rgb(238, 211, 215);
|
||||
border-left-style: solid;
|
||||
border-left-width: 0.666667px;
|
||||
border-right-color: rgb(238, 211, 215);
|
||||
border-right-style: solid;
|
||||
border-right-width: 0.666667px;
|
||||
border-top-color: rgb(238, 211, 215);
|
||||
border-top-left-radius: 4px;
|
||||
border-top-right-radius: 4px;
|
||||
border-top-style: solid;
|
||||
border-top-width: 0.666667px;
|
||||
color: rgb(185, 74, 72);
|
||||
margin-bottom: 0px;
|
||||
margin-left: 0px;
|
||||
margin-right: 0px;
|
||||
margin-top: 30px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 14px;
|
||||
padding-right: 35px;
|
||||
padding-top: 8px;
|
||||
}
|
||||
p.warning strong {
|
||||
color: rgb(185, 74, 72)
|
||||
}
|
||||
p.warning a {
|
||||
color: rgb(0, 136, 204)
|
||||
}
|
||||
</style>
|
||||
|
||||
<!-- MathJax -->
|
||||
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
|
||||
@@ -53,7 +94,7 @@
|
||||
<div id="page-wrapper" class="page-wrapper">
|
||||
|
||||
<div class="page">
|
||||
<header><p style="background-color:#FF0000; padding: 5px;">You are reading a *draft* of the next edition of TRPL. For more, go <a href="../index.html">here</a>.</p></header>
|
||||
<header><p class="warning">You are reading a <strong>draft</strong> of the next edition of TRPL. For more, go <a href="../index.html">here</a>.</p></header>
|
||||
<div id="menu-bar" class="menu-bar">
|
||||
<div class="left-buttons">
|
||||
<i id="sidebar-toggle" class="fa fa-bars"></i>
|
||||
|
||||
Reference in New Issue
Block a user