about summary refs log tree commit diff
path: root/src/doc/rust.css
diff options
context:
space:
mode:
authorDeadbeef <ent3rm4n@gmail.com>2021-06-28 00:15:11 +0800
committerDeadbeef <ent3rm4n@gmail.com>2021-06-28 11:11:30 +0800
commitd4434162cf7a34dcba22c0eca2dd1c7ef53e44af (patch)
treeddd0df8f9b95c086f78ac6d65679c9cd89a7878a /src/doc/rust.css
parent008082574d52c586fcf6e4ad858175b5fdab2b9e (diff)
downloadrust-d4434162cf7a34dcba22c0eca2dd1c7ef53e44af.tar.gz
rust-d4434162cf7a34dcba22c0eca2dd1c7ef53e44af.zip
Make every standalone doc use rustdoc.css
Diffstat (limited to 'src/doc/rust.css')
-rw-r--r--src/doc/rust.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/doc/rust.css b/src/doc/rust.css
index 1afac25cf16..bece82725c6 100644
--- a/src/doc/rust.css
+++ b/src/doc/rust.css
@@ -38,6 +38,7 @@ h5, h6 {
 
 h1 {
 	font-size: 28px;
+	font-weight: 500;
 	padding: .1em .4em;
 	border-bottom: 2px solid #ddd;
 }
@@ -47,10 +48,12 @@ h1.title {
 h2 {
 	font-size: 26px;
 	padding: .2em .5em;
+	border-bottom: 1px solid #ddd;
 }
 h3 {
 	font-size: 24px;
 	padding: .2em .7em;
+	border-bottom: 1px solid #DDE8FC;
 }
 h4 {
 	font-size: 22px;
@@ -105,7 +108,9 @@ footer {
 /* Links layout */
 
 a {
+	text-decoration: none;
 	color: #428BCA;
+	background: transparent;
 }
 a:hover, a:focus {
 	color: #2A6496;