docs: package update
This commit is contained in:
parent
0f63e3ed43
commit
6c6a97afa2
6 changed files with 45 additions and 8 deletions
265
resources/src/scss/styles.scss
Normal file
265
resources/src/scss/styles.scss
Normal file
|
|
@ -0,0 +1,265 @@
|
|||
$primary-color: rgb(75, 143, 210);
|
||||
@import "node_modules/spectre.css/src/spectre";
|
||||
|
||||
|
||||
body {
|
||||
color: #333;
|
||||
font-family: Helvetica,Arial,sans-serif;
|
||||
font-size: 15px;
|
||||
line-height: 1.4;
|
||||
background-color: #fff;
|
||||
overflow-y: scroll;
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.wrap {
|
||||
max-width: 1110px;
|
||||
}
|
||||
@media (max-width: 570px){
|
||||
.wrap, .full-width {
|
||||
min-width: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.wrap {
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
padding: 0 8px;
|
||||
}
|
||||
.d-header>.wrap {
|
||||
width: calc(100% - 16px);
|
||||
height: 100%;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
|
||||
.d-header {
|
||||
left: 0;
|
||||
height: 4em;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.d-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
z-index: 1000;
|
||||
background-color: #3c4c68;
|
||||
box-shadow: 0 2px 4px -1px rgba(0,0,0,0.25);
|
||||
}
|
||||
|
||||
.d-header>.wrap .contents {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.wrap .contents {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.d-header .title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.d-header .title img {
|
||||
height: 2.57em;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
|
||||
.d-header .header-buttons-panel {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex: 0 0 auto;
|
||||
margin-left: auto;
|
||||
align-items: center;
|
||||
}
|
||||
.d-header .header-buttons {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 0.2em;
|
||||
}
|
||||
|
||||
.d-header .header-buttons a {
|
||||
padding: 6px 10px;
|
||||
color: #fff;
|
||||
font-size: 1.1487em;
|
||||
}
|
||||
|
||||
.d-header .header-buttons a {
|
||||
opacity: 0.5;
|
||||
transition: opacity .25s;
|
||||
text-decoration: none;
|
||||
}
|
||||
.d-header .header-buttons a:hover {
|
||||
opacity: 0.75;
|
||||
}
|
||||
.d-header .header-buttons a.active {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
|
||||
|
||||
#jumbotron {
|
||||
text-align: center;
|
||||
position: relative;
|
||||
padding: 8em 0 6em;
|
||||
}
|
||||
#jumbotron .bg {
|
||||
position: absolute;
|
||||
top:0px;left:0px;right:0px;bottom:0px;
|
||||
background-size: cover;
|
||||
z-index: -1;
|
||||
opacity: 0.5;
|
||||
/* filter: blur(5px); */
|
||||
|
||||
}
|
||||
|
||||
#jumbotron-img {
|
||||
/* width: 50%; */
|
||||
display: block;
|
||||
margin: -4em auto 1em;
|
||||
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.5);
|
||||
z-index: 1;
|
||||
position: relative;
|
||||
image-rendering: crisp-edges;
|
||||
-webkit-image-rendering: crisp-edges;
|
||||
}
|
||||
|
||||
#jumbotron + #main {
|
||||
padding-top: 2em;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
|
||||
#main {
|
||||
padding-top: 5.8572em;
|
||||
padding-bottom: 4em;
|
||||
display: flex;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.col-left {
|
||||
width:240px;
|
||||
}
|
||||
.col-left > ul {
|
||||
top: 5.8572em;
|
||||
width: 230px;
|
||||
position: fixed;
|
||||
overflow-y: auto;
|
||||
bottom: 0;
|
||||
padding-left: 2px;
|
||||
}
|
||||
.col-left > ul ul {
|
||||
line-height: 1
|
||||
}
|
||||
.col-right {
|
||||
flex: 1
|
||||
}
|
||||
|
||||
#main img {
|
||||
max-width: 100%;
|
||||
border-radius: 3px;
|
||||
/* box-shadow: 0 2px 8px 0 rgba(0,0,0,0.5); */
|
||||
}
|
||||
|
||||
.codehilite {
|
||||
background-color: #fafafa;
|
||||
color: #37474f;
|
||||
line-height: 1em;
|
||||
}
|
||||
|
||||
.codehilite pre {
|
||||
padding: 12px;
|
||||
white-space: pre;
|
||||
font-feature-settings: "kern";
|
||||
/* font-family: "Roboto Mono","Courier New",Courier,monospace; */
|
||||
direction: ltr;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
table {
|
||||
border: 1px solid #eee;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
font-size: 100%;
|
||||
font: inherit;
|
||||
margin: 0 0 1.2rem;
|
||||
}
|
||||
|
||||
table tr:nth-child(2n +1) {
|
||||
background-color: #f8f8f8;
|
||||
}
|
||||
|
||||
table td {
|
||||
padding: 10px;
|
||||
}
|
||||
table h4 {
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
table th {
|
||||
font-weight: bold;
|
||||
background-color: #888;
|
||||
color: #fff;
|
||||
vertical-align: top;
|
||||
text-align: left;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
code, tt {
|
||||
padding: 0 5px;
|
||||
white-space: nowrap;
|
||||
border: 1px solid #eaeaea;
|
||||
border-radius: 3px;
|
||||
background-color: #f8f8f8;
|
||||
color: #333333; }
|
||||
|
||||
|
||||
code {
|
||||
background-color: #fafafa;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
table code {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
table .thead2 {
|
||||
background: #ddd!important;
|
||||
color: #666;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
|
||||
.headerlink {
|
||||
font-size:50%;
|
||||
opacity: 0.25;
|
||||
vertical-align: super;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
h1:first-child {
|
||||
margin-top:0;
|
||||
}
|
||||
|
||||
#mkdocs-search-query {
|
||||
/* border: 1px solid rgba(255,255,255,.1); */
|
||||
border:0;
|
||||
box-shadow: 0 -2px 10px 0 rgba(0,0,0,0.1) inset;
|
||||
background:rgba(0,0,0,0.15);
|
||||
border-radius: 15px;
|
||||
color: #eee;
|
||||
outline: none;
|
||||
padding:6px 12px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue