Files
cibuildwheel/docs/extra.css
T
2021-04-23 11:05:27 +01:00

149 lines
2.7 KiB
CSS

/* Global styles */
p {
margin-bottom: 12px;
line-height: 26px;
}
code {
font-size: 85%;
background-color: rgba(27,31,35,.05);
border-radius: 3px;
padding: .15em .4em;
color: inherit;
border: none;
margin: 0 1px;
}
code, pre, tt {
font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
}
.hljs {
padding: 1em;
background-color: #f6f8fa;
}
h1, h2, h3, h4, h5, h6 {
margin-top: 2em;
border-bottom: 1px solid #e1e4e5;
margin-bottom: 0.8em;
padding-bottom: 0.2em;
}
.rst-content blockquote {
margin-bottom: 14px;
}
.rst-content th {
white-space: normal;
}
/*
Code block filename style
Use by putting a quote before a code block e.g.
> filename.txt
```
code here
```
JS adds the relevant classes to make the following selectors work.
*/
.rst-content .code-block-filename {
margin: 0;
padding: 2px 1em;
background-color: #eff1f3;
font-size: 85%;
font-weight: bold;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
border-bottom: 1px solid #e6e8e9;
color: #444;
}
.rst-content .code-block-filename * {
font-size: inherit;
}
.rst-content .code-block-filename :last-child {
margin-bottom: 0;
}
.code-block-filename + pre {
margin-top: 0;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.code-block-filename + pre code {
padding-top: 0.9em;
}
.toctree-l3 {
border-left: 10px solid transparent;
}
/* import font awesome 4 for icons */
@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css);
/* Tabs */
/* Style the tab */
.tabs {
margin-bottom: 1em;
-webkit-font-smoothing: antialiased;
}
.tabs-header {
background-color: white;
display: flex;
justify-content: flex-start;
border-bottom: 2px solid #ccc;
}
/* Style the buttons that are used to open the tab content */
.tabs-header button {
background-color: transparent;
border: none;
outline: none;
cursor: pointer;
color: inherit;
font: inherit;
font-size: 0.9em;
font-weight: 600;
padding: 8px 16px;
border-bottom: 2px solid transparent;
/* put the border on top of the parent border */
margin-bottom: -2px;
}
.tabs-header button:focus-visible {
/* preserve an outline for accesibility purposes */
outline: 1px solid currentColor;
}
/* Change background color of buttons on hover */
.tabs-header button:hover {
background-color: rgba(0, 0, 0, 0.02);
}
/* Create an active/current tablink class */
.tabs-header button.active {
color: #4086bd;
border-bottom-color: currentColor;
}
/* Style the tab content */
.tabs-content {
background-color: #f1f6fa;
padding: 1px 1em;
padding-top: 0.8em;
}