Files
clear-linux-documentation/zh_CN/_static/tcs_theme.css
2024-11-04 18:48:51 +00:00

483 lines
9.8 KiB
CSS

/* -- Extra CSS styles for content (RTD theme) ----------------------- */
/* make the page width fill the window */
.wy-nav-content {
max-width: none;
background: linear-gradient(white 58px, #f2f4f5 58px 100%);
padding-top: 10px;
}
.wy-nav-content-wrap .wy-nav-content {
padding-top: 10px;
}
.wy-nav-side {
background: #007ab2;
}
/* (temporarily) add an under development tagline to the bread crumb
.wy-breadcrumbs::after {
content: " (Content under development)";
background-color: #FFFACD;
color: red;
font-weight: bold;
}
*/
/* code block highlight color in rtd changed to lime green, no no no */
.rst-content tt.literal, .rst-content code.literal, .highlight {
background: #f0f0f0;
}
.rst-content tt.literal, .rst-content code.literal {
color: #000000;
}
/* Make the version number more visible */
.wy-side-nav-search>div.version {
color: rgba(255,255,255,1);
}
.wy-side-nav-search input[type=text] {
border-radius: 0px;
padding: 0px 0px;
padding-left: 20px;
box-shadow: none;
border: 0;
outline: 0;
background: transparent;
border-bottom: 1px solid white;
color: white;
}
::placeholder {
color: white;
}
/* squish the space between a paragraph before a list */
div > p + ul, div > p + ol {
margin-top: -20px;
}
/* add some space before the figure caption */
p.caption {
border-top: 1px solid;
margin-top: 1em;
}
/* add a colon after the figure/table number (before the caption) */
span.caption-number::after {
content: ": ";
}
p.extrafooter {
text-align: right;
margin-top: -36px;
}
table.align-center {
display: table !important;
}
.code-block-caption {
color: #000;
font: italic 85%/1 arial,sans-serif;
padding: 1em 0;
text-align: center;
}
/* make .. hlist:: tables fill the page */
table.hlist {
width: 95% !important;
}
/* override rtd theme white-space no-wrap in table heading and content */
th,td {
white-space: normal !important;
}
/* tweak for doxygen-generated API headings (for RTD theme) */
.rst-content dl.group>dt, .rst-content dl.group>dd>p {
display:none !important;
}
.rst-content dl.group {
margin: 0 0 12px 0px;
}
.rst-content dl.group>dd {
margin-left: 0 !important;
}
.rst-content p.breathe-sectiondef-title {
text-decoration: underline; /* for API sub-headings */
font-size: 1.25rem;
font-weight: bold;
margin-bottom: 12px;
}
.rst-content div.breathe-sectiondef {
padding-left: 0 !important;
}
/*Begin support for collapsbile sections*/
.clps1 {
font-size: 175%;
}
.clps2 {
font-size: 150%;
}
.clps3 {
font-size: 125%;
}
.clps4 {
font-size: 115%;
}
.clps5 {
font-size: 110%;
}
.clps6 {
font-size: 100%;
}
.collapsible {
margin-left: -10px;
background-color: #f1f1f1;
cursor: pointer;
padding: 18px 18px 18px 10px;
width: 100%;
border: none;
text-align: left;
outline: none;
font-weight: 700;
font-family: "Roboto Slab","ff-tisa-web-pro","Georgia",Arial,sans-serif;
}
.collapsible:hover {
background-color: #d8d8d8;
}
.collapsible:after {
content: '\002B';
font-weight: bold;
float: right;
margin-left: 5px;
}
.active:after {
content: "\2212";
}
.content-collapse {
overflow: hidden;
transition: max-height 0.2s ease-out;
}
/*Fix for permalinks to collapsible sections*/
button a.headerlink {
visibility: hidden;
}
button a.headerlink:after {
content: "\f0c1";
font-size: 14px;
font-family: FontAwesome;
font-weight: normal;
}
button:hover a.headerlink:after {
visibility: visible;
}
/*End support for collapsbile sections*/
/*Begin support for custom Clear Linux header*/
#header {
width: 100%;
display: block;
font-family: "IntelClear-Regular", Helvetica, Arial, sans-serif;
font-size: 16px;
}
.padding-md--left-right {
padding-left: 2.6%;
padding-right: 2.6%;
display: flex;
justify-content: space-between;
}
.header__site_info {
display: inline-block;
}
.header__site_img_object {
height: 50px;
}
.header__site_info_name {
vertical-align: middle;
display: inline-block;
height: 50px
}
#header__site_info_name a:link {
color: black;
}
#header__site_info_name a:visited {
color: black;
}
.header__menu {
text-align: right;
display: inline-block;
}
.header__menu_list li {
display: inline;
margin-left: 20px;
}
.header__menu_list li a {
color: black;
}
.header__menu_list_item {
display: inline;
position: relative;
margin-bottom: 0;
margin-left: 0;
min-width: 1px;
max-width: 100%;
padding: 0;
text-align: left;
/*top: 35px;*/
}
.header__menu_list_item.yellow > a::before {
color: #ffdf4d;
}
.header__menu_list_item.green > a::before {
color: #009B93;
}
.header__menu_list_item.purple > a::before {
color: #6E4C9F;
}
.header__menu_list_item.blue > a::before {
color: #358CCB;
}
.header__menu_list_item > a::before {
content: '•';
font-size: 35px;
margin-right: 10px;
position: relative;
top: 5px;
left: 5px;
}
.header__banner {
width: 120%;
margin-left: -3.236em;
background-image: url(https://stg.clearlinux.org/sites/default/files/bg_developer_0.png);
}
.header__banner_title {
display: block;
color: white;
font-size: 36px;
font-family: "IntelClear-Bold", Helvetica, Arial, sans-serif;
margin-left: 0.67em;
line-height: 100px;
}
/*End support for custom Clear Linux header*/
/*Adds a bit of spacing after the last paragraph in a bulleted list*/
.wy-plain-list-disc li p:last-child, .rst-content .section ul li p:last-child, .rst-content .toctree-wrapper ul li p:last-child, article ul li p:last-child {
margin-bottom: 10px;
}
div.admonition ul {
margin-top: 20px;
}
div#trademarks {
color: gray;
}
/*Adds magnifying glass to search box*/
#clear-docs-search {
background: url(./mag-glass.png) left no-repeat;
background-size: 15px 15px;
}
.active-status {
color:#358ccb;
}
.wip-status {
color:#59ca6b;
}
.deprecated-status {
color:#f94f24;
}
.pending-delete-status {
color:#ce2029;
}
/*Begin support for code blocks with $ signs that aren't copied with content*/
.bash-dollar:before {
content: '$ ';
}
/*End support for code blocks with $ signs that aren't copied with content*/
/*Begin support for labeled code-blocks - need to add an entry for every type of code-block that needs to be labeled*/
div.highlight-powershell .highlight:before{
background: #909090;
color: white;
content: " PowerShell ";
font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;
font-size: 14px;
white-space: pre;
}
div.highlight-python .highlight:before{
background: #909090;
color: white;
content: " Python ";
font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;
font-size: 14px;
white-space: pre;
}
div.highlight-console .highlight:before{
background: #909090;
color: white;
content: " Console ";
font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;
font-size: 14px;
white-space: pre;
}
div.highlight-rst .highlight:before{
background: #909090;
color: white;
content: " reStructuredText ";
font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;
font-size: 14px;
white-space: pre;
}
div.highlight-rest .highlight:before{
background: #909090;
color: white;
content: " reStructuredText ";
font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;
font-size: 14px;
white-space: pre;
}
div.highlight-yaml .highlight:before{
background: #909090;
color: white;
content: " yaml ";
font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;
font-size: 14px;
white-space: pre;
}
div.highlight-bash .highlight:before{
background: #909090;
color: white;
content: " bash ";
font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;
font-size: 14px;
white-space: pre;
}
div.highlight-diff .highlight:before{
background: #909090;
color: white;
content: " Diff ";
font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;
font-size: 14px;
white-space: pre;
}
div.highlight-c .highlight:before{
background: #909090;
color: white;
content: " c ";
font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;
font-size: 14px;
white-space: pre;
}
div.highlight-json .highlight:before{
background: #909090;
color: white;
content: " json ";
font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;
font-size: 14px;
white-space: pre;
}
div.highlight-spec .highlight:before{
background: #909090;
color: white;
content: " spec ";
font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;
font-size: 14px;
white-space: pre;
}
div.highlight-perl .highlight:before{
background: #909090;
color: white;
content: " Perl ";
font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;
font-size: 14px;
white-space: pre;
}
div.highlight-php .highlight:before{
background: #909090;
color: white;
content: " php ";
font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;
font-size: 14px;
white-space: pre;
}
div.highlight-xml .highlight:before{
background: #909090;
color: white;
content: " xml ";
font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;
font-size: 14px;
white-space: pre;
}
div.linenodiv:before { /*add extra new line to make sure code and line numbers align*/
content: '\00000a';
white-space: pre;
}
/*End support for labeled code-blocks*/