Files
clear-linux-documentation/zh_CN/_static/tcs_theme.css
Kevin Putnam 319727628b First commit
Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
2019-07-29 14:35:12 -07:00

274 lines
4.9 KiB
CSS

/* -- Extra CSS styles for content (RTD theme) ----------------------- */
/* make the page width fill the window */
.wy-nav-content {
max-width: none;
}
.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;
box-shadow: none;
border: 0;
outline: 0;
background: transparent;
border-bottom: 1px solid black;
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;
}
.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;
}
#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.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;
}
/*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;
}