Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@autarch
Forked from timo/gist:59896e1df0b1e559979c
Last active December 15, 2015 23:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save autarch/b993686fd624fc3407f0 to your computer and use it in GitHub Desktop.
Save autarch/b993686fd624fc3407f0 to your computer and use it in GitHub Desktop.
/* raiph
#header { background: #80B5FF; }
*/
#header { background: #C0E472; }
.title a { color: #0000EE !important; }
.title a:visited { color: #551A8B !important; }
/* -----------------------------------------------------------
I (raiph) changed the 3 existing lines in this stylesheet
(above) and added loads of stuff (below). All cargo culted
from view-source:http://doc.perl6.org/ starting May 8 2015.
Search for "raiph" to see my edits.
----------------------------------------------------------- */
/* -----------------------------------------------------------
<style> ... </style> content copied by raiph:
----------------------------------------------------------- */
/* code gets the browser-default font
* kbd gets a slightly less common monospace font
* samp gets the hard pixelly fonts
*/
kbd { font-family: "Droid Sans Mono", "Luxi Mono", "Inconsolata", monospace }
samp { font-family: "Terminus", "Courier", "Lucida Console", monospace }
/* WHATWG HTML frowns on the use of <u> because it looks like a link,
* so we make it not look like one.
*/
u { text-decoration: none }
.nested {
margin-left: 3em;
}
// footnote things:
aside, u { opacity: 0.7 }
a[id^="fn-"]:target { background: #ff0 }
/* -----------------------------------------------------------
http://design.perl6.org/perl.css content copied by raiph:
----------------------------------------------------------- */
/* CSS File for Modern Browsers */
/* also, perl-ns4.css stops ns4 from crashing. */
/* Originates from svn:pugs/docs/feather/perl.css */
BODY {
font-family:helvetica,sans-serif;
/* raiph
font-size:14px;
*/
font-weight:normal;
/* raiph
width: 730px;
*/
background-color: #FFF;
/* raiph
margin: 5px;
*/
}
UL{
list-style-type: square;
}
P, LI, PRE {
line-height:22.6524758px;
}
A {
color: #003399;
/* color: #0055BB; */
text-decoration: none;
}
.RIGHT {
text-align: right;
}
.HOME {
text-align: right;
text-decoration: underline;
}
.error {
color: #DD0000;
}
A:visited {
color: #551A8B;
}
/* specify link and visited so the 'hover' style doesn't apply to
other links, like those which are just NAME anchors. */
A:link:hover {
text-decoration: underline;
color: #8B0000; /* dark red */
}
A:visited:hover {
text-decoration: underline;
color: #8B0000; /* dark red */
}
TD {
font-size:14px;
}
.SHADED {
background-color: #d2b48c;
font-size:14px;
font-weight: bold;
font-family:helvetica,sans-serif;
}
/* Header */
.BANNER {
font-weight: bold;
font-size:18px;
color: #fff;
font-family:helvetica,sans-serif;
background-color:#191970;
padding-top: .5em;
padding-left:.5em;
padding-bottom:.5em;
border-bottom: 4px solid #39f;
border-top: 4px solid #39f;
letter-spacing: 2px;
/* not valid CSS
line-spacing: 2px; */
}
/* Navigation */
#NAV {
width: 180px;
font-size:12px;
margin:0em;
margin-top: -1px;
padding:7px;
background-color:#eee;
border-right:1px solid #191970;
border-left:1px solid #191970;
}
.topNAV {
}
.sideNAV {
/* raiph
background-image: url("/simages/onion/onion-160x160a.gif");
*/
background-position: bottom;
background-repeat: no-repeat;
}
#MAIN {
font-size:12px;
margin-top:1em;
margin-left:1em;
}
#MAIN TD {
font-size:12px;
}
.INDENT {
font-size:12px;
margin-left:1em;
}
.BEGINNER {
font-size:12px;
border:1px solid orange;
background-color: #fffacd; /* lemonchiffon */
padding:10px;
width: 400px;
margin-top: 1.5em;
}
.NAVITEM {
padding-bottom:.5em;
padding-top:1em;
width: 180px;
}
.MENU {
padding-bottom:1em;
width: 180px;
border-bottom:1px solid #191970;
}
.TOPIC {
font-weight: bolder;
font-size: 16px;
color: #191970;
font-family:helvetica,sans-serif;
text-decoration: underline;
padding-bottom: 4px;
}
.NAVLINE {
font-size:12px;
}
.SMALL {
font-size: xx-small;
}
/*
.TITLE {
color: #ccff66;
}
*/
.ITEMS {
font-size:14px;
}
.CR {
border-left: 1px solid #191970;
border-right: 1px solid #191970;
border-bottom: 1px solid #191970;
width: 180px;
background-color:#eee;
color: #333;
padding:7px;
font-size: x-small;
}
.DESCRIPTION {
padding-bottom:1em;
padding-right:1em;
}
.TAGLINE {
letter-spacing: 2.5px;
color: #666;
font-size: 14px;
font-family: Verdana, Sans-Serif;
font-weight: 800;
font-style: italic;
padding-top: 3px;
border-top:2px solid #191970;
margin-top: -10px
}
/* for perl-directory style */
.PDFOOTER {
font-size: 12px;
padding-top: 0px;
padding-bottom: 2px;
margin-bottom: 12px;
}
/* for default style */
.FOOTER {
font-size: 12px;
padding-top: 3px;
border-top:2px solid #191970;
margin-top: -10px
}
HR {
color: #191970;
text-align: center; /* what does this do on a HR? */
padding-top: .5em;
padding-bottom:.5em;
}
.CAMEL {
float: right;
/* margin-top: -5em; */
}
H3 {
color: #000;
font-size: 14px;
font-family:verdana,helvetica,sans-serif;
font-weight: bolder;
}
TR {
vertical-align: top;
}
TD.NOVERTPAD {
padding-top: 0;
padding-bottom: 0;
}
IMG.border {
border-width: 1px;
border-color: #191970;
border-style: solid;
padding: 4px;
margin: 2px;
background: white;
}
.newsitem {
width: 80%;
text-align: justify;
}
P.fancyp:first-letter {
font-size: 215%; float: left; font-family: serif; padding: 1px;
}
.orangebox {
padding: 4px;
border: 1px solid orange;
font-size: 120%;
font-weight: 800;
text-align: center;
padding: 10px 0 10px 0;
margin-top: 10px;
}
.smartlink {
margin: 0 0 0 0;
padding: 0 0 0 0;
background-color: #def;
}
.snip {
font-family: "Courier New", Courier, Monospace;
font-size: 12px;
line-height: 0.8em;
}
.smartlink-file {
text-align: right;
margin: 0 0 0 0;
padding: 0 0 0 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment