blessed-rs/static/index.css
2022-11-08 01:49:19 +00:00

200 lines
No EOL
3 KiB
CSS

* {
box-sizing: border-box;
}
body {
/*font-family: "fira sans", system-ui, Arial, Helvetica, sans-serif;*/
font-family: system-ui, Arial, Helvetica, sans-serif;
background-color: #FFF;
color: #333;
}
#main-container {
margin: 0;
padding: 0;
margin: 24px;
}
#left-sidebar {
width: 200px;
}
.toc {
position: sticky;
top: 24px;
}
.toc ul {
list-style: none;
padding: 0;
}
.toc li {
padding-left: 0;
margin: 6px 0px;
font-size: 1.1em;
}
.toc li > a {
color: #999;
text-decoration: none;
}
.toc li > ul {
/*display: none;*/
}
.toc > ul > li.active:not(.active ~ .active) > a {
color: #333;
text-decoration: none;
}
.toc > ul > li.active:not(.active ~ .active) > ul {
display: block;
}
.toc > ul > li.active:not(.active ~ .active) > ul > li.active:not(.active ~ .active) > a {
color: #333;
text-decoration: none;
}
.subtoc {
margin-left: 12px;
}
.subtoc li {
font-size: 0.8em;
}
#content {
max-width: 1200px;
margin-left: 24px;
}
#header {
border-bottom: 1px solid #CCC;
display: flex;
align-items: center;
background-color: #FFF;
background-color: #fef6f1;
}
.page-heading-group {
flex: 0 0 auto;
margin-top: -6px;
}
img.logo {
height: 120px;
}
h1.page-heading {
color: #333;
color: #4d4a45;
font-size: 3rem;
font-weight: normal;
margin: 0;
}
h2.page-subheading {
font-size: 1.5rem;
font-weight: normal;
margin: 0;
color: #666;
color: #77482d;
color: #644735;
}
.hflex {
display: flex;
flex-direction: row;
align-items: stretch;
justify-content: flex-start;
}
p.introduction {
color: #666;
}
p, li {
color: #333;
line-height: 1.35;
}
#content ul {
max-width: 800px;
padding-left: 48px;
}
#content li {
margin-bottom: 12px;
padding-left: 12px;
}
section {
margin-bottom: 24px;
}
h3 {
font-size: 1.8em;
font-weight: normal;
margin-bottom: 0;
}
h4 {
font-size: 1.4em;
font-weight: normal;
margin-bottom: 0;
margin-top: 0;
}
p.group-description {
color: #666;
margin-top: 0;
}
a, a:hover, a:visited, a:active {
color: #3298dc
}
table {
border-collapse: collapse;
/* border: 1px solid #f9f9f9; */
}
.full-width {
width: 100%;
}
.fixed-layout {
table-layout: fixed;
}
.use-case-column {
width: 250px;
}
table th {
padding: 6px 18px 6px 6px;
border: 1px solid #CCC;
text-align: left;
font-size: 0.8em;
white-space: nowrap;
color: #333;
}
table td {
padding: 6px 6px;
border: 1px solid #CCC;
font-size: 14px;
}
table tbody:nth-of-type(odd) {
background-color: #f6f8fa;
}
table tbody:nth-of-type(even) {
background-color: #FFF;
}
@media screen and (max-width: 800px) {
#main-container { margin: 0 12px; }
#left-sidebar { display: none; }
#content { margin-left: 0; }
img.logo { height: 70px }
h1.page-heading { font-size: 2rem }
h2.page-subheading { font-size: 1rem }
h3 { margin-top: 14px }
.use-case-column { width: 100px; }
}