Files
@ d3e5b8053518
Branch filter:
Location: Copyleft/guide/css/guide.css
d3e5b8053518
3.3 KiB
text/css
Presentations as prepared by Karen for OSCON 2017.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 | p.indent {
text-indent: 0em;
}
body {
max-width: 680px;
margin: 0 auto !important;
float: none !important;
font-family: Georgia, serif;
}
.tabbing{padding-left: 2px; padding-right:2px;}
/* The below was adapted from Bootstrap 3.0.0,
** which is:
**
* Copyright 2013 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Modifications made in this project are:
* Copyright 2014 Bradley M. Kuhn
* Also licensed Apache-2.0
*/
@media print {
.quotation {
border: 1px solid #999;
page-break-inside: avoid;
}
}
.quotation {
padding: 10px 20px;
margin: 1px 50px 4px;
border: 2px solid #91908f;
background: #eceeee;
}
.quotation p {
font-size: 95%;
font-weight: 300;
line-height: 1.25;
}
.quotation p:last-child {
margin-bottom: 0;
}
.quotation small {
display: block;
line-height: 1.428571429;
color: #999999;
}
.quotation small:before {
content: '\2014 \00A0';
}
.quotation.pull-right {
padding-right: 15px;
padding-left: 0;
border-right: 5px solid #eeeeee;
border-left: 0;
}
.quotation.pull-right p,
.quotation.pull-right small {
text-align: right;
}
.quotation.pull-right small:before {
content: '';
}
.quotation.pull-right small:after {
content: '\00A0 \2014';
}
.quotation:before,
.quotation:after {
content: "";
}
.lstlisting
{
font-family: monospace, serif;
font-size: 1em;
padding: 2px 1px;
margin: 1px 5px 4px;
font-size: 90%;
color: #c7254e;
white-space: nowrap;
background-color: #f9f2f4;
border-radius: 2px;
font-size: inherit;
color: inherit;
white-space: pre-wrap;
background-color: transparent;
border: 2px solid #575857;
}
.lstlisting.label {
font-family: monospace, serif;
border: 0;
margin-bottom: 1px;
font-weight: normal;
font-size: 90%;
padding: 0;
border-radius: 0px;
color: #c7254e;
}
/* Handle issues with anchor in-page links offsets due to bootstrap's */
/* fixed top navbar. For in-page anchor links, the fixed navbar at */
/* the top obscures the text of the link that's jumped to. */
/* Most of the pure CSS solutions found online cannot handle the */
/* situation where you have an anchor with both href and id */
/* attributes. This seemed the best one for use in cases where */
/* there was is no href. in the anchor which included the id. */
.likesectionHead a[id],
.subsectionHead a[id],
.likesubsectionHead a[id],
.partHead a[id],
.likepartHead a[id],
.appendixHead a[id],
.likeappendixHead a[id],
.chapterHead a[id],
.likechapterHead a[id],
.sectionHead a[id] {
border-top: 75px solid transparent;
margin-top: -75px;
-webkit-background-clip: padding-box;
-moz-background-clip: padding;
background-clip: padding-box;
}
/* Note that those anchors that contain both href and id cannot be */
/* handled this way. It casuses strange problems with the href links. */
/* The specific problem is that you get a 75px offset when the */
/* mousepointer activates the link, and the tooltip on the footnotes */
/* don't work. Therefore, the following classes are handled by the */
/* Javascript rather than CSS: */
/* chapterToc, sectionToc, subsectionToc, partToc, footnote-mark */
|