You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2020/07/25 12:52:52 UTC
[shardingsphere] branch master updated: update css styles by cayman
(#6437)
This is an automated email from the ASF dual-hosted git repository.
zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new fe0d244 update css styles by cayman (#6437)
fe0d244 is described below
commit fe0d2440e7a6694502ae061b9d34e286418a9ff8
Author: CaymanHK <55...@users.noreply.github.com>
AuthorDate: Sat Jul 25 20:52:33 2020 +0800
update css styles by cayman (#6437)
---
docs/blog/static/css/theme-black.css | 429 ++++++++++++++---
.../themes/hugo-theme-learn/static/css/nucleus.css | 524 ++++++++++++++-------
docs/community/static/css/theme-black.css | 429 ++++++++++++++---
.../themes/hugo-theme-learn/static/css/nucleus.css | 524 ++++++++++++++-------
docs/document/static/css/theme-black.css | 433 ++++++++++++++---
.../themes/hugo-theme-learn/static/css/nucleus.css | 3 +-
6 files changed, 1828 insertions(+), 514 deletions(-)
diff --git a/docs/blog/static/css/theme-black.css b/docs/blog/static/css/theme-black.css
index 748ab1d..0505a22 100644
--- a/docs/blog/static/css/theme-black.css
+++ b/docs/blog/static/css/theme-black.css
@@ -1,5 +1,7 @@
@charset "UTF-8";
-#top-github-link, #body #breadcrumbs {
+
+#top-github-link,
+#body #breadcrumbs {
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
@@ -8,13 +10,18 @@
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
-.button, .button-secondary {
+
+.button,
+.button-secondary {
display: inline-block;
padding: 7px 12px;
}
-.button:active, .button-secondary:active {
+
+.button:active,
+.button-secondary:active {
margin: 2px 0 -2px 0;
}
+
@font-face {
font-family: 'Novacento Sans Wide';
src: url("../fonts/Novecentosanswide-UltraLight-webfont.eot");
@@ -22,82 +29,158 @@
font-style: normal;
font-weight: 200;
}
+
@font-face {
font-family: 'Work Sans';
font-style: normal;
font-weight: 300;
src: url("../fonts/Work_Sans_300.eot?#iefix") format("embedded-opentype"), url("../fonts/Work_Sans_300.woff") format("woff"), url("../fonts/Work_Sans_300.woff2") format("woff2"), url("../fonts/Work_Sans_300.svg#WorkSans") format("svg"), url("../fonts/Work_Sans_300.ttf") format("truetype");
}
+
@font-face {
font-family: 'Work Sans';
font-style: normal;
font-weight: 500;
src: url("../fonts/Work_Sans_500.eot?#iefix") format("embedded-opentype"), url("../fonts/Work_Sans_500.woff") format("woff"), url("../fonts/Work_Sans_500.woff2") format("woff2"), url("../fonts/Work_Sans_500.svg#WorkSans") format("svg"), url("../fonts/Work_Sans_500.ttf") format("truetype");
}
+
body {
background: #fff;
color: #777;
}
+
body #chapter h1 {
font-size: 3.5rem;
}
+
@media only all and (min-width: 48em) and (max-width: 59.938em) {
body #chapter h1 {
font-size: 3rem;
}
}
+
@media only all and (max-width: 47.938em) {
body #chapter h1 {
font-size: 2rem;
}
}
+
a {
/* color: #00bdf3; */
- color: rgba(197, 43, 0, 0.77);
+ color: rgba(15, 88, 163, 1);
}
+
a:hover {
- color: #0082a7;
+ /* color: #0082a7; */
+ color: #0a4f90;
}
+
pre {
position: relative;
color: #ffffff;
}
+
.bg {
background: #fff;
border: 1px solid #eaeaea;
}
-b, strong, label, th {
+
+b,
+strong,
+label,
+th {
font-weight: 600;
}
-.default-animation, #header #logo-svg, #header #logo-svg path, #sidebar, #sidebar ul, #body, #body .padding, #body .nav {
+
+.default-animation,
+#header #logo-svg,
+#header #logo-svg path,
+#sidebar,
+#sidebar ul,
+#body,
+#body .padding,
+#body .nav {
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease;
}
+
#grav-logo {
max-width: 60%;
}
+
#grav-logo path {
fill: #fff !important;
}
+
#sidebar {
font-weight: 300 !important;
}
+
fieldset {
border: 1px solid #ddd;
}
-textarea, input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], input[type="color"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="time"], input[type="week"], select[multiple=multiple] {
+
+textarea,
+input[type="email"],
+input[type="number"],
+input[type="password"],
+input[type="search"],
+input[type="tel"],
+input[type="text"],
+input[type="url"],
+input[type="color"],
+input[type="date"],
+input[type="datetime"],
+input[type="datetime-local"],
+input[type="month"],
+input[type="time"],
+input[type="week"],
+select[multiple=multiple] {
background-color: white;
border: 1px solid #ddd;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
}
-textarea:hover, input[type="email"]:hover, input[type="number"]:hover, input[type="password"]:hover, input[type="search"]:hover, input[type="tel"]:hover, input[type="text"]:hover, input[type="url"]:hover, input[type="color"]:hover, input[type="date"]:hover, input[type="datetime"]:hover, input[type="datetime-local"]:hover, input[type="month"]:hover, input[type="time"]:hover, input[type="week"]:hover, select[multiple=multiple]:hover {
+
+textarea:hover,
+input[type="email"]:hover,
+input[type="number"]:hover,
+input[type="password"]:hover,
+input[type="search"]:hover,
+input[type="tel"]:hover,
+input[type="text"]:hover,
+input[type="url"]:hover,
+input[type="color"]:hover,
+input[type="date"]:hover,
+input[type="datetime"]:hover,
+input[type="datetime-local"]:hover,
+input[type="month"]:hover,
+input[type="time"]:hover,
+input[type="week"]:hover,
+select[multiple=multiple]:hover {
border-color: #c4c4c4;
}
-textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="text"]:focus, input[type="url"]:focus, input[type="color"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, select[multiple=multiple]:focus {
+
+textarea:focus,
+input[type="email"]:focus,
+input[type="number"]:focus,
+input[type="password"]:focus,
+input[type="search"]:focus,
+input[type="tel"]:focus,
+input[type="text"]:focus,
+input[type="url"]:focus,
+input[type="color"]:focus,
+input[type="date"]:focus,
+input[type="datetime"]:focus,
+input[type="datetime-local"]:focus,
+input[type="month"]:focus,
+input[type="time"]:focus,
+input[type="week"]:focus,
+select[multiple=multiple]:focus {
border-color: #00bdf3;
- box-shadow: inset 0 1px 3px rgba(0,0,0,.06),0 0 5px rgba(0,169,218,.7)
+ box-shadow: inset 0 1px 3px rgba(0, 0, 0, .06), 0 0 5px rgba(0, 169, 218, .7)
}
+
#header-wrapper {
background: black;
border-color: black;
@@ -105,16 +188,20 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
border-bottom: 4px solid black;
padding: 1rem;
}
+
#header a {
display: inline-block;
}
+
#header #logo-svg {
width: 8rem;
height: 2rem;
}
+
#header #logo-svg path {
fill: #fff;
}
+
.searchbox {
margin-top: 1rem;
position: relative;
@@ -122,12 +209,14 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
background: #322A38;
border-radius: 4px;
}
+
.searchbox label {
color: rgba(255, 255, 255, 0.8);
position: absolute;
left: 10px;
top: 3px;
}
+
.searchbox span {
color: rgba(255, 255, 255, 0.6);
position: absolute;
@@ -135,9 +224,11 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
top: 3px;
cursor: pointer;
}
+
.searchbox span:hover {
color: rgba(255, 255, 255, 0.9);
}
+
.searchbox input {
display: inline-block;
color: #fff;
@@ -149,28 +240,36 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
margin: 0;
font-weight: 300;
}
+
.searchbox input::-webkit-input-placeholder {
color: rgba(255, 255, 255, 0.6);
}
+
.searchbox input::-moz-placeholder {
color: rgba(255, 255, 255, 0.6);
}
+
.searchbox input:-moz-placeholder {
color: rgba(255, 255, 255, 0.6);
}
+
.searchbox input:-ms-input-placeholder {
color: rgba(255, 255, 255, 0.6);
}
+
#sidebar-toggle-span {
display: none;
}
+
@media only all and (max-width: 47.938em) {
#sidebar-toggle-span {
display: inline;
}
}
+
#sidebar {
- background-color: #322A38;
+ /* background-color: #322A38; */
+ background-color: rgba(2, 30, 62, 0.95);
position: fixed;
top: 0;
width: 300px;
@@ -179,26 +278,33 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
font-weight: 400;
font-size: 15px;
}
+
#sidebar a {
color: #ccc;
}
+
#sidebar a:hover {
color: #e6e6e6;
}
+
#sidebar a.subtitle {
color: rgba(204, 204, 204, 0.6);
}
+
#sidebar hr {
border-bottom: 1px solid #2a232f;
}
+
#sidebar a.padding {
padding: 0 1rem;
}
+
#sidebar h5 {
margin: 2rem 0 0;
position: relative;
line-height: 2;
}
+
#sidebar h5 a {
display: block;
margin-left: 0;
@@ -206,6 +312,7 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
padding-left: 1rem;
padding-right: 1rem;
}
+
#sidebar h5 i {
color: rgba(204, 204, 204, 0.6);
position: absolute;
@@ -213,73 +320,96 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
top: 0.7rem;
font-size: 80%;
}
+
#sidebar h5.parent a {
background: #201b24;
color: #d9d9d9 !important;
}
+
#sidebar h5.active a {
background: #fff;
color: #777 !important;
}
+
#sidebar h5.active i {
color: #777 !important;
}
-#sidebar h5 + ul.topics {
+
+#sidebar h5+ul.topics {
display: none;
margin-top: 0;
}
-#sidebar h5.parent + ul.topics, #sidebar h5.active + ul.topics {
+
+#sidebar h5.parent+ul.topics,
+#sidebar h5.active+ul.topics {
display: block;
}
+
#sidebar ul {
list-style: none;
padding: 0;
margin: 0;
}
+
#sidebar ul.searched a {
color: #999999;
}
+
#sidebar ul.searched .search-match a {
color: #e6e6e6;
}
+
#sidebar ul.searched .search-match a:hover {
color: white;
}
+
#sidebar ul.topics {
margin: 0 1rem;
}
+
#sidebar ul.topics.searched ul {
display: block;
}
+
#sidebar ul.topics ul {
display: none;
padding-bottom: 1rem;
}
+
#sidebar ul.topics ul ul {
padding-bottom: 0;
}
-#sidebar ul.topics li.parent ul, #sidebar ul.topics > li.active ul {
+
+#sidebar ul.topics li.parent ul,
+#sidebar ul.topics>li.active ul {
display: block;
}
-#sidebar ul.topics > li > a {
+
+#sidebar ul.topics>li>a {
line-height: 2rem;
font-size: 1.1rem;
}
-#sidebar ul.topics > li > a b {
+
+#sidebar ul.topics>li>a b {
opacity: 0.5;
font-weight: normal;
}
-#sidebar ul.topics > li > a .fa {
+
+#sidebar ul.topics>li>a .fa {
margin-top: 9px;
}
-#sidebar ul.topics > li.parent, #sidebar ul.topics > li.active {
- background: #251f29;
+
+#sidebar ul.topics>li.parent,
+#sidebar ul.topics>li.active {
+ /* background: #251f29; */
+ background: rgba(88, 100, 120, 0.41);
margin-left: -1rem;
margin-right: -1rem;
padding-left: 1rem;
padding-right: 1rem;
}
-#sidebar ul li.active > a {
+
+#sidebar ul li.active>a {
background: #fff;
color: #777 !important;
margin-left: -1rem;
@@ -287,81 +417,104 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
padding-left: 1rem;
padding-right: 1rem;
}
+
#sidebar ul li {
padding: 0;
}
-#sidebar ul li.visited + span {
+
+#sidebar ul li.visited+span {
margin-right: 16px;
}
+
#sidebar ul li a {
display: block;
padding: 2px 0;
}
+
#sidebar ul li a span {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
display: block;
}
-#sidebar ul li > a {
+
+#sidebar ul li>a {
padding: 4px 0;
}
-#sidebar ul li.visited > a .read-icon {
+
+#sidebar ul li.visited>a .read-icon {
color: #9c6fb6;
display: inline;
}
+
#sidebar ul li li {
padding-left: 1rem;
text-indent: 0.2rem;
}
+
#main {
background: #f7f7f7;
margin: 0 0 1.563rem 0;
}
+
#body {
position: relative;
margin-left: 300px;
min-height: 100%;
}
-#body img, #body .video-container {
+
+#body img,
+#body .video-container {
margin: auto;
text-align: left;
display: inherit;
- max-width: 100%; /* set img size */
+ max-width: 100%;
+ /* set img size */
}
-#body img.border, #body .video-container.border {
+
+#body img.border,
+#body .video-container.border {
border: 2px solid #e6e6e6 !important;
padding: 2px;
}
-#body img.shadow, #body .video-container.shadow {
+
+#body img.shadow,
+#body .video-container.shadow {
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
+
#body img.inline {
display: inline !important;
margin: 0 !important;
vertical-align: bottom;
}
+
#body .bordered {
border: 1px solid #ccc;
}
+
#body .padding {
padding: 3rem 6rem;
}
+
@media only all and (max-width: 59.938em) {
#body .padding {
position: static;
padding: 15px 3rem;
}
}
+
@media only all and (max-width: 47.938em) {
#body .padding {
padding: 5px 1rem;
}
}
-#body h1 + hr {
+
+#body h1+hr {
margin-top: -1.7rem;
margin-bottom: 3rem;
}
+
@media only all and (max-width: 59.938em) {
#body #navigation {
position: static;
@@ -370,6 +523,7 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
display: table;
}
}
+
#body .nav {
position: fixed;
top: 0;
@@ -381,11 +535,13 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
display: table;
text-align: center;
}
-#body .nav > i {
+
+#body .nav>i {
display: table-cell;
vertical-align: middle;
text-align: center;
}
+
@media only all and (max-width: 59.938em) {
#body .nav {
display: table-cell;
@@ -397,22 +553,28 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
line-height: 100px;
padding-top: 0;
}
- #body .nav > i {
+
+ #body .nav>i {
display: inline-block;
}
}
+
#body .nav:hover {
background: #F6F6F6;
}
+
#body .nav.nav-pref {
left: 0;
}
+
#body .nav.nav-next {
right: 0;
}
+
#body-inner {
margin-bottom: 5rem;
}
+
#chapter {
display: flex;
align-items: center;
@@ -420,30 +582,37 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
height: 100%;
padding: 2rem 0;
}
+
#chapter #body-inner {
padding-bottom: 3rem;
max-width: 80%;
}
+
#chapter h3 {
font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
font-weight: 300;
text-align: center;
}
+
#chapter h1 {
font-size: 5rem;
border-bottom: 4px solid #F0F2F4;
}
+
#chapter p {
text-align: left;
}
+
#footer {
padding: 3rem 1rem;
color: #b3b3b3;
font-size: 13px;
}
+
#footer p {
margin: 0;
}
+
body {
font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
font-weight: 300;
@@ -451,13 +620,19 @@ body {
/* font-size: 18px !important; */
font-size: 16px !important;
}
-h2, h3, h4, h5, h6 {
+
+h2,
+h3,
+h4,
+h5,
+h6 {
font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
text-rendering: optimizeLegibility;
color: #5e5e5e;
font-weight: 400;
letter-spacing: -1px;
}
+
h1 {
font-family: "Novacento Sans Wide", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
text-align: center;
@@ -465,23 +640,28 @@ h1 {
color: #222;
font-weight: 200;
}
+
blockquote {
border-left: 10px solid #F0F2F4;
}
+
blockquote p {
font-size: 1.1rem;
color: #999;
}
+
blockquote cite {
display: block;
text-align: right;
color: #666;
font-size: 1.2rem;
}
+
div.notices {
margin: 2rem 0;
position: relative;
}
+
div.notices p {
padding: 15px;
display: block;
@@ -490,6 +670,7 @@ div.notices p {
margin-bottom: 0rem;
color: #666;
}
+
div.notices p:first-child:before {
position: absolute;
top: 2px;
@@ -498,37 +679,46 @@ div.notices p:first-child:before {
content: '';
left: 10px;
}
+
div.notices p:first-child:after {
position: absolute;
top: 2px;
color: #fff;
left: 2rem;
}
+
div.notices.info p {
border-top: 30px solid #F0B37E;
background: #FFF2DB;
}
+
div.notices.info p:first-child:after {
content: 'Info';
}
+
div.notices.warning p {
border-top: 30px solid rgba(217, 83, 79, 0.8);
background: #FAE2E2;
}
+
div.notices.warning p:first-child:after {
content: 'Warning';
}
+
div.notices.note p {
border-top: 30px solid #6AB0DE;
background: #E7F2FA;
}
+
div.notices.note p:first-child:after {
content: 'Note';
}
+
div.notices.tip p {
border-top: 30px solid rgba(92, 184, 92, 0.8);
background: #E6F9E6;
}
+
div.notices.tip p:first-child:after {
content: 'Tip';
}
@@ -600,42 +790,52 @@ section.attachments.grey .attachments-files {
font-size: small;
margin-top: 0px;
padding-top: 0px;
- margin-bottom: 0px;
+ margin-bottom: 0px;
padding-bottom: 0px;
}
+
.children-li p {
font-size: small;
font-style: italic;
}
-.children-h2 p, .children-h3 p {
+
+.children-h2 p,
+.children-h3 p {
font-size: small;
margin-top: 0px;
padding-top: 0px;
- margin-bottom: 0px;
+ margin-bottom: 0px;
padding-bottom: 0px;
}
-.children h3,.children h2 {
+
+.children h3,
+.children h2 {
margin-bottom: 0px;
margin-top: 5px;
}
-code, kbd, pre, samp {
+code,
+kbd,
+pre,
+samp {
font-family: "Consolas", menlo, monospace;
font-size: 92%;
}
+
code {
border-radius: 2px;
white-space: nowrap;
color: #5e5e5e;
/* background: #FFF7DD; */
- background: rgba(244, 51, 12, 0.42);
+ background: rgba(40, 130, 209, 0.23);
border-radius: 0.5rem;
/* border: 1px solid #fbf0cb; */
/* padding: 0px 2px; */
padding: 0px 5px;
}
-code + .copy-to-clipboard {
+
+code+.copy-to-clipboard {
margin-left: -1px;
border-left: 0 !important;
font-size: inherit !important;
@@ -643,6 +843,7 @@ code + .copy-to-clipboard {
height: 21px;
top: 0;
}
+
pre {
padding: 1rem;
margin: 2rem 0;
@@ -651,6 +852,7 @@ pre {
border-radius: 2px;
line-height: 1.15;
}
+
pre code {
color: whitesmoke;
background: inherit;
@@ -660,9 +862,11 @@ pre code {
margin: 0;
font-size: 15px;
}
+
hr {
border-bottom: 4px solid #F0F2F4;
}
+
.page-title {
margin-top: -25px;
padding: 25px;
@@ -671,106 +875,132 @@ hr {
background: #9c6fb6;
color: #fff;
}
+
#body a.anchor-link {
color: #ccc;
}
+
#body a.anchor-link:hover {
color: #9c6fb6;
}
+
#body-inner .tabs-wrapper.ui-theme-badges {
background: #1d1f21;
}
+
#body-inner .tabs-wrapper.ui-theme-badges .tabs-nav li {
font-size: 0.9rem;
text-transform: uppercase;
}
+
#body-inner .tabs-wrapper.ui-theme-badges .tabs-nav li a {
background: #35393c;
}
+
#body-inner .tabs-wrapper.ui-theme-badges .tabs-nav li.current a {
background: #4d5257;
}
+
#body-inner pre {
white-space: pre-wrap;
}
+
.tabs-wrapper pre {
margin: 1rem 0;
border: 0;
padding: 0;
background: inherit;
}
+
table {
border: 1px solid #eaeaea;
table-layout: auto;
}
+
th {
background: #f7f7f7;
padding: 0.5rem;
}
+
td {
padding: 0.5rem;
border: 1px solid #eaeaea;
}
+
.button {
background: #9c6fb6;
color: #fff;
box-shadow: 0 3px 0 #00a5d4;
}
+
.button:hover {
background: #00a5d4;
box-shadow: 0 3px 0 #008db6;
color: #fff;
}
+
.button:active {
box-shadow: 0 1px 0 #008db6;
}
+
.button-secondary {
background: #F8B450;
color: #fff;
box-shadow: 0 3px 0 #f7a733;
}
+
.button-secondary:hover {
background: #f7a733;
box-shadow: 0 3px 0 #f69b15;
color: #fff;
}
+
.button-secondary:active {
box-shadow: 0 1px 0 #f69b15;
}
+
.bullets {
margin: 1.7rem 0;
margin-left: -0.85rem;
margin-right: -0.85rem;
overflow: auto;
}
+
.bullet {
float: left;
padding: 0 0.85rem;
}
+
.two-column-bullet {
width: 50%;
}
+
@media only all and (max-width: 47.938em) {
.two-column-bullet {
width: 100%;
}
}
+
.three-column-bullet {
width: 33.33333%;
}
+
@media only all and (max-width: 47.938em) {
.three-column-bullet {
width: 100%;
}
}
+
.four-column-bullet {
width: 25%;
}
+
@media only all and (max-width: 47.938em) {
.four-column-bullet {
width: 100%;
}
}
+
.bullet-icon {
float: left;
background: #9c6fb6;
@@ -782,21 +1012,27 @@ td {
font-size: 1.75rem;
text-align: center;
}
+
.bullet-icon-1 {
background: #9c6fb6;
}
+
.bullet-icon-2 {
background: #00f3d8;
}
+
.bullet-icon-3 {
background: #e6f300;
}
+
.bullet-content {
margin-left: 4.55rem;
}
+
.tooltipped {
position: relative;
}
+
.tooltipped:after {
position: absolute;
z-index: 1000000;
@@ -817,6 +1053,7 @@ td {
border-radius: 3px;
-webkit-font-smoothing: subpixel-antialiased;
}
+
.tooltipped:before {
position: absolute;
z-index: 1000001;
@@ -828,59 +1065,85 @@ td {
content: "";
border: 5px solid transparent;
}
-.tooltipped:hover:before, .tooltipped:hover:after, .tooltipped:active:before, .tooltipped:active:after, .tooltipped:focus:before, .tooltipped:focus:after {
+
+.tooltipped:hover:before,
+.tooltipped:hover:after,
+.tooltipped:active:before,
+.tooltipped:active:after,
+.tooltipped:focus:before,
+.tooltipped:focus:after {
display: inline-block;
text-decoration: none;
}
-.tooltipped-s:after, .tooltipped-se:after, .tooltipped-sw:after {
+
+.tooltipped-s:after,
+.tooltipped-se:after,
+.tooltipped-sw:after {
top: 100%;
right: 50%;
margin-top: 5px;
}
-.tooltipped-s:before, .tooltipped-se:before, .tooltipped-sw:before {
+
+.tooltipped-s:before,
+.tooltipped-se:before,
+.tooltipped-sw:before {
top: auto;
right: 50%;
bottom: -5px;
margin-right: -5px;
border-bottom-color: rgba(0, 0, 0, 0.8);
}
+
.tooltipped-se:after {
right: auto;
left: 50%;
margin-left: -15px;
}
+
.tooltipped-sw:after {
margin-right: -15px;
}
-.tooltipped-n:after, .tooltipped-ne:after, .tooltipped-nw:after {
+
+.tooltipped-n:after,
+.tooltipped-ne:after,
+.tooltipped-nw:after {
right: 50%;
bottom: 100%;
margin-bottom: 5px;
}
-.tooltipped-n:before, .tooltipped-ne:before, .tooltipped-nw:before {
+
+.tooltipped-n:before,
+.tooltipped-ne:before,
+.tooltipped-nw:before {
top: -5px;
right: 50%;
bottom: auto;
margin-right: -5px;
border-top-color: rgba(0, 0, 0, 0.8);
}
+
.tooltipped-ne:after {
right: auto;
left: 50%;
margin-left: -15px;
}
+
.tooltipped-nw:after {
margin-right: -15px;
}
-.tooltipped-s:after, .tooltipped-n:after {
+
+.tooltipped-s:after,
+.tooltipped-n:after {
transform: translateX(50%);
}
+
.tooltipped-w:after {
right: 100%;
bottom: 50%;
margin-right: 5px;
transform: translateY(50%);
}
+
.tooltipped-w:before {
top: 50%;
bottom: 50%;
@@ -888,12 +1151,14 @@ td {
margin-top: -5px;
border-left-color: rgba(0, 0, 0, 0.8);
}
+
.tooltipped-e:after {
bottom: 50%;
left: 100%;
margin-left: 5px;
transform: translateY(50%);
}
+
.tooltipped-e:before {
top: 50%;
right: -5px;
@@ -901,46 +1166,61 @@ td {
margin-top: -5px;
border-right-color: rgba(0, 0, 0, 0.8);
}
+
.highlightable {
padding: 1rem 0 1rem;
overflow: auto;
position: relative;
}
-.hljs::selection, .hljs span::selection {
+
+.hljs::selection,
+.hljs span::selection {
background: #b7b7b7;
}
+
.lightbox-active #body {
overflow: visible;
}
+
.lightbox-active #body .padding {
overflow: visible;
}
+
#github-contrib i {
vertical-align: middle;
}
+
.featherlight img {
margin: 0 !important;
}
+
.lifecycle #body-inner ul {
list-style: none;
margin: 0;
padding: 2rem 0 0;
position: relative;
}
+
.lifecycle #body-inner ol {
margin: 1rem 0 1rem 0;
padding: 2rem;
position: relative;
}
+
.lifecycle #body-inner ol li {
margin-left: 1rem;
}
-.lifecycle #body-inner ol strong, .lifecycle #body-inner ol label, .lifecycle #body-inner ol th {
+
+.lifecycle #body-inner ol strong,
+.lifecycle #body-inner ol label,
+.lifecycle #body-inner ol th {
text-decoration: underline;
}
+
.lifecycle #body-inner ol ol {
margin-left: -1rem;
}
+
.lifecycle #body-inner h3[class*='level'] {
font-size: 20px;
position: absolute;
@@ -951,57 +1231,69 @@ td {
color: #fff;
background: #1ABC9C;
}
+
.lifecycle #body-inner ol h3 {
margin-top: 1rem !important;
right: 2rem !important;
}
-.lifecycle #body-inner .level-1 + ol {
+
+.lifecycle #body-inner .level-1+ol {
background: #f6fefc;
border: 4px solid #1ABC9C;
color: #16A085;
}
-.lifecycle #body-inner .level-1 + ol h3 {
+
+.lifecycle #body-inner .level-1+ol h3 {
background: #2ECC71;
}
-.lifecycle #body-inner .level-2 + ol {
+
+.lifecycle #body-inner .level-2+ol {
background: #f7fdf9;
border: 4px solid #2ECC71;
color: #27AE60;
}
-.lifecycle #body-inner .level-2 + ol h3 {
+
+.lifecycle #body-inner .level-2+ol h3 {
background: #3498DB;
}
-.lifecycle #body-inner .level-3 + ol {
+
+.lifecycle #body-inner .level-3+ol {
background: #f3f9fd;
border: 4px solid #3498DB;
color: #2980B9;
}
-.lifecycle #body-inner .level-3 + ol h3 {
+
+.lifecycle #body-inner .level-3+ol h3 {
background: #34495E;
}
-.lifecycle #body-inner .level-4 + ol {
+
+.lifecycle #body-inner .level-4+ol {
background: #e4eaf0;
border: 4px solid #34495E;
color: #2C3E50;
}
-.lifecycle #body-inner .level-4 + ol h3 {
+
+.lifecycle #body-inner .level-4+ol h3 {
background: #34495E;
}
+
#top-bar {
/* background: #F6F6F6; */
- background: rgba(255, 237, 226, 0.9);
+ background: rgba(195, 211, 229, 0.82);
/* border-radius: 2px; */
border-radius: 4px;
padding: 0 1rem;
height: 0;
min-height: 3rem;
}
+
#top-github-link {
position: relative;
z-index: 1;
float: right;
display: block;
}
+
#body #breadcrumbs {
height: auto;
margin-bottom: 0;
@@ -1014,36 +1306,45 @@ td {
display: inline-block;
float: left;
}
+
#body #breadcrumbs span {
padding: 0 0.1rem;
}
+
@media only all and (max-width: 59.938em) {
#sidebar {
width: 230px;
}
+
#body {
margin-left: 230px;
}
}
+
@media only all and (max-width: 47.938em) {
#sidebar {
width: 230px;
left: -230px;
}
+
#body {
margin-left: 0;
width: 100%;
}
+
.sidebar-hidden {
overflow: hidden;
}
+
.sidebar-hidden #sidebar {
left: 0;
}
+
.sidebar-hidden #body {
margin-left: 230px;
overflow: hidden;
}
+
.sidebar-hidden #overlay {
position: absolute;
left: 0;
@@ -1055,6 +1356,7 @@ td {
cursor: pointer;
}
}
+
.copy-to-clipboard {
background-image: none;
background-position: 50% 50%;
@@ -1073,9 +1375,11 @@ td {
border-radius: 0 2px 2px 0;
margin-bottom: 1px;
}
+
.copy-to-clipboard:hover {
background-color: #E8E2CD;
}
+
pre .copy-to-clipboard {
position: absolute;
right: 4px;
@@ -1084,17 +1388,19 @@ pre .copy-to-clipboard {
color: #ccc;
border-radius: 2px;
}
+
pre .copy-to-clipboard:hover {
background-color: #656c72;
color: #fff;
}
+
.parent-element {
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
transform-style: preserve-3d;
}
-#sidebar ul.topics > li > a .read-icon {
+#sidebar ul.topics>li>a .read-icon {
margin-top: 9px;
}
@@ -1117,15 +1423,16 @@ pre .copy-to-clipboard:hover {
margin: 4px 0 0 0;
text-align: right;
}
-#sidebar ul li.visited > a .read-icon {
+
+#sidebar ul li.visited>a .read-icon {
color: #00bdf3;
display: inline;
}
#sidebar #shortcuts h3 {
font-family: "Novacento Sans Wide", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
- color: white ;
- margin-top:1rem;
+ color: white;
+ margin-top: 1rem;
padding-left: 1rem;
}
@@ -1133,4 +1440,4 @@ pre .copy-to-clipboard:hover {
text-align: left;
}
-/*# sourceMappingURL=theme.css.map */
+/*# sourceMappingURL=theme.css.map */
\ No newline at end of file
diff --git a/docs/blog/themes/hugo-theme-learn/static/css/nucleus.css b/docs/blog/themes/hugo-theme-learn/static/css/nucleus.css
index 3a50dcd..de56e49 100644
--- a/docs/blog/themes/hugo-theme-learn/static/css/nucleus.css
+++ b/docs/blog/themes/hugo-theme-learn/static/css/nucleus.css
@@ -1,25 +1,40 @@
-*, *::before, *::after {
+*,
+*::before,
+*::after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
- box-sizing: border-box; }
+ box-sizing: border-box;
+}
@-webkit-viewport {
- width: device-width; }
+ width: device-width;
+}
+
@-moz-viewport {
- width: device-width; }
+ width: device-width;
+}
+
@-ms-viewport {
- width: device-width; }
+ width: device-width;
+}
+
@-o-viewport {
- width: device-width; }
+ width: device-width;
+}
+
@viewport {
- width: device-width; }
+ width: device-width;
+}
+
html {
font-size: 100%;
-ms-text-size-adjust: 100%;
- -webkit-text-size-adjust: 100%; }
+ -webkit-text-size-adjust: 100%;
+}
body {
- margin: 0; }
+ margin: 0;
+}
article,
aside,
@@ -33,165 +48,218 @@ main,
nav,
section,
summary {
- display: block; }
+ display: block;
+}
audio,
canvas,
progress,
video {
display: inline-block;
- vertical-align: baseline; }
+ vertical-align: baseline;
+}
audio:not([controls]) {
display: none;
- height: 0; }
+ height: 0;
+}
[hidden],
template {
- display: none; }
+ display: none;
+}
a {
background: transparent;
- text-decoration: none; }
+ text-decoration: none;
+}
a:active,
a:hover {
- outline: 0; }
+ outline: 0;
+}
abbr[title] {
- border-bottom: 1px dotted; }
+ border-bottom: 1px dotted;
+}
b,
strong {
- font-weight: bold; }
+ font-weight: bold;
+}
dfn {
- font-style: italic; }
+ font-style: italic;
+}
mark {
background: #FFFF27;
- color: #333; }
+ color: #333;
+}
sub,
sup {
font-size: 0.8rem;
line-height: 0;
position: relative;
- vertical-align: baseline; }
+ vertical-align: baseline;
+}
sup {
- top: -0.5em; }
+ top: -0.5em;
+}
sub {
- bottom: -0.25em; }
+ bottom: -0.25em;
+}
img {
border: 0;
- max-width: 100%; }
+ max-width: 100%;
+}
svg:not(:root) {
- overflow: hidden; }
+ overflow: hidden;
+}
figure {
- margin: 1em 40px; }
+ margin: 1em 40px;
+}
hr {
- height: 0; }
+ height: 0;
+}
pre {
- overflow: auto; }
+ overflow: auto;
+}
button,
input,
optgroup,
select,
textarea {
- color: inherit;
+ /* color: inherit; */
+ color: rgba(200, 200, 200, 1);
font: inherit;
- margin: 0; }
+ margin: 0;
+}
button {
- overflow: visible; }
+ overflow: visible;
+}
button,
select {
- text-transform: none; }
+ text-transform: none;
+}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button;
- cursor: pointer; }
+ cursor: pointer;
+}
button[disabled],
html input[disabled] {
- cursor: default; }
+ cursor: default;
+}
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
- padding: 0; }
+ padding: 0;
+}
input {
- line-height: normal; }
+ line-height: normal;
+}
input[type="checkbox"],
input[type="radio"] {
- padding: 0; }
+ padding: 0;
+}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
- height: auto; }
+ height: auto;
+}
input[type="search"] {
- -webkit-appearance: textfield; }
+ -webkit-appearance: textfield;
+}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
- -webkit-appearance: none; }
+ -webkit-appearance: none;
+}
legend {
border: 0;
- padding: 0; }
+ padding: 0;
+}
textarea {
- overflow: auto; }
+ overflow: auto;
+}
optgroup {
- font-weight: bold; }
+ font-weight: bold;
+}
table {
border-collapse: collapse;
border-spacing: 0;
table-layout: fixed;
- width: 100%; }
+ width: 100%;
+}
-tr, td, th {
- vertical-align: middle; }
+tr,
+td,
+th {
+ vertical-align: middle;
+}
-th, td {
- padding: 0.425rem 0; }
+th,
+td {
+ padding: 0.425rem 0;
+}
th {
- text-align: left; }
+ text-align: left;
+}
.container {
width: 75em;
margin: 0 auto;
- padding: 0; }
- @media only all and (min-width: 60em) and (max-width: 74.938em) {
- .container {
- width: 60em; } }
- @media only all and (min-width: 48em) and (max-width: 59.938em) {
- .container {
- width: 48em; } }
- @media only all and (min-width: 30.063em) and (max-width: 47.938em) {
- .container {
- width: 30em; } }
- @media only all and (max-width: 30em) {
- .container {
- width: 100%; } }
+ padding: 0;
+}
+
+@media only all and (min-width: 60em) and (max-width: 74.938em) {
+ .container {
+ width: 60em;
+ }
+}
+
+@media only all and (min-width: 48em) and (max-width: 59.938em) {
+ .container {
+ width: 48em;
+ }
+}
+
+@media only all and (min-width: 30.063em) and (max-width: 47.938em) {
+ .container {
+ width: 30em;
+ }
+}
+
+@media only all and (max-width: 30em) {
+ .container {
+ width: 100%;
+ }
+}
.grid {
display: -webkit-box;
@@ -206,12 +274,16 @@ th {
flex-flow: row;
list-style: none;
margin: 0;
- padding: 0; }
- @media only all and (max-width: 47.938em) {
- .grid {
- -webkit-flex-flow: row wrap;
- -moz-flex-flow: row wrap;
- flex-flow: row wrap; } }
+ padding: 0;
+}
+
+@media only all and (max-width: 47.938em) {
+ .grid {
+ -webkit-flex-flow: row wrap;
+ -moz-flex-flow: row wrap;
+ flex-flow: row wrap;
+ }
+}
.block {
-webkit-box-flex: 1;
@@ -222,20 +294,25 @@ th {
-ms-flex: 1;
flex: 1;
min-width: 0;
- min-height: 0; }
- @media only all and (max-width: 47.938em) {
- .block {
- -webkit-box-flex: 0;
- -moz-box-flex: 0;
- box-flex: 0;
- -webkit-flex: 0 100%;
- -moz-flex: 0 100%;
- -ms-flex: 0 100%;
- flex: 0 100%; } }
+ min-height: 0;
+}
+
+@media only all and (max-width: 47.938em) {
+ .block {
+ -webkit-box-flex: 0;
+ -moz-box-flex: 0;
+ box-flex: 0;
+ -webkit-flex: 0 100%;
+ -moz-flex: 0 100%;
+ -ms-flex: 0 100%;
+ flex: 0 100%;
+ }
+}
.content {
margin: 0.625rem;
- padding: 0.938rem; }
+ padding: 0.938rem;
+}
@media only all and (max-width: 47.938em) {
body [class*="size-"] {
@@ -245,7 +322,9 @@ th {
-webkit-flex: 0 100%;
-moz-flex: 0 100%;
-ms-flex: 0 100%;
- flex: 0 100%; } }
+ flex: 0 100%;
+ }
+}
.size-1-2 {
-webkit-box-flex: 0;
@@ -254,7 +333,8 @@ th {
-webkit-flex: 0 50%;
-moz-flex: 0 50%;
-ms-flex: 0 50%;
- flex: 0 50%; }
+ flex: 0 50%;
+}
.size-1-3 {
-webkit-box-flex: 0;
@@ -263,7 +343,8 @@ th {
-webkit-flex: 0 33.33333%;
-moz-flex: 0 33.33333%;
-ms-flex: 0 33.33333%;
- flex: 0 33.33333%; }
+ flex: 0 33.33333%;
+}
.size-1-4 {
-webkit-box-flex: 0;
@@ -272,7 +353,8 @@ th {
-webkit-flex: 0 25%;
-moz-flex: 0 25%;
-ms-flex: 0 25%;
- flex: 0 25%; }
+ flex: 0 25%;
+}
.size-1-5 {
-webkit-box-flex: 0;
@@ -281,7 +363,8 @@ th {
-webkit-flex: 0 20%;
-moz-flex: 0 20%;
-ms-flex: 0 20%;
- flex: 0 20%; }
+ flex: 0 20%;
+}
.size-1-6 {
-webkit-box-flex: 0;
@@ -290,7 +373,8 @@ th {
-webkit-flex: 0 16.66667%;
-moz-flex: 0 16.66667%;
-ms-flex: 0 16.66667%;
- flex: 0 16.66667%; }
+ flex: 0 16.66667%;
+}
.size-1-7 {
-webkit-box-flex: 0;
@@ -299,7 +383,8 @@ th {
-webkit-flex: 0 14.28571%;
-moz-flex: 0 14.28571%;
-ms-flex: 0 14.28571%;
- flex: 0 14.28571%; }
+ flex: 0 14.28571%;
+}
.size-1-8 {
-webkit-box-flex: 0;
@@ -308,7 +393,8 @@ th {
-webkit-flex: 0 12.5%;
-moz-flex: 0 12.5%;
-ms-flex: 0 12.5%;
- flex: 0 12.5%; }
+ flex: 0 12.5%;
+}
.size-1-9 {
-webkit-box-flex: 0;
@@ -317,7 +403,8 @@ th {
-webkit-flex: 0 11.11111%;
-moz-flex: 0 11.11111%;
-ms-flex: 0 11.11111%;
- flex: 0 11.11111%; }
+ flex: 0 11.11111%;
+}
.size-1-10 {
-webkit-box-flex: 0;
@@ -326,7 +413,8 @@ th {
-webkit-flex: 0 10%;
-moz-flex: 0 10%;
-ms-flex: 0 10%;
- flex: 0 10%; }
+ flex: 0 10%;
+}
.size-1-11 {
-webkit-box-flex: 0;
@@ -335,7 +423,8 @@ th {
-webkit-flex: 0 9.09091%;
-moz-flex: 0 9.09091%;
-ms-flex: 0 9.09091%;
- flex: 0 9.09091%; }
+ flex: 0 9.09091%;
+}
.size-1-12 {
-webkit-box-flex: 0;
@@ -344,7 +433,8 @@ th {
-webkit-flex: 0 8.33333%;
-moz-flex: 0 8.33333%;
-ms-flex: 0 8.33333%;
- flex: 0 8.33333%; }
+ flex: 0 8.33333%;
+}
@media only all and (min-width: 48em) and (max-width: 59.938em) {
.size-tablet-1-2 {
@@ -354,7 +444,8 @@ th {
-webkit-flex: 0 50%;
-moz-flex: 0 50%;
-ms-flex: 0 50%;
- flex: 0 50%; }
+ flex: 0 50%;
+ }
.size-tablet-1-3 {
-webkit-box-flex: 0;
@@ -363,7 +454,8 @@ th {
-webkit-flex: 0 33.33333%;
-moz-flex: 0 33.33333%;
-ms-flex: 0 33.33333%;
- flex: 0 33.33333%; }
+ flex: 0 33.33333%;
+ }
.size-tablet-1-4 {
-webkit-box-flex: 0;
@@ -372,7 +464,8 @@ th {
-webkit-flex: 0 25%;
-moz-flex: 0 25%;
-ms-flex: 0 25%;
- flex: 0 25%; }
+ flex: 0 25%;
+ }
.size-tablet-1-5 {
-webkit-box-flex: 0;
@@ -381,7 +474,8 @@ th {
-webkit-flex: 0 20%;
-moz-flex: 0 20%;
-ms-flex: 0 20%;
- flex: 0 20%; }
+ flex: 0 20%;
+ }
.size-tablet-1-6 {
-webkit-box-flex: 0;
@@ -390,7 +484,8 @@ th {
-webkit-flex: 0 16.66667%;
-moz-flex: 0 16.66667%;
-ms-flex: 0 16.66667%;
- flex: 0 16.66667%; }
+ flex: 0 16.66667%;
+ }
.size-tablet-1-7 {
-webkit-box-flex: 0;
@@ -399,7 +494,8 @@ th {
-webkit-flex: 0 14.28571%;
-moz-flex: 0 14.28571%;
-ms-flex: 0 14.28571%;
- flex: 0 14.28571%; }
+ flex: 0 14.28571%;
+ }
.size-tablet-1-8 {
-webkit-box-flex: 0;
@@ -408,7 +504,8 @@ th {
-webkit-flex: 0 12.5%;
-moz-flex: 0 12.5%;
-ms-flex: 0 12.5%;
- flex: 0 12.5%; }
+ flex: 0 12.5%;
+ }
.size-tablet-1-9 {
-webkit-box-flex: 0;
@@ -417,7 +514,8 @@ th {
-webkit-flex: 0 11.11111%;
-moz-flex: 0 11.11111%;
-ms-flex: 0 11.11111%;
- flex: 0 11.11111%; }
+ flex: 0 11.11111%;
+ }
.size-tablet-1-10 {
-webkit-box-flex: 0;
@@ -426,7 +524,8 @@ th {
-webkit-flex: 0 10%;
-moz-flex: 0 10%;
-ms-flex: 0 10%;
- flex: 0 10%; }
+ flex: 0 10%;
+ }
.size-tablet-1-11 {
-webkit-box-flex: 0;
@@ -435,7 +534,8 @@ th {
-webkit-flex: 0 9.09091%;
-moz-flex: 0 9.09091%;
-ms-flex: 0 9.09091%;
- flex: 0 9.09091%; }
+ flex: 0 9.09091%;
+ }
.size-tablet-1-12 {
-webkit-box-flex: 0;
@@ -444,7 +544,10 @@ th {
-webkit-flex: 0 8.33333%;
-moz-flex: 0 8.33333%;
-ms-flex: 0 8.33333%;
- flex: 0 8.33333%; } }
+ flex: 0 8.33333%;
+ }
+}
+
@media only all and (max-width: 47.938em) {
@supports not (flex-wrap: wrap) {
.grid {
@@ -455,7 +558,8 @@ th {
-webkit-flex-wrap: inherit;
-moz-flex-wrap: inherit;
-ms-flex-wrap: inherit;
- flex-wrap: inherit; }
+ flex-wrap: inherit;
+ }
.block {
display: block;
@@ -465,147 +569,238 @@ th {
-webkit-flex: inherit;
-moz-flex: inherit;
-ms-flex: inherit;
- flex: inherit; } } }
+ flex: inherit;
+ }
+ }
+}
+
.first-block {
-webkit-box-ordinal-group: 0;
-webkit-order: -1;
-ms-flex-order: -1;
- order: -1; }
+ order: -1;
+}
.last-block {
-webkit-box-ordinal-group: 2;
-webkit-order: 1;
-ms-flex-order: 1;
- order: 1; }
+ order: 1;
+}
.fixed-blocks {
-webkit-flex-flow: row wrap;
-moz-flex-flow: row wrap;
- flex-flow: row wrap; }
+ flex-flow: row wrap;
+}
+
+.fixed-blocks .block {
+ -webkit-box-flex: inherit;
+ -moz-box-flex: inherit;
+ box-flex: inherit;
+ -webkit-flex: inherit;
+ -moz-flex: inherit;
+ -ms-flex: inherit;
+ flex: inherit;
+ width: 25%;
+}
+
+@media only all and (min-width: 60em) and (max-width: 74.938em) {
+ .fixed-blocks .block {
+ width: 33.33333%;
+ }
+}
+
+@media only all and (min-width: 48em) and (max-width: 59.938em) {
+ .fixed-blocks .block {
+ width: 50%;
+ }
+}
+
+@media only all and (max-width: 47.938em) {
.fixed-blocks .block {
- -webkit-box-flex: inherit;
- -moz-box-flex: inherit;
- box-flex: inherit;
- -webkit-flex: inherit;
- -moz-flex: inherit;
- -ms-flex: inherit;
- flex: inherit;
- width: 25%; }
- @media only all and (min-width: 60em) and (max-width: 74.938em) {
- .fixed-blocks .block {
- width: 33.33333%; } }
- @media only all and (min-width: 48em) and (max-width: 59.938em) {
- .fixed-blocks .block {
- width: 50%; } }
- @media only all and (max-width: 47.938em) {
- .fixed-blocks .block {
- width: 100%; } }
+ width: 100%;
+ }
+}
body {
font-size: 1.05rem;
- line-height: 1.7; }
-
-h1, h2, h3, h4, h5, h6 {
+ line-height: 1.7;
+}
+
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
margin: 0.85rem 0 1.7rem 0;
- text-rendering: optimizeLegibility; }
+ text-rendering: optimizeLegibility;
+}
h1 {
- font-size: 3.25rem; }
+ font-size: 3.25rem;
+}
h2 {
- font-size: 2.55rem; }
+ font-size: 2.55rem;
+}
h3 {
- font-size: 2.15rem; }
+ font-size: 2.15rem;
+}
h4 {
- font-size: 1.8rem; }
+ font-size: 1.8rem;
+}
h5 {
- font-size: 1.4rem; }
+ font-size: 1.4rem;
+}
h6 {
- font-size: 0.9rem; }
+ font-size: 0.9rem;
+}
p {
- margin: 1.7rem 0; }
+ margin: 1.7rem 0;
+}
/* ul, */
ol {
margin-top: 1.7rem;
- margin-bottom: 1.7rem; }
- ul ul, ul ol, ol ul, ol ol {
- margin-top: 0;
- margin-bottom: 0; }
+ margin-bottom: 1.7rem;
+}
+
+ul ul,
+ul ol,
+ol ul,
+ol ol {
+ margin-top: 0;
+ margin-bottom: 0;
+}
blockquote {
margin: 1.7rem 0;
- padding-left: 0.85rem; }
+ padding-left: 0.85rem;
+}
cite {
display: block;
- font-size: 0.925rem; }
- cite:before {
- content: "\2014 \0020"; }
+ font-size: 0.925rem;
+}
+
+cite:before {
+ content: "\2014 \0020";
+}
pre {
margin: 1.7rem 0;
- padding: 0.938rem; }
+ padding: 0.938rem;
+}
code {
- vertical-align: bottom; }
+ vertical-align: bottom;
+}
small {
- font-size: 0.925rem; }
+ font-size: 0.925rem;
+}
hr {
border-left: none;
border-right: none;
border-top: none;
- margin: 1.7rem 0; }
+ margin: 1.7rem 0;
+}
fieldset {
border: 0;
padding: 0.938rem;
- margin: 0 0 1.7rem 0; }
+ margin: 0 0 1.7rem 0;
+}
input,
label,
select {
- display: block; }
+ display: block;
+}
label {
- margin-bottom: 0.425rem; }
- label.required:after {
- content: "*"; }
- label abbr {
- display: none; }
+ margin-bottom: 0.425rem;
+}
+
+label.required:after {
+ content: "*";
+}
-textarea, input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], input[type="color"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="time"], input[type="week"], select[multiple=multiple] {
+label abbr {
+ display: none;
+}
+
+textarea,
+input[type="email"],
+input[type="number"],
+input[type="password"],
+input[type="search"],
+input[type="tel"],
+input[type="text"],
+input[type="url"],
+input[type="color"],
+input[type="date"],
+input[type="datetime"],
+input[type="datetime-local"],
+input[type="month"],
+input[type="time"],
+input[type="week"],
+select[multiple=multiple] {
-webkit-transition: border-color;
-moz-transition: border-color;
transition: border-color;
border-radius: 0.1875rem;
margin-bottom: 0.85rem;
padding: 0.425rem 0.425rem;
- width: 100%; }
- textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="text"]:focus, input[type="url"]:focus, input[type="color"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, select[multiple=multiple]:focus {
- outline: none; }
+ width: 100%;
+}
+
+textarea:focus,
+input[type="email"]:focus,
+input[type="number"]:focus,
+input[type="password"]:focus,
+input[type="search"]:focus,
+input[type="tel"]:focus,
+input[type="text"]:focus,
+input[type="url"]:focus,
+input[type="color"]:focus,
+input[type="date"]:focus,
+input[type="datetime"]:focus,
+input[type="datetime-local"]:focus,
+input[type="month"]:focus,
+input[type="time"]:focus,
+input[type="week"]:focus,
+select[multiple=multiple]:focus {
+ outline: none;
+}
textarea {
- resize: vertical; }
+ resize: vertical;
+}
-input[type="checkbox"], input[type="radio"] {
+input[type="checkbox"],
+input[type="radio"] {
display: inline;
- margin-right: 0.425rem; }
+ margin-right: 0.425rem;
+}
input[type="file"] {
- width: 100%; }
+ width: 100%;
+}
select {
width: auto;
max-width: 100%;
- margin-bottom: 1.7rem; }
+ margin-bottom: 1.7rem;
+}
button,
input[type="submit"] {
@@ -613,6 +808,7 @@ input[type="submit"] {
user-select: none;
vertical-align: middle;
white-space: nowrap;
- border: inherit; }
+ border: inherit;
+}
-/*# sourceMappingURL=nucleus.css.map */
+/*# sourceMappingURL=nucleus.css.map */
\ No newline at end of file
diff --git a/docs/community/static/css/theme-black.css b/docs/community/static/css/theme-black.css
index 748ab1d..0505a22 100644
--- a/docs/community/static/css/theme-black.css
+++ b/docs/community/static/css/theme-black.css
@@ -1,5 +1,7 @@
@charset "UTF-8";
-#top-github-link, #body #breadcrumbs {
+
+#top-github-link,
+#body #breadcrumbs {
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
@@ -8,13 +10,18 @@
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
-.button, .button-secondary {
+
+.button,
+.button-secondary {
display: inline-block;
padding: 7px 12px;
}
-.button:active, .button-secondary:active {
+
+.button:active,
+.button-secondary:active {
margin: 2px 0 -2px 0;
}
+
@font-face {
font-family: 'Novacento Sans Wide';
src: url("../fonts/Novecentosanswide-UltraLight-webfont.eot");
@@ -22,82 +29,158 @@
font-style: normal;
font-weight: 200;
}
+
@font-face {
font-family: 'Work Sans';
font-style: normal;
font-weight: 300;
src: url("../fonts/Work_Sans_300.eot?#iefix") format("embedded-opentype"), url("../fonts/Work_Sans_300.woff") format("woff"), url("../fonts/Work_Sans_300.woff2") format("woff2"), url("../fonts/Work_Sans_300.svg#WorkSans") format("svg"), url("../fonts/Work_Sans_300.ttf") format("truetype");
}
+
@font-face {
font-family: 'Work Sans';
font-style: normal;
font-weight: 500;
src: url("../fonts/Work_Sans_500.eot?#iefix") format("embedded-opentype"), url("../fonts/Work_Sans_500.woff") format("woff"), url("../fonts/Work_Sans_500.woff2") format("woff2"), url("../fonts/Work_Sans_500.svg#WorkSans") format("svg"), url("../fonts/Work_Sans_500.ttf") format("truetype");
}
+
body {
background: #fff;
color: #777;
}
+
body #chapter h1 {
font-size: 3.5rem;
}
+
@media only all and (min-width: 48em) and (max-width: 59.938em) {
body #chapter h1 {
font-size: 3rem;
}
}
+
@media only all and (max-width: 47.938em) {
body #chapter h1 {
font-size: 2rem;
}
}
+
a {
/* color: #00bdf3; */
- color: rgba(197, 43, 0, 0.77);
+ color: rgba(15, 88, 163, 1);
}
+
a:hover {
- color: #0082a7;
+ /* color: #0082a7; */
+ color: #0a4f90;
}
+
pre {
position: relative;
color: #ffffff;
}
+
.bg {
background: #fff;
border: 1px solid #eaeaea;
}
-b, strong, label, th {
+
+b,
+strong,
+label,
+th {
font-weight: 600;
}
-.default-animation, #header #logo-svg, #header #logo-svg path, #sidebar, #sidebar ul, #body, #body .padding, #body .nav {
+
+.default-animation,
+#header #logo-svg,
+#header #logo-svg path,
+#sidebar,
+#sidebar ul,
+#body,
+#body .padding,
+#body .nav {
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease;
}
+
#grav-logo {
max-width: 60%;
}
+
#grav-logo path {
fill: #fff !important;
}
+
#sidebar {
font-weight: 300 !important;
}
+
fieldset {
border: 1px solid #ddd;
}
-textarea, input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], input[type="color"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="time"], input[type="week"], select[multiple=multiple] {
+
+textarea,
+input[type="email"],
+input[type="number"],
+input[type="password"],
+input[type="search"],
+input[type="tel"],
+input[type="text"],
+input[type="url"],
+input[type="color"],
+input[type="date"],
+input[type="datetime"],
+input[type="datetime-local"],
+input[type="month"],
+input[type="time"],
+input[type="week"],
+select[multiple=multiple] {
background-color: white;
border: 1px solid #ddd;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
}
-textarea:hover, input[type="email"]:hover, input[type="number"]:hover, input[type="password"]:hover, input[type="search"]:hover, input[type="tel"]:hover, input[type="text"]:hover, input[type="url"]:hover, input[type="color"]:hover, input[type="date"]:hover, input[type="datetime"]:hover, input[type="datetime-local"]:hover, input[type="month"]:hover, input[type="time"]:hover, input[type="week"]:hover, select[multiple=multiple]:hover {
+
+textarea:hover,
+input[type="email"]:hover,
+input[type="number"]:hover,
+input[type="password"]:hover,
+input[type="search"]:hover,
+input[type="tel"]:hover,
+input[type="text"]:hover,
+input[type="url"]:hover,
+input[type="color"]:hover,
+input[type="date"]:hover,
+input[type="datetime"]:hover,
+input[type="datetime-local"]:hover,
+input[type="month"]:hover,
+input[type="time"]:hover,
+input[type="week"]:hover,
+select[multiple=multiple]:hover {
border-color: #c4c4c4;
}
-textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="text"]:focus, input[type="url"]:focus, input[type="color"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, select[multiple=multiple]:focus {
+
+textarea:focus,
+input[type="email"]:focus,
+input[type="number"]:focus,
+input[type="password"]:focus,
+input[type="search"]:focus,
+input[type="tel"]:focus,
+input[type="text"]:focus,
+input[type="url"]:focus,
+input[type="color"]:focus,
+input[type="date"]:focus,
+input[type="datetime"]:focus,
+input[type="datetime-local"]:focus,
+input[type="month"]:focus,
+input[type="time"]:focus,
+input[type="week"]:focus,
+select[multiple=multiple]:focus {
border-color: #00bdf3;
- box-shadow: inset 0 1px 3px rgba(0,0,0,.06),0 0 5px rgba(0,169,218,.7)
+ box-shadow: inset 0 1px 3px rgba(0, 0, 0, .06), 0 0 5px rgba(0, 169, 218, .7)
}
+
#header-wrapper {
background: black;
border-color: black;
@@ -105,16 +188,20 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
border-bottom: 4px solid black;
padding: 1rem;
}
+
#header a {
display: inline-block;
}
+
#header #logo-svg {
width: 8rem;
height: 2rem;
}
+
#header #logo-svg path {
fill: #fff;
}
+
.searchbox {
margin-top: 1rem;
position: relative;
@@ -122,12 +209,14 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
background: #322A38;
border-radius: 4px;
}
+
.searchbox label {
color: rgba(255, 255, 255, 0.8);
position: absolute;
left: 10px;
top: 3px;
}
+
.searchbox span {
color: rgba(255, 255, 255, 0.6);
position: absolute;
@@ -135,9 +224,11 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
top: 3px;
cursor: pointer;
}
+
.searchbox span:hover {
color: rgba(255, 255, 255, 0.9);
}
+
.searchbox input {
display: inline-block;
color: #fff;
@@ -149,28 +240,36 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
margin: 0;
font-weight: 300;
}
+
.searchbox input::-webkit-input-placeholder {
color: rgba(255, 255, 255, 0.6);
}
+
.searchbox input::-moz-placeholder {
color: rgba(255, 255, 255, 0.6);
}
+
.searchbox input:-moz-placeholder {
color: rgba(255, 255, 255, 0.6);
}
+
.searchbox input:-ms-input-placeholder {
color: rgba(255, 255, 255, 0.6);
}
+
#sidebar-toggle-span {
display: none;
}
+
@media only all and (max-width: 47.938em) {
#sidebar-toggle-span {
display: inline;
}
}
+
#sidebar {
- background-color: #322A38;
+ /* background-color: #322A38; */
+ background-color: rgba(2, 30, 62, 0.95);
position: fixed;
top: 0;
width: 300px;
@@ -179,26 +278,33 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
font-weight: 400;
font-size: 15px;
}
+
#sidebar a {
color: #ccc;
}
+
#sidebar a:hover {
color: #e6e6e6;
}
+
#sidebar a.subtitle {
color: rgba(204, 204, 204, 0.6);
}
+
#sidebar hr {
border-bottom: 1px solid #2a232f;
}
+
#sidebar a.padding {
padding: 0 1rem;
}
+
#sidebar h5 {
margin: 2rem 0 0;
position: relative;
line-height: 2;
}
+
#sidebar h5 a {
display: block;
margin-left: 0;
@@ -206,6 +312,7 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
padding-left: 1rem;
padding-right: 1rem;
}
+
#sidebar h5 i {
color: rgba(204, 204, 204, 0.6);
position: absolute;
@@ -213,73 +320,96 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
top: 0.7rem;
font-size: 80%;
}
+
#sidebar h5.parent a {
background: #201b24;
color: #d9d9d9 !important;
}
+
#sidebar h5.active a {
background: #fff;
color: #777 !important;
}
+
#sidebar h5.active i {
color: #777 !important;
}
-#sidebar h5 + ul.topics {
+
+#sidebar h5+ul.topics {
display: none;
margin-top: 0;
}
-#sidebar h5.parent + ul.topics, #sidebar h5.active + ul.topics {
+
+#sidebar h5.parent+ul.topics,
+#sidebar h5.active+ul.topics {
display: block;
}
+
#sidebar ul {
list-style: none;
padding: 0;
margin: 0;
}
+
#sidebar ul.searched a {
color: #999999;
}
+
#sidebar ul.searched .search-match a {
color: #e6e6e6;
}
+
#sidebar ul.searched .search-match a:hover {
color: white;
}
+
#sidebar ul.topics {
margin: 0 1rem;
}
+
#sidebar ul.topics.searched ul {
display: block;
}
+
#sidebar ul.topics ul {
display: none;
padding-bottom: 1rem;
}
+
#sidebar ul.topics ul ul {
padding-bottom: 0;
}
-#sidebar ul.topics li.parent ul, #sidebar ul.topics > li.active ul {
+
+#sidebar ul.topics li.parent ul,
+#sidebar ul.topics>li.active ul {
display: block;
}
-#sidebar ul.topics > li > a {
+
+#sidebar ul.topics>li>a {
line-height: 2rem;
font-size: 1.1rem;
}
-#sidebar ul.topics > li > a b {
+
+#sidebar ul.topics>li>a b {
opacity: 0.5;
font-weight: normal;
}
-#sidebar ul.topics > li > a .fa {
+
+#sidebar ul.topics>li>a .fa {
margin-top: 9px;
}
-#sidebar ul.topics > li.parent, #sidebar ul.topics > li.active {
- background: #251f29;
+
+#sidebar ul.topics>li.parent,
+#sidebar ul.topics>li.active {
+ /* background: #251f29; */
+ background: rgba(88, 100, 120, 0.41);
margin-left: -1rem;
margin-right: -1rem;
padding-left: 1rem;
padding-right: 1rem;
}
-#sidebar ul li.active > a {
+
+#sidebar ul li.active>a {
background: #fff;
color: #777 !important;
margin-left: -1rem;
@@ -287,81 +417,104 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
padding-left: 1rem;
padding-right: 1rem;
}
+
#sidebar ul li {
padding: 0;
}
-#sidebar ul li.visited + span {
+
+#sidebar ul li.visited+span {
margin-right: 16px;
}
+
#sidebar ul li a {
display: block;
padding: 2px 0;
}
+
#sidebar ul li a span {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
display: block;
}
-#sidebar ul li > a {
+
+#sidebar ul li>a {
padding: 4px 0;
}
-#sidebar ul li.visited > a .read-icon {
+
+#sidebar ul li.visited>a .read-icon {
color: #9c6fb6;
display: inline;
}
+
#sidebar ul li li {
padding-left: 1rem;
text-indent: 0.2rem;
}
+
#main {
background: #f7f7f7;
margin: 0 0 1.563rem 0;
}
+
#body {
position: relative;
margin-left: 300px;
min-height: 100%;
}
-#body img, #body .video-container {
+
+#body img,
+#body .video-container {
margin: auto;
text-align: left;
display: inherit;
- max-width: 100%; /* set img size */
+ max-width: 100%;
+ /* set img size */
}
-#body img.border, #body .video-container.border {
+
+#body img.border,
+#body .video-container.border {
border: 2px solid #e6e6e6 !important;
padding: 2px;
}
-#body img.shadow, #body .video-container.shadow {
+
+#body img.shadow,
+#body .video-container.shadow {
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
+
#body img.inline {
display: inline !important;
margin: 0 !important;
vertical-align: bottom;
}
+
#body .bordered {
border: 1px solid #ccc;
}
+
#body .padding {
padding: 3rem 6rem;
}
+
@media only all and (max-width: 59.938em) {
#body .padding {
position: static;
padding: 15px 3rem;
}
}
+
@media only all and (max-width: 47.938em) {
#body .padding {
padding: 5px 1rem;
}
}
-#body h1 + hr {
+
+#body h1+hr {
margin-top: -1.7rem;
margin-bottom: 3rem;
}
+
@media only all and (max-width: 59.938em) {
#body #navigation {
position: static;
@@ -370,6 +523,7 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
display: table;
}
}
+
#body .nav {
position: fixed;
top: 0;
@@ -381,11 +535,13 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
display: table;
text-align: center;
}
-#body .nav > i {
+
+#body .nav>i {
display: table-cell;
vertical-align: middle;
text-align: center;
}
+
@media only all and (max-width: 59.938em) {
#body .nav {
display: table-cell;
@@ -397,22 +553,28 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
line-height: 100px;
padding-top: 0;
}
- #body .nav > i {
+
+ #body .nav>i {
display: inline-block;
}
}
+
#body .nav:hover {
background: #F6F6F6;
}
+
#body .nav.nav-pref {
left: 0;
}
+
#body .nav.nav-next {
right: 0;
}
+
#body-inner {
margin-bottom: 5rem;
}
+
#chapter {
display: flex;
align-items: center;
@@ -420,30 +582,37 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
height: 100%;
padding: 2rem 0;
}
+
#chapter #body-inner {
padding-bottom: 3rem;
max-width: 80%;
}
+
#chapter h3 {
font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
font-weight: 300;
text-align: center;
}
+
#chapter h1 {
font-size: 5rem;
border-bottom: 4px solid #F0F2F4;
}
+
#chapter p {
text-align: left;
}
+
#footer {
padding: 3rem 1rem;
color: #b3b3b3;
font-size: 13px;
}
+
#footer p {
margin: 0;
}
+
body {
font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
font-weight: 300;
@@ -451,13 +620,19 @@ body {
/* font-size: 18px !important; */
font-size: 16px !important;
}
-h2, h3, h4, h5, h6 {
+
+h2,
+h3,
+h4,
+h5,
+h6 {
font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
text-rendering: optimizeLegibility;
color: #5e5e5e;
font-weight: 400;
letter-spacing: -1px;
}
+
h1 {
font-family: "Novacento Sans Wide", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
text-align: center;
@@ -465,23 +640,28 @@ h1 {
color: #222;
font-weight: 200;
}
+
blockquote {
border-left: 10px solid #F0F2F4;
}
+
blockquote p {
font-size: 1.1rem;
color: #999;
}
+
blockquote cite {
display: block;
text-align: right;
color: #666;
font-size: 1.2rem;
}
+
div.notices {
margin: 2rem 0;
position: relative;
}
+
div.notices p {
padding: 15px;
display: block;
@@ -490,6 +670,7 @@ div.notices p {
margin-bottom: 0rem;
color: #666;
}
+
div.notices p:first-child:before {
position: absolute;
top: 2px;
@@ -498,37 +679,46 @@ div.notices p:first-child:before {
content: '';
left: 10px;
}
+
div.notices p:first-child:after {
position: absolute;
top: 2px;
color: #fff;
left: 2rem;
}
+
div.notices.info p {
border-top: 30px solid #F0B37E;
background: #FFF2DB;
}
+
div.notices.info p:first-child:after {
content: 'Info';
}
+
div.notices.warning p {
border-top: 30px solid rgba(217, 83, 79, 0.8);
background: #FAE2E2;
}
+
div.notices.warning p:first-child:after {
content: 'Warning';
}
+
div.notices.note p {
border-top: 30px solid #6AB0DE;
background: #E7F2FA;
}
+
div.notices.note p:first-child:after {
content: 'Note';
}
+
div.notices.tip p {
border-top: 30px solid rgba(92, 184, 92, 0.8);
background: #E6F9E6;
}
+
div.notices.tip p:first-child:after {
content: 'Tip';
}
@@ -600,42 +790,52 @@ section.attachments.grey .attachments-files {
font-size: small;
margin-top: 0px;
padding-top: 0px;
- margin-bottom: 0px;
+ margin-bottom: 0px;
padding-bottom: 0px;
}
+
.children-li p {
font-size: small;
font-style: italic;
}
-.children-h2 p, .children-h3 p {
+
+.children-h2 p,
+.children-h3 p {
font-size: small;
margin-top: 0px;
padding-top: 0px;
- margin-bottom: 0px;
+ margin-bottom: 0px;
padding-bottom: 0px;
}
-.children h3,.children h2 {
+
+.children h3,
+.children h2 {
margin-bottom: 0px;
margin-top: 5px;
}
-code, kbd, pre, samp {
+code,
+kbd,
+pre,
+samp {
font-family: "Consolas", menlo, monospace;
font-size: 92%;
}
+
code {
border-radius: 2px;
white-space: nowrap;
color: #5e5e5e;
/* background: #FFF7DD; */
- background: rgba(244, 51, 12, 0.42);
+ background: rgba(40, 130, 209, 0.23);
border-radius: 0.5rem;
/* border: 1px solid #fbf0cb; */
/* padding: 0px 2px; */
padding: 0px 5px;
}
-code + .copy-to-clipboard {
+
+code+.copy-to-clipboard {
margin-left: -1px;
border-left: 0 !important;
font-size: inherit !important;
@@ -643,6 +843,7 @@ code + .copy-to-clipboard {
height: 21px;
top: 0;
}
+
pre {
padding: 1rem;
margin: 2rem 0;
@@ -651,6 +852,7 @@ pre {
border-radius: 2px;
line-height: 1.15;
}
+
pre code {
color: whitesmoke;
background: inherit;
@@ -660,9 +862,11 @@ pre code {
margin: 0;
font-size: 15px;
}
+
hr {
border-bottom: 4px solid #F0F2F4;
}
+
.page-title {
margin-top: -25px;
padding: 25px;
@@ -671,106 +875,132 @@ hr {
background: #9c6fb6;
color: #fff;
}
+
#body a.anchor-link {
color: #ccc;
}
+
#body a.anchor-link:hover {
color: #9c6fb6;
}
+
#body-inner .tabs-wrapper.ui-theme-badges {
background: #1d1f21;
}
+
#body-inner .tabs-wrapper.ui-theme-badges .tabs-nav li {
font-size: 0.9rem;
text-transform: uppercase;
}
+
#body-inner .tabs-wrapper.ui-theme-badges .tabs-nav li a {
background: #35393c;
}
+
#body-inner .tabs-wrapper.ui-theme-badges .tabs-nav li.current a {
background: #4d5257;
}
+
#body-inner pre {
white-space: pre-wrap;
}
+
.tabs-wrapper pre {
margin: 1rem 0;
border: 0;
padding: 0;
background: inherit;
}
+
table {
border: 1px solid #eaeaea;
table-layout: auto;
}
+
th {
background: #f7f7f7;
padding: 0.5rem;
}
+
td {
padding: 0.5rem;
border: 1px solid #eaeaea;
}
+
.button {
background: #9c6fb6;
color: #fff;
box-shadow: 0 3px 0 #00a5d4;
}
+
.button:hover {
background: #00a5d4;
box-shadow: 0 3px 0 #008db6;
color: #fff;
}
+
.button:active {
box-shadow: 0 1px 0 #008db6;
}
+
.button-secondary {
background: #F8B450;
color: #fff;
box-shadow: 0 3px 0 #f7a733;
}
+
.button-secondary:hover {
background: #f7a733;
box-shadow: 0 3px 0 #f69b15;
color: #fff;
}
+
.button-secondary:active {
box-shadow: 0 1px 0 #f69b15;
}
+
.bullets {
margin: 1.7rem 0;
margin-left: -0.85rem;
margin-right: -0.85rem;
overflow: auto;
}
+
.bullet {
float: left;
padding: 0 0.85rem;
}
+
.two-column-bullet {
width: 50%;
}
+
@media only all and (max-width: 47.938em) {
.two-column-bullet {
width: 100%;
}
}
+
.three-column-bullet {
width: 33.33333%;
}
+
@media only all and (max-width: 47.938em) {
.three-column-bullet {
width: 100%;
}
}
+
.four-column-bullet {
width: 25%;
}
+
@media only all and (max-width: 47.938em) {
.four-column-bullet {
width: 100%;
}
}
+
.bullet-icon {
float: left;
background: #9c6fb6;
@@ -782,21 +1012,27 @@ td {
font-size: 1.75rem;
text-align: center;
}
+
.bullet-icon-1 {
background: #9c6fb6;
}
+
.bullet-icon-2 {
background: #00f3d8;
}
+
.bullet-icon-3 {
background: #e6f300;
}
+
.bullet-content {
margin-left: 4.55rem;
}
+
.tooltipped {
position: relative;
}
+
.tooltipped:after {
position: absolute;
z-index: 1000000;
@@ -817,6 +1053,7 @@ td {
border-radius: 3px;
-webkit-font-smoothing: subpixel-antialiased;
}
+
.tooltipped:before {
position: absolute;
z-index: 1000001;
@@ -828,59 +1065,85 @@ td {
content: "";
border: 5px solid transparent;
}
-.tooltipped:hover:before, .tooltipped:hover:after, .tooltipped:active:before, .tooltipped:active:after, .tooltipped:focus:before, .tooltipped:focus:after {
+
+.tooltipped:hover:before,
+.tooltipped:hover:after,
+.tooltipped:active:before,
+.tooltipped:active:after,
+.tooltipped:focus:before,
+.tooltipped:focus:after {
display: inline-block;
text-decoration: none;
}
-.tooltipped-s:after, .tooltipped-se:after, .tooltipped-sw:after {
+
+.tooltipped-s:after,
+.tooltipped-se:after,
+.tooltipped-sw:after {
top: 100%;
right: 50%;
margin-top: 5px;
}
-.tooltipped-s:before, .tooltipped-se:before, .tooltipped-sw:before {
+
+.tooltipped-s:before,
+.tooltipped-se:before,
+.tooltipped-sw:before {
top: auto;
right: 50%;
bottom: -5px;
margin-right: -5px;
border-bottom-color: rgba(0, 0, 0, 0.8);
}
+
.tooltipped-se:after {
right: auto;
left: 50%;
margin-left: -15px;
}
+
.tooltipped-sw:after {
margin-right: -15px;
}
-.tooltipped-n:after, .tooltipped-ne:after, .tooltipped-nw:after {
+
+.tooltipped-n:after,
+.tooltipped-ne:after,
+.tooltipped-nw:after {
right: 50%;
bottom: 100%;
margin-bottom: 5px;
}
-.tooltipped-n:before, .tooltipped-ne:before, .tooltipped-nw:before {
+
+.tooltipped-n:before,
+.tooltipped-ne:before,
+.tooltipped-nw:before {
top: -5px;
right: 50%;
bottom: auto;
margin-right: -5px;
border-top-color: rgba(0, 0, 0, 0.8);
}
+
.tooltipped-ne:after {
right: auto;
left: 50%;
margin-left: -15px;
}
+
.tooltipped-nw:after {
margin-right: -15px;
}
-.tooltipped-s:after, .tooltipped-n:after {
+
+.tooltipped-s:after,
+.tooltipped-n:after {
transform: translateX(50%);
}
+
.tooltipped-w:after {
right: 100%;
bottom: 50%;
margin-right: 5px;
transform: translateY(50%);
}
+
.tooltipped-w:before {
top: 50%;
bottom: 50%;
@@ -888,12 +1151,14 @@ td {
margin-top: -5px;
border-left-color: rgba(0, 0, 0, 0.8);
}
+
.tooltipped-e:after {
bottom: 50%;
left: 100%;
margin-left: 5px;
transform: translateY(50%);
}
+
.tooltipped-e:before {
top: 50%;
right: -5px;
@@ -901,46 +1166,61 @@ td {
margin-top: -5px;
border-right-color: rgba(0, 0, 0, 0.8);
}
+
.highlightable {
padding: 1rem 0 1rem;
overflow: auto;
position: relative;
}
-.hljs::selection, .hljs span::selection {
+
+.hljs::selection,
+.hljs span::selection {
background: #b7b7b7;
}
+
.lightbox-active #body {
overflow: visible;
}
+
.lightbox-active #body .padding {
overflow: visible;
}
+
#github-contrib i {
vertical-align: middle;
}
+
.featherlight img {
margin: 0 !important;
}
+
.lifecycle #body-inner ul {
list-style: none;
margin: 0;
padding: 2rem 0 0;
position: relative;
}
+
.lifecycle #body-inner ol {
margin: 1rem 0 1rem 0;
padding: 2rem;
position: relative;
}
+
.lifecycle #body-inner ol li {
margin-left: 1rem;
}
-.lifecycle #body-inner ol strong, .lifecycle #body-inner ol label, .lifecycle #body-inner ol th {
+
+.lifecycle #body-inner ol strong,
+.lifecycle #body-inner ol label,
+.lifecycle #body-inner ol th {
text-decoration: underline;
}
+
.lifecycle #body-inner ol ol {
margin-left: -1rem;
}
+
.lifecycle #body-inner h3[class*='level'] {
font-size: 20px;
position: absolute;
@@ -951,57 +1231,69 @@ td {
color: #fff;
background: #1ABC9C;
}
+
.lifecycle #body-inner ol h3 {
margin-top: 1rem !important;
right: 2rem !important;
}
-.lifecycle #body-inner .level-1 + ol {
+
+.lifecycle #body-inner .level-1+ol {
background: #f6fefc;
border: 4px solid #1ABC9C;
color: #16A085;
}
-.lifecycle #body-inner .level-1 + ol h3 {
+
+.lifecycle #body-inner .level-1+ol h3 {
background: #2ECC71;
}
-.lifecycle #body-inner .level-2 + ol {
+
+.lifecycle #body-inner .level-2+ol {
background: #f7fdf9;
border: 4px solid #2ECC71;
color: #27AE60;
}
-.lifecycle #body-inner .level-2 + ol h3 {
+
+.lifecycle #body-inner .level-2+ol h3 {
background: #3498DB;
}
-.lifecycle #body-inner .level-3 + ol {
+
+.lifecycle #body-inner .level-3+ol {
background: #f3f9fd;
border: 4px solid #3498DB;
color: #2980B9;
}
-.lifecycle #body-inner .level-3 + ol h3 {
+
+.lifecycle #body-inner .level-3+ol h3 {
background: #34495E;
}
-.lifecycle #body-inner .level-4 + ol {
+
+.lifecycle #body-inner .level-4+ol {
background: #e4eaf0;
border: 4px solid #34495E;
color: #2C3E50;
}
-.lifecycle #body-inner .level-4 + ol h3 {
+
+.lifecycle #body-inner .level-4+ol h3 {
background: #34495E;
}
+
#top-bar {
/* background: #F6F6F6; */
- background: rgba(255, 237, 226, 0.9);
+ background: rgba(195, 211, 229, 0.82);
/* border-radius: 2px; */
border-radius: 4px;
padding: 0 1rem;
height: 0;
min-height: 3rem;
}
+
#top-github-link {
position: relative;
z-index: 1;
float: right;
display: block;
}
+
#body #breadcrumbs {
height: auto;
margin-bottom: 0;
@@ -1014,36 +1306,45 @@ td {
display: inline-block;
float: left;
}
+
#body #breadcrumbs span {
padding: 0 0.1rem;
}
+
@media only all and (max-width: 59.938em) {
#sidebar {
width: 230px;
}
+
#body {
margin-left: 230px;
}
}
+
@media only all and (max-width: 47.938em) {
#sidebar {
width: 230px;
left: -230px;
}
+
#body {
margin-left: 0;
width: 100%;
}
+
.sidebar-hidden {
overflow: hidden;
}
+
.sidebar-hidden #sidebar {
left: 0;
}
+
.sidebar-hidden #body {
margin-left: 230px;
overflow: hidden;
}
+
.sidebar-hidden #overlay {
position: absolute;
left: 0;
@@ -1055,6 +1356,7 @@ td {
cursor: pointer;
}
}
+
.copy-to-clipboard {
background-image: none;
background-position: 50% 50%;
@@ -1073,9 +1375,11 @@ td {
border-radius: 0 2px 2px 0;
margin-bottom: 1px;
}
+
.copy-to-clipboard:hover {
background-color: #E8E2CD;
}
+
pre .copy-to-clipboard {
position: absolute;
right: 4px;
@@ -1084,17 +1388,19 @@ pre .copy-to-clipboard {
color: #ccc;
border-radius: 2px;
}
+
pre .copy-to-clipboard:hover {
background-color: #656c72;
color: #fff;
}
+
.parent-element {
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
transform-style: preserve-3d;
}
-#sidebar ul.topics > li > a .read-icon {
+#sidebar ul.topics>li>a .read-icon {
margin-top: 9px;
}
@@ -1117,15 +1423,16 @@ pre .copy-to-clipboard:hover {
margin: 4px 0 0 0;
text-align: right;
}
-#sidebar ul li.visited > a .read-icon {
+
+#sidebar ul li.visited>a .read-icon {
color: #00bdf3;
display: inline;
}
#sidebar #shortcuts h3 {
font-family: "Novacento Sans Wide", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
- color: white ;
- margin-top:1rem;
+ color: white;
+ margin-top: 1rem;
padding-left: 1rem;
}
@@ -1133,4 +1440,4 @@ pre .copy-to-clipboard:hover {
text-align: left;
}
-/*# sourceMappingURL=theme.css.map */
+/*# sourceMappingURL=theme.css.map */
\ No newline at end of file
diff --git a/docs/community/themes/hugo-theme-learn/static/css/nucleus.css b/docs/community/themes/hugo-theme-learn/static/css/nucleus.css
index 3a50dcd..de56e49 100644
--- a/docs/community/themes/hugo-theme-learn/static/css/nucleus.css
+++ b/docs/community/themes/hugo-theme-learn/static/css/nucleus.css
@@ -1,25 +1,40 @@
-*, *::before, *::after {
+*,
+*::before,
+*::after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
- box-sizing: border-box; }
+ box-sizing: border-box;
+}
@-webkit-viewport {
- width: device-width; }
+ width: device-width;
+}
+
@-moz-viewport {
- width: device-width; }
+ width: device-width;
+}
+
@-ms-viewport {
- width: device-width; }
+ width: device-width;
+}
+
@-o-viewport {
- width: device-width; }
+ width: device-width;
+}
+
@viewport {
- width: device-width; }
+ width: device-width;
+}
+
html {
font-size: 100%;
-ms-text-size-adjust: 100%;
- -webkit-text-size-adjust: 100%; }
+ -webkit-text-size-adjust: 100%;
+}
body {
- margin: 0; }
+ margin: 0;
+}
article,
aside,
@@ -33,165 +48,218 @@ main,
nav,
section,
summary {
- display: block; }
+ display: block;
+}
audio,
canvas,
progress,
video {
display: inline-block;
- vertical-align: baseline; }
+ vertical-align: baseline;
+}
audio:not([controls]) {
display: none;
- height: 0; }
+ height: 0;
+}
[hidden],
template {
- display: none; }
+ display: none;
+}
a {
background: transparent;
- text-decoration: none; }
+ text-decoration: none;
+}
a:active,
a:hover {
- outline: 0; }
+ outline: 0;
+}
abbr[title] {
- border-bottom: 1px dotted; }
+ border-bottom: 1px dotted;
+}
b,
strong {
- font-weight: bold; }
+ font-weight: bold;
+}
dfn {
- font-style: italic; }
+ font-style: italic;
+}
mark {
background: #FFFF27;
- color: #333; }
+ color: #333;
+}
sub,
sup {
font-size: 0.8rem;
line-height: 0;
position: relative;
- vertical-align: baseline; }
+ vertical-align: baseline;
+}
sup {
- top: -0.5em; }
+ top: -0.5em;
+}
sub {
- bottom: -0.25em; }
+ bottom: -0.25em;
+}
img {
border: 0;
- max-width: 100%; }
+ max-width: 100%;
+}
svg:not(:root) {
- overflow: hidden; }
+ overflow: hidden;
+}
figure {
- margin: 1em 40px; }
+ margin: 1em 40px;
+}
hr {
- height: 0; }
+ height: 0;
+}
pre {
- overflow: auto; }
+ overflow: auto;
+}
button,
input,
optgroup,
select,
textarea {
- color: inherit;
+ /* color: inherit; */
+ color: rgba(200, 200, 200, 1);
font: inherit;
- margin: 0; }
+ margin: 0;
+}
button {
- overflow: visible; }
+ overflow: visible;
+}
button,
select {
- text-transform: none; }
+ text-transform: none;
+}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button;
- cursor: pointer; }
+ cursor: pointer;
+}
button[disabled],
html input[disabled] {
- cursor: default; }
+ cursor: default;
+}
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
- padding: 0; }
+ padding: 0;
+}
input {
- line-height: normal; }
+ line-height: normal;
+}
input[type="checkbox"],
input[type="radio"] {
- padding: 0; }
+ padding: 0;
+}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
- height: auto; }
+ height: auto;
+}
input[type="search"] {
- -webkit-appearance: textfield; }
+ -webkit-appearance: textfield;
+}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
- -webkit-appearance: none; }
+ -webkit-appearance: none;
+}
legend {
border: 0;
- padding: 0; }
+ padding: 0;
+}
textarea {
- overflow: auto; }
+ overflow: auto;
+}
optgroup {
- font-weight: bold; }
+ font-weight: bold;
+}
table {
border-collapse: collapse;
border-spacing: 0;
table-layout: fixed;
- width: 100%; }
+ width: 100%;
+}
-tr, td, th {
- vertical-align: middle; }
+tr,
+td,
+th {
+ vertical-align: middle;
+}
-th, td {
- padding: 0.425rem 0; }
+th,
+td {
+ padding: 0.425rem 0;
+}
th {
- text-align: left; }
+ text-align: left;
+}
.container {
width: 75em;
margin: 0 auto;
- padding: 0; }
- @media only all and (min-width: 60em) and (max-width: 74.938em) {
- .container {
- width: 60em; } }
- @media only all and (min-width: 48em) and (max-width: 59.938em) {
- .container {
- width: 48em; } }
- @media only all and (min-width: 30.063em) and (max-width: 47.938em) {
- .container {
- width: 30em; } }
- @media only all and (max-width: 30em) {
- .container {
- width: 100%; } }
+ padding: 0;
+}
+
+@media only all and (min-width: 60em) and (max-width: 74.938em) {
+ .container {
+ width: 60em;
+ }
+}
+
+@media only all and (min-width: 48em) and (max-width: 59.938em) {
+ .container {
+ width: 48em;
+ }
+}
+
+@media only all and (min-width: 30.063em) and (max-width: 47.938em) {
+ .container {
+ width: 30em;
+ }
+}
+
+@media only all and (max-width: 30em) {
+ .container {
+ width: 100%;
+ }
+}
.grid {
display: -webkit-box;
@@ -206,12 +274,16 @@ th {
flex-flow: row;
list-style: none;
margin: 0;
- padding: 0; }
- @media only all and (max-width: 47.938em) {
- .grid {
- -webkit-flex-flow: row wrap;
- -moz-flex-flow: row wrap;
- flex-flow: row wrap; } }
+ padding: 0;
+}
+
+@media only all and (max-width: 47.938em) {
+ .grid {
+ -webkit-flex-flow: row wrap;
+ -moz-flex-flow: row wrap;
+ flex-flow: row wrap;
+ }
+}
.block {
-webkit-box-flex: 1;
@@ -222,20 +294,25 @@ th {
-ms-flex: 1;
flex: 1;
min-width: 0;
- min-height: 0; }
- @media only all and (max-width: 47.938em) {
- .block {
- -webkit-box-flex: 0;
- -moz-box-flex: 0;
- box-flex: 0;
- -webkit-flex: 0 100%;
- -moz-flex: 0 100%;
- -ms-flex: 0 100%;
- flex: 0 100%; } }
+ min-height: 0;
+}
+
+@media only all and (max-width: 47.938em) {
+ .block {
+ -webkit-box-flex: 0;
+ -moz-box-flex: 0;
+ box-flex: 0;
+ -webkit-flex: 0 100%;
+ -moz-flex: 0 100%;
+ -ms-flex: 0 100%;
+ flex: 0 100%;
+ }
+}
.content {
margin: 0.625rem;
- padding: 0.938rem; }
+ padding: 0.938rem;
+}
@media only all and (max-width: 47.938em) {
body [class*="size-"] {
@@ -245,7 +322,9 @@ th {
-webkit-flex: 0 100%;
-moz-flex: 0 100%;
-ms-flex: 0 100%;
- flex: 0 100%; } }
+ flex: 0 100%;
+ }
+}
.size-1-2 {
-webkit-box-flex: 0;
@@ -254,7 +333,8 @@ th {
-webkit-flex: 0 50%;
-moz-flex: 0 50%;
-ms-flex: 0 50%;
- flex: 0 50%; }
+ flex: 0 50%;
+}
.size-1-3 {
-webkit-box-flex: 0;
@@ -263,7 +343,8 @@ th {
-webkit-flex: 0 33.33333%;
-moz-flex: 0 33.33333%;
-ms-flex: 0 33.33333%;
- flex: 0 33.33333%; }
+ flex: 0 33.33333%;
+}
.size-1-4 {
-webkit-box-flex: 0;
@@ -272,7 +353,8 @@ th {
-webkit-flex: 0 25%;
-moz-flex: 0 25%;
-ms-flex: 0 25%;
- flex: 0 25%; }
+ flex: 0 25%;
+}
.size-1-5 {
-webkit-box-flex: 0;
@@ -281,7 +363,8 @@ th {
-webkit-flex: 0 20%;
-moz-flex: 0 20%;
-ms-flex: 0 20%;
- flex: 0 20%; }
+ flex: 0 20%;
+}
.size-1-6 {
-webkit-box-flex: 0;
@@ -290,7 +373,8 @@ th {
-webkit-flex: 0 16.66667%;
-moz-flex: 0 16.66667%;
-ms-flex: 0 16.66667%;
- flex: 0 16.66667%; }
+ flex: 0 16.66667%;
+}
.size-1-7 {
-webkit-box-flex: 0;
@@ -299,7 +383,8 @@ th {
-webkit-flex: 0 14.28571%;
-moz-flex: 0 14.28571%;
-ms-flex: 0 14.28571%;
- flex: 0 14.28571%; }
+ flex: 0 14.28571%;
+}
.size-1-8 {
-webkit-box-flex: 0;
@@ -308,7 +393,8 @@ th {
-webkit-flex: 0 12.5%;
-moz-flex: 0 12.5%;
-ms-flex: 0 12.5%;
- flex: 0 12.5%; }
+ flex: 0 12.5%;
+}
.size-1-9 {
-webkit-box-flex: 0;
@@ -317,7 +403,8 @@ th {
-webkit-flex: 0 11.11111%;
-moz-flex: 0 11.11111%;
-ms-flex: 0 11.11111%;
- flex: 0 11.11111%; }
+ flex: 0 11.11111%;
+}
.size-1-10 {
-webkit-box-flex: 0;
@@ -326,7 +413,8 @@ th {
-webkit-flex: 0 10%;
-moz-flex: 0 10%;
-ms-flex: 0 10%;
- flex: 0 10%; }
+ flex: 0 10%;
+}
.size-1-11 {
-webkit-box-flex: 0;
@@ -335,7 +423,8 @@ th {
-webkit-flex: 0 9.09091%;
-moz-flex: 0 9.09091%;
-ms-flex: 0 9.09091%;
- flex: 0 9.09091%; }
+ flex: 0 9.09091%;
+}
.size-1-12 {
-webkit-box-flex: 0;
@@ -344,7 +433,8 @@ th {
-webkit-flex: 0 8.33333%;
-moz-flex: 0 8.33333%;
-ms-flex: 0 8.33333%;
- flex: 0 8.33333%; }
+ flex: 0 8.33333%;
+}
@media only all and (min-width: 48em) and (max-width: 59.938em) {
.size-tablet-1-2 {
@@ -354,7 +444,8 @@ th {
-webkit-flex: 0 50%;
-moz-flex: 0 50%;
-ms-flex: 0 50%;
- flex: 0 50%; }
+ flex: 0 50%;
+ }
.size-tablet-1-3 {
-webkit-box-flex: 0;
@@ -363,7 +454,8 @@ th {
-webkit-flex: 0 33.33333%;
-moz-flex: 0 33.33333%;
-ms-flex: 0 33.33333%;
- flex: 0 33.33333%; }
+ flex: 0 33.33333%;
+ }
.size-tablet-1-4 {
-webkit-box-flex: 0;
@@ -372,7 +464,8 @@ th {
-webkit-flex: 0 25%;
-moz-flex: 0 25%;
-ms-flex: 0 25%;
- flex: 0 25%; }
+ flex: 0 25%;
+ }
.size-tablet-1-5 {
-webkit-box-flex: 0;
@@ -381,7 +474,8 @@ th {
-webkit-flex: 0 20%;
-moz-flex: 0 20%;
-ms-flex: 0 20%;
- flex: 0 20%; }
+ flex: 0 20%;
+ }
.size-tablet-1-6 {
-webkit-box-flex: 0;
@@ -390,7 +484,8 @@ th {
-webkit-flex: 0 16.66667%;
-moz-flex: 0 16.66667%;
-ms-flex: 0 16.66667%;
- flex: 0 16.66667%; }
+ flex: 0 16.66667%;
+ }
.size-tablet-1-7 {
-webkit-box-flex: 0;
@@ -399,7 +494,8 @@ th {
-webkit-flex: 0 14.28571%;
-moz-flex: 0 14.28571%;
-ms-flex: 0 14.28571%;
- flex: 0 14.28571%; }
+ flex: 0 14.28571%;
+ }
.size-tablet-1-8 {
-webkit-box-flex: 0;
@@ -408,7 +504,8 @@ th {
-webkit-flex: 0 12.5%;
-moz-flex: 0 12.5%;
-ms-flex: 0 12.5%;
- flex: 0 12.5%; }
+ flex: 0 12.5%;
+ }
.size-tablet-1-9 {
-webkit-box-flex: 0;
@@ -417,7 +514,8 @@ th {
-webkit-flex: 0 11.11111%;
-moz-flex: 0 11.11111%;
-ms-flex: 0 11.11111%;
- flex: 0 11.11111%; }
+ flex: 0 11.11111%;
+ }
.size-tablet-1-10 {
-webkit-box-flex: 0;
@@ -426,7 +524,8 @@ th {
-webkit-flex: 0 10%;
-moz-flex: 0 10%;
-ms-flex: 0 10%;
- flex: 0 10%; }
+ flex: 0 10%;
+ }
.size-tablet-1-11 {
-webkit-box-flex: 0;
@@ -435,7 +534,8 @@ th {
-webkit-flex: 0 9.09091%;
-moz-flex: 0 9.09091%;
-ms-flex: 0 9.09091%;
- flex: 0 9.09091%; }
+ flex: 0 9.09091%;
+ }
.size-tablet-1-12 {
-webkit-box-flex: 0;
@@ -444,7 +544,10 @@ th {
-webkit-flex: 0 8.33333%;
-moz-flex: 0 8.33333%;
-ms-flex: 0 8.33333%;
- flex: 0 8.33333%; } }
+ flex: 0 8.33333%;
+ }
+}
+
@media only all and (max-width: 47.938em) {
@supports not (flex-wrap: wrap) {
.grid {
@@ -455,7 +558,8 @@ th {
-webkit-flex-wrap: inherit;
-moz-flex-wrap: inherit;
-ms-flex-wrap: inherit;
- flex-wrap: inherit; }
+ flex-wrap: inherit;
+ }
.block {
display: block;
@@ -465,147 +569,238 @@ th {
-webkit-flex: inherit;
-moz-flex: inherit;
-ms-flex: inherit;
- flex: inherit; } } }
+ flex: inherit;
+ }
+ }
+}
+
.first-block {
-webkit-box-ordinal-group: 0;
-webkit-order: -1;
-ms-flex-order: -1;
- order: -1; }
+ order: -1;
+}
.last-block {
-webkit-box-ordinal-group: 2;
-webkit-order: 1;
-ms-flex-order: 1;
- order: 1; }
+ order: 1;
+}
.fixed-blocks {
-webkit-flex-flow: row wrap;
-moz-flex-flow: row wrap;
- flex-flow: row wrap; }
+ flex-flow: row wrap;
+}
+
+.fixed-blocks .block {
+ -webkit-box-flex: inherit;
+ -moz-box-flex: inherit;
+ box-flex: inherit;
+ -webkit-flex: inherit;
+ -moz-flex: inherit;
+ -ms-flex: inherit;
+ flex: inherit;
+ width: 25%;
+}
+
+@media only all and (min-width: 60em) and (max-width: 74.938em) {
+ .fixed-blocks .block {
+ width: 33.33333%;
+ }
+}
+
+@media only all and (min-width: 48em) and (max-width: 59.938em) {
+ .fixed-blocks .block {
+ width: 50%;
+ }
+}
+
+@media only all and (max-width: 47.938em) {
.fixed-blocks .block {
- -webkit-box-flex: inherit;
- -moz-box-flex: inherit;
- box-flex: inherit;
- -webkit-flex: inherit;
- -moz-flex: inherit;
- -ms-flex: inherit;
- flex: inherit;
- width: 25%; }
- @media only all and (min-width: 60em) and (max-width: 74.938em) {
- .fixed-blocks .block {
- width: 33.33333%; } }
- @media only all and (min-width: 48em) and (max-width: 59.938em) {
- .fixed-blocks .block {
- width: 50%; } }
- @media only all and (max-width: 47.938em) {
- .fixed-blocks .block {
- width: 100%; } }
+ width: 100%;
+ }
+}
body {
font-size: 1.05rem;
- line-height: 1.7; }
-
-h1, h2, h3, h4, h5, h6 {
+ line-height: 1.7;
+}
+
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
margin: 0.85rem 0 1.7rem 0;
- text-rendering: optimizeLegibility; }
+ text-rendering: optimizeLegibility;
+}
h1 {
- font-size: 3.25rem; }
+ font-size: 3.25rem;
+}
h2 {
- font-size: 2.55rem; }
+ font-size: 2.55rem;
+}
h3 {
- font-size: 2.15rem; }
+ font-size: 2.15rem;
+}
h4 {
- font-size: 1.8rem; }
+ font-size: 1.8rem;
+}
h5 {
- font-size: 1.4rem; }
+ font-size: 1.4rem;
+}
h6 {
- font-size: 0.9rem; }
+ font-size: 0.9rem;
+}
p {
- margin: 1.7rem 0; }
+ margin: 1.7rem 0;
+}
/* ul, */
ol {
margin-top: 1.7rem;
- margin-bottom: 1.7rem; }
- ul ul, ul ol, ol ul, ol ol {
- margin-top: 0;
- margin-bottom: 0; }
+ margin-bottom: 1.7rem;
+}
+
+ul ul,
+ul ol,
+ol ul,
+ol ol {
+ margin-top: 0;
+ margin-bottom: 0;
+}
blockquote {
margin: 1.7rem 0;
- padding-left: 0.85rem; }
+ padding-left: 0.85rem;
+}
cite {
display: block;
- font-size: 0.925rem; }
- cite:before {
- content: "\2014 \0020"; }
+ font-size: 0.925rem;
+}
+
+cite:before {
+ content: "\2014 \0020";
+}
pre {
margin: 1.7rem 0;
- padding: 0.938rem; }
+ padding: 0.938rem;
+}
code {
- vertical-align: bottom; }
+ vertical-align: bottom;
+}
small {
- font-size: 0.925rem; }
+ font-size: 0.925rem;
+}
hr {
border-left: none;
border-right: none;
border-top: none;
- margin: 1.7rem 0; }
+ margin: 1.7rem 0;
+}
fieldset {
border: 0;
padding: 0.938rem;
- margin: 0 0 1.7rem 0; }
+ margin: 0 0 1.7rem 0;
+}
input,
label,
select {
- display: block; }
+ display: block;
+}
label {
- margin-bottom: 0.425rem; }
- label.required:after {
- content: "*"; }
- label abbr {
- display: none; }
+ margin-bottom: 0.425rem;
+}
+
+label.required:after {
+ content: "*";
+}
-textarea, input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], input[type="color"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="time"], input[type="week"], select[multiple=multiple] {
+label abbr {
+ display: none;
+}
+
+textarea,
+input[type="email"],
+input[type="number"],
+input[type="password"],
+input[type="search"],
+input[type="tel"],
+input[type="text"],
+input[type="url"],
+input[type="color"],
+input[type="date"],
+input[type="datetime"],
+input[type="datetime-local"],
+input[type="month"],
+input[type="time"],
+input[type="week"],
+select[multiple=multiple] {
-webkit-transition: border-color;
-moz-transition: border-color;
transition: border-color;
border-radius: 0.1875rem;
margin-bottom: 0.85rem;
padding: 0.425rem 0.425rem;
- width: 100%; }
- textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="text"]:focus, input[type="url"]:focus, input[type="color"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, select[multiple=multiple]:focus {
- outline: none; }
+ width: 100%;
+}
+
+textarea:focus,
+input[type="email"]:focus,
+input[type="number"]:focus,
+input[type="password"]:focus,
+input[type="search"]:focus,
+input[type="tel"]:focus,
+input[type="text"]:focus,
+input[type="url"]:focus,
+input[type="color"]:focus,
+input[type="date"]:focus,
+input[type="datetime"]:focus,
+input[type="datetime-local"]:focus,
+input[type="month"]:focus,
+input[type="time"]:focus,
+input[type="week"]:focus,
+select[multiple=multiple]:focus {
+ outline: none;
+}
textarea {
- resize: vertical; }
+ resize: vertical;
+}
-input[type="checkbox"], input[type="radio"] {
+input[type="checkbox"],
+input[type="radio"] {
display: inline;
- margin-right: 0.425rem; }
+ margin-right: 0.425rem;
+}
input[type="file"] {
- width: 100%; }
+ width: 100%;
+}
select {
width: auto;
max-width: 100%;
- margin-bottom: 1.7rem; }
+ margin-bottom: 1.7rem;
+}
button,
input[type="submit"] {
@@ -613,6 +808,7 @@ input[type="submit"] {
user-select: none;
vertical-align: middle;
white-space: nowrap;
- border: inherit; }
+ border: inherit;
+}
-/*# sourceMappingURL=nucleus.css.map */
+/*# sourceMappingURL=nucleus.css.map */
\ No newline at end of file
diff --git a/docs/document/static/css/theme-black.css b/docs/document/static/css/theme-black.css
index f0d5cca..faa5e9d 100644
--- a/docs/document/static/css/theme-black.css
+++ b/docs/document/static/css/theme-black.css
@@ -1,5 +1,7 @@
@charset "UTF-8";
-#top-github-link, #body #breadcrumbs {
+
+#top-github-link,
+#body #breadcrumbs {
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
@@ -8,13 +10,18 @@
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
-.button, .button-secondary {
+
+.button,
+.button-secondary {
display: inline-block;
padding: 7px 12px;
}
-.button:active, .button-secondary:active {
+
+.button:active,
+.button-secondary:active {
margin: 2px 0 -2px 0;
}
+
@font-face {
font-family: 'Novacento Sans Wide';
src: url("../fonts/Novecentosanswide-UltraLight-webfont.eot");
@@ -22,82 +29,158 @@
font-style: normal;
font-weight: 200;
}
+
@font-face {
font-family: 'Work Sans';
font-style: normal;
font-weight: 300;
src: url("../fonts/Work_Sans_300.eot?#iefix") format("embedded-opentype"), url("../fonts/Work_Sans_300.woff") format("woff"), url("../fonts/Work_Sans_300.woff2") format("woff2"), url("../fonts/Work_Sans_300.svg#WorkSans") format("svg"), url("../fonts/Work_Sans_300.ttf") format("truetype");
}
+
@font-face {
font-family: 'Work Sans';
font-style: normal;
font-weight: 500;
src: url("../fonts/Work_Sans_500.eot?#iefix") format("embedded-opentype"), url("../fonts/Work_Sans_500.woff") format("woff"), url("../fonts/Work_Sans_500.woff2") format("woff2"), url("../fonts/Work_Sans_500.svg#WorkSans") format("svg"), url("../fonts/Work_Sans_500.ttf") format("truetype");
}
+
body {
background: #fff;
color: #777;
}
+
body #chapter h1 {
font-size: 3.5rem;
}
+
@media only all and (min-width: 48em) and (max-width: 59.938em) {
body #chapter h1 {
font-size: 3rem;
}
}
+
@media only all and (max-width: 47.938em) {
body #chapter h1 {
font-size: 2rem;
}
}
+
a {
/* color: #00bdf3; */
- color: rgba(197, 43, 0, 0.77);
+ color: rgba(15, 88, 163, 1);
}
+
a:hover {
- color: #0082a7;
+ /* color: #0082a7; */
+ color: #0a4f90;
}
+
pre {
position: relative;
color: #ffffff;
}
+
.bg {
background: #fff;
border: 1px solid #eaeaea;
}
-b, strong, label, th {
+
+b,
+strong,
+label,
+th {
font-weight: 600;
}
-.default-animation, #header #logo-svg, #header #logo-svg path, #sidebar, #sidebar ul, #body, #body .padding, #body .nav {
- -webkit-transition: backgroud-color 0.2s ease;
- -moz-transition: backgroud-color 0.2s ease;
+
+.default-animation,
+#header #logo-svg,
+#header #logo-svg path,
+#sidebar,
+#sidebar ul,
+#body,
+#body .padding,
+#body .nav {
+ -webkit-transition: backgroud-color 0.2s ease;
+ -moz-transition: backgroud-color 0.2s ease;
transition: backgroud-color 0.2s ease;
}
+
#grav-logo {
max-width: 60%;
}
+
#grav-logo path {
fill: #fff !important;
}
+
#sidebar {
font-weight: 300 !important;
}
+
fieldset {
border: 1px solid #ddd;
}
-textarea, input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], input[type="color"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="time"], input[type="week"], select[multiple=multiple] {
+
+textarea,
+input[type="email"],
+input[type="number"],
+input[type="password"],
+input[type="search"],
+input[type="tel"],
+input[type="text"],
+input[type="url"],
+input[type="color"],
+input[type="date"],
+input[type="datetime"],
+input[type="datetime-local"],
+input[type="month"],
+input[type="time"],
+input[type="week"],
+select[multiple=multiple] {
background-color: white;
border: 1px solid #ddd;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
}
-textarea:hover, input[type="email"]:hover, input[type="number"]:hover, input[type="password"]:hover, input[type="search"]:hover, input[type="tel"]:hover, input[type="text"]:hover, input[type="url"]:hover, input[type="color"]:hover, input[type="date"]:hover, input[type="datetime"]:hover, input[type="datetime-local"]:hover, input[type="month"]:hover, input[type="time"]:hover, input[type="week"]:hover, select[multiple=multiple]:hover {
+
+textarea:hover,
+input[type="email"]:hover,
+input[type="number"]:hover,
+input[type="password"]:hover,
+input[type="search"]:hover,
+input[type="tel"]:hover,
+input[type="text"]:hover,
+input[type="url"]:hover,
+input[type="color"]:hover,
+input[type="date"]:hover,
+input[type="datetime"]:hover,
+input[type="datetime-local"]:hover,
+input[type="month"]:hover,
+input[type="time"]:hover,
+input[type="week"]:hover,
+select[multiple=multiple]:hover {
border-color: #c4c4c4;
}
-textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="text"]:focus, input[type="url"]:focus, input[type="color"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, select[multiple=multiple]:focus {
+
+textarea:focus,
+input[type="email"]:focus,
+input[type="number"]:focus,
+input[type="password"]:focus,
+input[type="search"]:focus,
+input[type="tel"]:focus,
+input[type="text"]:focus,
+input[type="url"]:focus,
+input[type="color"]:focus,
+input[type="date"]:focus,
+input[type="datetime"]:focus,
+input[type="datetime-local"]:focus,
+input[type="month"]:focus,
+input[type="time"]:focus,
+input[type="week"]:focus,
+select[multiple=multiple]:focus {
border-color: #00bdf3;
- box-shadow: inset 0 1px 3px rgba(0,0,0,.06),0 0 5px rgba(0,169,218,.7)
+ box-shadow: inset 0 1px 3px rgba(0, 0, 0, .06), 0 0 5px rgba(0, 169, 218, .7)
}
+
#header-wrapper {
background: black;
border-color: black;
@@ -105,16 +188,20 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
border-bottom: 4px solid black;
padding: 1rem;
}
+
#header a {
display: inline-block;
}
+
#header #logo-svg {
width: 8rem;
height: 2rem;
}
+
#header #logo-svg path {
fill: #fff;
}
+
.searchbox {
margin-top: 1rem;
position: relative;
@@ -122,12 +209,14 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
background: #322A38;
border-radius: 4px;
}
+
.searchbox label {
color: rgba(255, 255, 255, 0.8);
position: absolute;
left: 10px;
top: 3px;
}
+
.searchbox span {
color: rgba(255, 255, 255, 0.6);
position: absolute;
@@ -135,9 +224,11 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
top: 3px;
cursor: pointer;
}
+
.searchbox span:hover {
color: rgba(255, 255, 255, 0.9);
}
+
.searchbox input {
display: inline-block;
color: #fff;
@@ -149,28 +240,36 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
margin: 0;
font-weight: 300;
}
+
.searchbox input::-webkit-input-placeholder {
color: rgba(255, 255, 255, 0.6);
}
+
.searchbox input::-moz-placeholder {
color: rgba(255, 255, 255, 0.6);
}
+
.searchbox input:-moz-placeholder {
color: rgba(255, 255, 255, 0.6);
}
+
.searchbox input:-ms-input-placeholder {
color: rgba(255, 255, 255, 0.6);
}
+
#sidebar-toggle-span {
display: none;
}
+
@media only all and (max-width: 47.938em) {
#sidebar-toggle-span {
display: inline;
}
}
+
#sidebar {
- background-color: #322A38;
+ /* background-color: #322A38; */
+ background-color: rgba(2, 30, 62, 0.95);
position: fixed;
top: 0;
width: 300px;
@@ -179,26 +278,33 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
font-weight: 400;
font-size: 15px;
}
+
#sidebar a {
color: #ccc;
}
+
#sidebar a:hover {
color: #e6e6e6;
}
+
#sidebar a.subtitle {
color: rgba(204, 204, 204, 0.6);
}
+
#sidebar hr {
border-bottom: 1px solid #2a232f;
}
+
#sidebar a.padding {
padding: 0 1rem;
}
+
#sidebar h5 {
margin: 2rem 0 0;
position: relative;
line-height: 2;
}
+
#sidebar h5 a {
display: block;
margin-left: 0;
@@ -206,6 +312,7 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
padding-left: 1rem;
padding-right: 1rem;
}
+
#sidebar h5 i {
color: rgba(204, 204, 204, 0.6);
position: absolute;
@@ -213,73 +320,96 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
top: 0.7rem;
font-size: 80%;
}
+
#sidebar h5.parent a {
background: #201b24;
color: #d9d9d9 !important;
}
+
#sidebar h5.active a {
background: #fff;
color: #777 !important;
}
+
#sidebar h5.active i {
color: #777 !important;
}
-#sidebar h5 + ul.topics {
+
+#sidebar h5+ul.topics {
display: none;
margin-top: 0;
}
-#sidebar h5.parent + ul.topics, #sidebar h5.active + ul.topics {
+
+#sidebar h5.parent+ul.topics,
+#sidebar h5.active+ul.topics {
display: block;
}
+
#sidebar ul {
list-style: none;
padding: 0;
margin: 0;
}
+
#sidebar ul.searched a {
color: #999999;
}
+
#sidebar ul.searched .search-match a {
color: #e6e6e6;
}
+
#sidebar ul.searched .search-match a:hover {
color: white;
}
+
#sidebar ul.topics {
margin: 0 1rem;
}
+
#sidebar ul.topics.searched ul {
display: block;
}
+
#sidebar ul.topics ul {
display: none;
padding-bottom: 1rem;
}
+
#sidebar ul.topics ul ul {
padding-bottom: 0;
}
-#sidebar ul.topics li.parent>ul, #sidebar ul.topics > li.active>ul {
+
+#sidebar ul.topics li.parent>ul,
+#sidebar ul.topics>li.active>ul {
display: block;
}
-#sidebar ul.topics > li > a {
+
+#sidebar ul.topics>li>a {
line-height: 2rem;
font-size: 1.1rem;
}
-#sidebar ul.topics > li > a b {
+
+#sidebar ul.topics>li>a b {
opacity: 0.5;
font-weight: normal;
}
-#sidebar ul.topics > li > a .fa {
+
+#sidebar ul.topics>li>a .fa {
margin-top: 9px;
}
-#sidebar ul.topics > li.parent, #sidebar ul.topics > li.active {
- background: #251f29;
+
+#sidebar ul.topics>li.parent,
+#sidebar ul.topics>li.active {
+ /* background: #251f29; */
+ background: rgba(88, 100, 120, 0.41);
margin-left: -1rem;
margin-right: -1rem;
padding-left: 1rem;
padding-right: 1rem;
}
-#sidebar ul li.active > a {
+
+#sidebar ul li.active>a {
background: #fff;
color: #777 !important;
margin-left: -1rem;
@@ -287,81 +417,104 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
padding-left: 1rem;
padding-right: 1rem;
}
+
#sidebar ul li {
padding: 0;
}
-#sidebar ul li.visited + span {
+
+#sidebar ul li.visited+span {
margin-right: 16px;
}
+
#sidebar ul li a {
display: block;
padding: 2px 0;
}
+
#sidebar ul li a span {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
display: block;
}
-#sidebar ul li > a {
+
+#sidebar ul li>a {
padding: 4px 0;
}
-#sidebar ul li.visited > a .read-icon {
+
+#sidebar ul li.visited>a .read-icon {
color: #9c6fb6;
display: inline;
}
+
#sidebar ul li li {
padding-left: 1rem;
text-indent: 0.2rem;
}
+
#main {
background: #f7f7f7;
margin: 0 0 1.563rem 0;
}
+
#body {
position: relative;
margin-left: 300px;
min-height: 100%;
}
-#body img, #body .video-container {
+
+#body img,
+#body .video-container {
margin: auto;
text-align: left;
display: inherit;
- max-width: 100%; /* set img size */
+ max-width: 100%;
+ /* set img size */
}
-#body img.border, #body .video-container.border {
+
+#body img.border,
+#body .video-container.border {
border: 2px solid #e6e6e6 !important;
padding: 2px;
}
-#body img.shadow, #body .video-container.shadow {
+
+#body img.shadow,
+#body .video-container.shadow {
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
+
#body img.inline {
display: inline !important;
margin: 0 !important;
vertical-align: bottom;
}
+
#body .bordered {
border: 1px solid #ccc;
}
+
#body .padding {
padding: 3rem 6rem;
}
+
@media only all and (max-width: 59.938em) {
#body .padding {
position: static;
padding: 15px 3rem;
}
}
+
@media only all and (max-width: 47.938em) {
#body .padding {
padding: 5px 1rem;
}
}
-#body h1 + hr {
+
+#body h1+hr {
margin-top: -1.7rem;
margin-bottom: 3rem;
}
+
@media only all and (max-width: 59.938em) {
#body #navigation {
position: static;
@@ -370,6 +523,7 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
display: table;
}
}
+
#body .nav {
position: fixed;
top: 0;
@@ -381,11 +535,13 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
display: table;
text-align: center;
}
-#body .nav > i {
+
+#body .nav>i {
display: table-cell;
vertical-align: middle;
text-align: center;
}
+
@media only all and (max-width: 59.938em) {
#body .nav {
display: table-cell;
@@ -397,22 +553,28 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
line-height: 100px;
padding-top: 0;
}
- #body .nav > i {
+
+ #body .nav>i {
display: inline-block;
}
}
+
#body .nav:hover {
background: #F6F6F6;
}
+
#body .nav.nav-pref {
left: 0;
}
+
#body .nav.nav-next {
right: 0;
}
+
#body-inner {
margin-bottom: 5rem;
}
+
#chapter {
display: flex;
align-items: center;
@@ -420,30 +582,37 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
height: 100%;
padding: 2rem 0;
}
+
#chapter #body-inner {
padding-bottom: 3rem;
max-width: 90%;
}
+
#chapter h3 {
font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
font-weight: 300;
text-align: center;
}
+
#chapter h1 {
font-size: 5rem;
border-bottom: 4px solid #F0F2F4;
}
+
#chapter p {
text-align: left;
}
+
#footer {
padding: 3rem 1rem;
color: #b3b3b3;
font-size: 13px;
}
+
#footer p {
margin: 0;
}
+
body {
font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
font-weight: 300;
@@ -451,13 +620,19 @@ body {
/* font-size: 18px !important; */
font-size: 16px !important;
}
-h2, h3, h4, h5, h6 {
+
+h2,
+h3,
+h4,
+h5,
+h6 {
font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
text-rendering: optimizeLegibility;
color: #5e5e5e;
font-weight: 400;
letter-spacing: -1px;
}
+
h1 {
font-family: "Novacento Sans Wide", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
text-align: center;
@@ -465,23 +640,28 @@ h1 {
color: #222;
font-weight: 200;
}
+
blockquote {
border-left: 10px solid #F0F2F4;
}
+
blockquote p {
font-size: 1.1rem;
color: #999;
}
+
blockquote cite {
display: block;
text-align: right;
color: #666;
font-size: 1.2rem;
}
+
div.notices {
margin: 2rem 0;
position: relative;
}
+
div.notices p {
padding: 15px;
display: block;
@@ -490,6 +670,7 @@ div.notices p {
margin-bottom: 0rem;
color: #666;
}
+
div.notices p:first-child:before {
position: absolute;
top: 2px;
@@ -498,37 +679,46 @@ div.notices p:first-child:before {
content: '';
left: 10px;
}
+
div.notices p:first-child:after {
position: absolute;
top: 2px;
color: #fff;
left: 2rem;
}
+
div.notices.info p {
border-top: 30px solid #F0B37E;
background: #FFF2DB;
}
+
div.notices.info p:first-child:after {
content: 'Info';
}
+
div.notices.warning p {
border-top: 30px solid rgba(217, 83, 79, 0.8);
background: #FAE2E2;
}
+
div.notices.warning p:first-child:after {
content: 'Warning';
}
+
div.notices.note p {
border-top: 30px solid #6AB0DE;
background: #E7F2FA;
}
+
div.notices.note p:first-child:after {
content: 'Note';
}
+
div.notices.tip p {
border-top: 30px solid rgba(92, 184, 92, 0.8);
background: #E6F9E6;
}
+
div.notices.tip p:first-child:after {
content: 'Tip';
}
@@ -600,42 +790,52 @@ section.attachments.grey .attachments-files {
font-size: small;
margin-top: 0px;
padding-top: 0px;
- margin-bottom: 0px;
+ margin-bottom: 0px;
padding-bottom: 0px;
}
+
.children-li p {
font-size: small;
font-style: italic;
}
-.children-h2 p, .children-h3 p {
+
+.children-h2 p,
+.children-h3 p {
font-size: small;
margin-top: 0px;
padding-top: 0px;
- margin-bottom: 0px;
+ margin-bottom: 0px;
padding-bottom: 0px;
}
-.children h3,.children h2 {
+
+.children h3,
+.children h2 {
margin-bottom: 0px;
margin-top: 5px;
}
-code, kbd, pre, samp {
+code,
+kbd,
+pre,
+samp {
font-family: "Consolas", menlo, monospace;
font-size: 92%;
}
+
code {
border-radius: 2px;
white-space: nowrap;
color: #5e5e5e;
/* background: #FFF7DD; */
- background: rgba(244, 51, 12, 0.42);
+ background: rgba(40, 130, 209, 0.23);
border-radius: 0.5rem;
/* border: 1px solid #fbf0cb; */
/* padding: 0px 2px; */
padding: 0px 5px;
}
-code + .copy-to-clipboard {
+
+code+.copy-to-clipboard {
margin-left: -1px;
border-left: 0 !important;
font-size: inherit !important;
@@ -643,6 +843,7 @@ code + .copy-to-clipboard {
height: 21px;
top: 0;
}
+
pre {
padding: 1rem;
margin: 2rem 0;
@@ -651,6 +852,7 @@ pre {
border-radius: 2px;
line-height: 1.15;
}
+
pre code {
color: whitesmoke;
background: inherit;
@@ -660,9 +862,11 @@ pre code {
margin: 0;
font-size: 15px;
}
+
hr {
border-bottom: 4px solid #F0F2F4;
}
+
.page-title {
margin-top: -25px;
padding: 25px;
@@ -671,106 +875,132 @@ hr {
background: #9c6fb6;
color: #fff;
}
+
#body a.anchor-link {
color: #ccc;
}
+
#body a.anchor-link:hover {
color: #9c6fb6;
}
+
#body-inner .tabs-wrapper.ui-theme-badges {
background: #1d1f21;
}
+
#body-inner .tabs-wrapper.ui-theme-badges .tabs-nav li {
font-size: 0.9rem;
text-transform: uppercase;
}
+
#body-inner .tabs-wrapper.ui-theme-badges .tabs-nav li a {
background: #35393c;
}
+
#body-inner .tabs-wrapper.ui-theme-badges .tabs-nav li.current a {
background: #4d5257;
}
+
#body-inner pre {
white-space: pre-wrap;
}
+
.tabs-wrapper pre {
margin: 1rem 0;
border: 0;
padding: 0;
background: inherit;
}
+
table {
border: 1px solid #eaeaea;
table-layout: auto;
}
+
th {
background: #f7f7f7;
padding: 0.5rem;
}
+
td {
padding: 0.5rem;
border: 1px solid #eaeaea;
}
+
.button {
background: #9c6fb6;
color: #fff;
box-shadow: 0 3px 0 #00a5d4;
}
+
.button:hover {
background: #00a5d4;
box-shadow: 0 3px 0 #008db6;
color: #fff;
}
+
.button:active {
box-shadow: 0 1px 0 #008db6;
}
+
.button-secondary {
background: #F8B450;
color: #fff;
box-shadow: 0 3px 0 #f7a733;
}
+
.button-secondary:hover {
background: #f7a733;
box-shadow: 0 3px 0 #f69b15;
color: #fff;
}
+
.button-secondary:active {
box-shadow: 0 1px 0 #f69b15;
}
+
.bullets {
margin: 1.7rem 0;
margin-left: -0.85rem;
margin-right: -0.85rem;
overflow: auto;
}
+
.bullet {
float: left;
padding: 0 0.85rem;
}
+
.two-column-bullet {
width: 50%;
}
+
@media only all and (max-width: 47.938em) {
.two-column-bullet {
width: 100%;
}
}
+
.three-column-bullet {
width: 33.33333%;
}
+
@media only all and (max-width: 47.938em) {
.three-column-bullet {
width: 100%;
}
}
+
.four-column-bullet {
width: 25%;
}
+
@media only all and (max-width: 47.938em) {
.four-column-bullet {
width: 100%;
}
}
+
.bullet-icon {
float: left;
background: #9c6fb6;
@@ -782,21 +1012,27 @@ td {
font-size: 1.75rem;
text-align: center;
}
+
.bullet-icon-1 {
background: #9c6fb6;
}
+
.bullet-icon-2 {
background: #00f3d8;
}
+
.bullet-icon-3 {
background: #e6f300;
}
+
.bullet-content {
margin-left: 4.55rem;
}
+
.tooltipped {
position: relative;
}
+
.tooltipped:after {
position: absolute;
z-index: 1000000;
@@ -817,6 +1053,7 @@ td {
border-radius: 3px;
-webkit-font-smoothing: subpixel-antialiased;
}
+
.tooltipped:before {
position: absolute;
z-index: 1000001;
@@ -828,59 +1065,85 @@ td {
content: "";
border: 5px solid transparent;
}
-.tooltipped:hover:before, .tooltipped:hover:after, .tooltipped:active:before, .tooltipped:active:after, .tooltipped:focus:before, .tooltipped:focus:after {
+
+.tooltipped:hover:before,
+.tooltipped:hover:after,
+.tooltipped:active:before,
+.tooltipped:active:after,
+.tooltipped:focus:before,
+.tooltipped:focus:after {
display: inline-block;
text-decoration: none;
}
-.tooltipped-s:after, .tooltipped-se:after, .tooltipped-sw:after {
+
+.tooltipped-s:after,
+.tooltipped-se:after,
+.tooltipped-sw:after {
top: 100%;
right: 50%;
margin-top: 5px;
}
-.tooltipped-s:before, .tooltipped-se:before, .tooltipped-sw:before {
+
+.tooltipped-s:before,
+.tooltipped-se:before,
+.tooltipped-sw:before {
top: auto;
right: 50%;
bottom: -5px;
margin-right: -5px;
border-bottom-color: rgba(0, 0, 0, 0.8);
}
+
.tooltipped-se:after {
right: auto;
left: 50%;
margin-left: -15px;
}
+
.tooltipped-sw:after {
margin-right: -15px;
}
-.tooltipped-n:after, .tooltipped-ne:after, .tooltipped-nw:after {
+
+.tooltipped-n:after,
+.tooltipped-ne:after,
+.tooltipped-nw:after {
right: 50%;
bottom: 100%;
margin-bottom: 5px;
}
-.tooltipped-n:before, .tooltipped-ne:before, .tooltipped-nw:before {
+
+.tooltipped-n:before,
+.tooltipped-ne:before,
+.tooltipped-nw:before {
top: -5px;
right: 50%;
bottom: auto;
margin-right: -5px;
border-top-color: rgba(0, 0, 0, 0.8);
}
+
.tooltipped-ne:after {
right: auto;
left: 50%;
margin-left: -15px;
}
+
.tooltipped-nw:after {
margin-right: -15px;
}
-.tooltipped-s:after, .tooltipped-n:after {
+
+.tooltipped-s:after,
+.tooltipped-n:after {
transform: translateX(50%);
}
+
.tooltipped-w:after {
right: 100%;
bottom: 50%;
margin-right: 5px;
transform: translateY(50%);
}
+
.tooltipped-w:before {
top: 50%;
bottom: 50%;
@@ -888,12 +1151,14 @@ td {
margin-top: -5px;
border-left-color: rgba(0, 0, 0, 0.8);
}
+
.tooltipped-e:after {
bottom: 50%;
left: 100%;
margin-left: 5px;
transform: translateY(50%);
}
+
.tooltipped-e:before {
top: 50%;
right: -5px;
@@ -901,46 +1166,61 @@ td {
margin-top: -5px;
border-right-color: rgba(0, 0, 0, 0.8);
}
+
.highlightable {
padding: 1rem 0 1rem;
overflow: auto;
position: relative;
}
-.hljs::selection, .hljs span::selection {
+
+.hljs::selection,
+.hljs span::selection {
background: #b7b7b7;
}
+
.lightbox-active #body {
overflow: visible;
}
+
.lightbox-active #body .padding {
overflow: visible;
}
+
#github-contrib i {
vertical-align: middle;
}
+
.featherlight img {
margin: 0 !important;
}
+
.lifecycle #body-inner ul {
list-style: none;
margin: 0;
padding: 2rem 0 0;
position: relative;
}
+
.lifecycle #body-inner ol {
margin: 1rem 0 1rem 0;
padding: 2rem;
position: relative;
}
+
.lifecycle #body-inner ol li {
margin-left: 1rem;
}
-.lifecycle #body-inner ol strong, .lifecycle #body-inner ol label, .lifecycle #body-inner ol th {
+
+.lifecycle #body-inner ol strong,
+.lifecycle #body-inner ol label,
+.lifecycle #body-inner ol th {
text-decoration: underline;
}
+
.lifecycle #body-inner ol ol {
margin-left: -1rem;
}
+
.lifecycle #body-inner h3[class*='level'] {
font-size: 20px;
position: absolute;
@@ -951,57 +1231,69 @@ td {
color: #fff;
background: #1ABC9C;
}
+
.lifecycle #body-inner ol h3 {
margin-top: 1rem !important;
right: 2rem !important;
}
-.lifecycle #body-inner .level-1 + ol {
+
+.lifecycle #body-inner .level-1+ol {
background: #f6fefc;
border: 4px solid #1ABC9C;
color: #16A085;
}
-.lifecycle #body-inner .level-1 + ol h3 {
+
+.lifecycle #body-inner .level-1+ol h3 {
background: #2ECC71;
}
-.lifecycle #body-inner .level-2 + ol {
+
+.lifecycle #body-inner .level-2+ol {
background: #f7fdf9;
border: 4px solid #2ECC71;
color: #27AE60;
}
-.lifecycle #body-inner .level-2 + ol h3 {
+
+.lifecycle #body-inner .level-2+ol h3 {
background: #3498DB;
}
-.lifecycle #body-inner .level-3 + ol {
+
+.lifecycle #body-inner .level-3+ol {
background: #f3f9fd;
border: 4px solid #3498DB;
color: #2980B9;
}
-.lifecycle #body-inner .level-3 + ol h3 {
+
+.lifecycle #body-inner .level-3+ol h3 {
background: #34495E;
}
-.lifecycle #body-inner .level-4 + ol {
+
+.lifecycle #body-inner .level-4+ol {
background: #e4eaf0;
border: 4px solid #34495E;
color: #2C3E50;
}
-.lifecycle #body-inner .level-4 + ol h3 {
+
+.lifecycle #body-inner .level-4+ol h3 {
background: #34495E;
}
+
#top-bar {
/* background: #F6F6F6; */
- background: rgba(255, 237, 226, 0.9);
+ background: rgba(195, 211, 229, 0.82);
/* border-radius: 2px; */
border-radius: 4px;
padding: 0 1rem;
height: 0;
min-height: 3rem;
}
+
#top-github-link {
position: relative;
z-index: 1;
float: right;
display: block;
}
+
#body #breadcrumbs {
height: auto;
margin-bottom: 0;
@@ -1014,36 +1306,45 @@ td {
display: inline-block;
float: left;
}
+
#body #breadcrumbs span {
padding: 0 0.1rem;
}
+
@media only all and (max-width: 59.938em) {
#sidebar {
width: 230px;
}
+
#body {
margin-left: 230px;
}
}
+
@media only all and (max-width: 47.938em) {
#sidebar {
width: 230px;
left: -230px;
}
+
#body {
margin-left: 0;
width: 100%;
}
+
.sidebar-hidden {
overflow: hidden;
}
+
.sidebar-hidden #sidebar {
left: 0;
}
+
.sidebar-hidden #body {
margin-left: 230px;
overflow: hidden;
}
+
.sidebar-hidden #overlay {
position: absolute;
left: 0;
@@ -1055,6 +1356,7 @@ td {
cursor: pointer;
}
}
+
.copy-to-clipboard {
background-image: none;
background-position: 50% 50%;
@@ -1073,9 +1375,11 @@ td {
border-radius: 0 2px 2px 0;
margin-bottom: 1px;
}
+
.copy-to-clipboard:hover {
background-color: #E8E2CD;
}
+
pre .copy-to-clipboard {
position: absolute;
right: 4px;
@@ -1084,17 +1388,19 @@ pre .copy-to-clipboard {
color: #ccc;
border-radius: 2px;
}
+
pre .copy-to-clipboard:hover {
background-color: #656c72;
color: #fff;
}
+
.parent-element {
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
transform-style: preserve-3d;
}
-#sidebar ul.topics > li > a .read-icon {
+#sidebar ul.topics>li>a .read-icon {
margin-top: 9px;
}
@@ -1117,15 +1423,16 @@ pre .copy-to-clipboard:hover {
margin: 4px 0 0 0;
text-align: right;
}
-#sidebar ul li.visited > a .read-icon {
+
+#sidebar ul li.visited>a .read-icon {
color: #00bdf3;
display: inline;
}
#sidebar #shortcuts h3 {
font-family: "Novacento Sans Wide", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
- color: white ;
- margin-top:1rem;
+ color: white;
+ margin-top: 1rem;
padding-left: 1rem;
}
@@ -1133,4 +1440,4 @@ pre .copy-to-clipboard:hover {
text-align: left;
}
-/*# sourceMappingURL=theme.css.map */
+/*# sourceMappingURL=theme.css.map */
\ No newline at end of file
diff --git a/docs/document/themes/hugo-theme-learn/static/css/nucleus.css b/docs/document/themes/hugo-theme-learn/static/css/nucleus.css
index eab44b1..d25224f 100644
--- a/docs/document/themes/hugo-theme-learn/static/css/nucleus.css
+++ b/docs/document/themes/hugo-theme-learn/static/css/nucleus.css
@@ -106,7 +106,8 @@ input,
optgroup,
select,
textarea {
- color: gray;
+ /* color: gray; */
+ color: rgba(200, 200, 200, 1);
font: inherit;
margin: 0; }