bludit/bl-themes/docsx/css/style.css

170 lines
2.3 KiB
CSS
Raw Normal View History

2018-02-17 11:32:05 +01:00
body {
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, sans-serif;
2018-02-06 23:11:50 +01:00
}
2018-02-17 11:32:05 +01:00
img {
max-width: 100%;
}
2018-02-08 00:20:00 +01:00
2018-02-17 11:32:05 +01:00
a {
color: #005ec3;
2018-02-06 23:11:50 +01:00
}
2018-02-18 20:30:46 +01:00
/* Navbar */
.navbar-nav-svg {
display: inline-block;
width: 20px;
height: 20px;
vertical-align: text-top;
color: rgba(255,255,255,.5);
}
2018-02-17 11:32:05 +01:00
/* Toc */
#toc {
float: right;
width: 40%;
margin: 0 0 0.5em 0.5em;
padding: 1em;
background-color: #f5f5f5;
2018-02-18 20:30:46 +01:00
display: none;
2018-02-17 11:32:05 +01:00
}
#toc ul {
list-style-type: none;
padding: 0;
margin: 0;
}
/* Main */
.main {
margin-top: 30px;
}
.main h1.title {
font-size: 1.7em;
border-bottom: 1px solid #ddd;
margin-bottom: 15px;
padding-bottom: 8px;
}
.main h1,
.main h2,
.main h3,
.main h4 {
margin-top: 20px;
margin-bottom: 15px;
color: #e6522c;
}
.main h2 {
font-size: 1.5em;
}
.main h3 {
font-size: 1.3em;
}
.main h4 {
font-size: 1.2em;
2018-02-06 23:11:50 +01:00
}
2018-02-17 11:32:05 +01:00
.main p {
margin: 15px 0 15px 0;
line-height: 1.5;
2018-02-06 23:11:50 +01:00
}
2018-02-08 00:20:00 +01:00
2018-02-17 11:32:05 +01:00
.main div.note {
margin: 20px 0;
padding: 20px;
background: #fafafa;
font-size: 0.9em;
}
.main div.note div.title {
color: #e6522c;
text-transform: uppercase;
}
pre, pre code {
font-size: 14px !important;
}
pre, code {
font-family: "Courier New", "Liberation Mono",Courier,monospace;
}
pre {
background: #f8f8f8 none repeat scroll 0 0;
border: 1px solid #e7e9ee;
color: #4d4d4c;
line-height: 21px;
margin-bottom: 20px;
overflow-wrap: break-word;
padding: 10px 10px;
}
pre, code {
white-space: pre-wrap;
}
code, kbd, pre, samp {
font-family: monospace,monospace;
font-size: 1em;
}
pre {
overflow: auto;
}
code {
background: #f8f8f8;
padding: 4px;
font-size: 14px !important;
}
2018-02-18 20:30:46 +01:00
table {
empty-cells: show;
border: 1px solid #cbcbcb;
width: 100%;
font-size: 0.9em;
}
thead {
background-color: #e0e0e0;
color: #000;
text-align: left;
vertical-align: bottom;
}
tr {
display: table-row;
vertical-align: inherit;
border-color: inherit;
}
th, td {
padding: 0.5em 1em;
}
2018-02-17 11:32:05 +01:00
/* Footer */
2018-02-18 20:30:46 +01:00
footer {
border-top: 1px solid #ccc;
padding: 10px;
margin: 10px 0;
font-size: 0.8em;
}
2018-02-17 11:32:05 +01:00
2018-02-08 00:20:00 +01:00
/* Sidebar */
.sidebar {
2018-02-17 11:32:05 +01:00
margin-top: 30px;
padding: 5px 20px 20px 7px;
font-size: .875rem;
}
.sidebar ul.nav {
margin-bottom: 20px;
2018-02-08 00:20:00 +01:00
}
2018-02-17 11:32:05 +01:00
.sidebar li.nav-item {
border-left: 1px solid #fafafa;
2018-02-08 00:20:00 +01:00
}
2018-02-17 11:32:05 +01:00
.sidebar li.nav-item-active {
border-left: 3px solid #ddd;
}
/* Navbar */