Tweaked Oracle's user docs
- Increased font size
- Added background-color to
pre
andcode
tags - sticky'd left-hand nav bar
Authorcdemichiei
LicenseNo License
Categorydocs.oracle.com
Created
Updated
Size1.6 kB
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Tweaked Oracle's user docs
pre
and code
tags/* ==UserStyle==
@name Readable
@version 20211029.00.32
@namespace userstyles.world/user/cdemichiei
@description Tweaked Oracle's user docs
* Increased font size
* Added background-color to `pre` and `code` tags
* sticky'd left-hand nav bar
@author cdemichiei
@license No License
==/UserStyle== */
@-moz-document domain("docs.oracle.com") {
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Source+Code+Pro:wght@300;400;500;600&display=swap');
body {
font-size: 18px;
font-family: 'Open Sans', sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin-bottom: 0.25em;
}
h2 {
font-size: 1.2rem;
border-bottom: 1px solid rgba(0 0 0 / 0.5);
}
p {
margin-top: 0;
line-height: 1.9rem;
}
.Banner {
font-size: 0.75em;
}
#LeftBar {
font-size: 1rem;
font-weight: bolder;
position: fixed;
}
.linkLESSON {
font-size: 1em;
border-bottom: 1px solid rgba(0 0 0 / 0.5)
}
.linkAHEAD {
font-size: 0.9em;
}
.linkBHEAD {
font-size: 0.8em;
}
.note {
background-color: rgba(255 200 0 / 0.25);
padding: 0 0.25em;
}
code {
font-family: 'Source Code Pro', monospace;
font-weight: 600;
background-color: rgba(200 200 228 / 50%);
padding: 0.125em;
}
pre {
font-family: 'Source Code Pro', monospace;
font-weight: 500;
background-color: rgba(200 200 228 / 50%);
padding: 1em;
}
pre > b,
pre > strong {
font-weight: 600;
color: #12e;
opacity: 1;
}
}