reorganise css files
This commit is contained in:
committed by
Benedikt Rötsch
parent
e955555f1a
commit
090e0e332a
4
assets/stylesheets/base/index.css
Normal file
4
assets/stylesheets/base/index.css
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
@import './fonts';
|
||||||
|
@import './typography';
|
||||||
|
@import './formhack';
|
||||||
|
@import './forms';
|
||||||
1
assets/stylesheets/course/index.css
Normal file
1
assets/stylesheets/course/index.css
Normal file
@@ -0,0 +1 @@
|
|||||||
|
@include './card'
|
||||||
@@ -1,3 +1,7 @@
|
|||||||
|
@import './layout';
|
||||||
|
@import './header';
|
||||||
|
@import './footer';
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: var(--color-bg-default);
|
background-color: var(--color-bg-default);
|
||||||
color: var(--color-text-default);
|
color: var(--color-text-default);
|
||||||
@@ -21,72 +25,6 @@ body {
|
|||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wrapper {
|
|
||||||
max-width: var(--content-max-width);
|
|
||||||
margin: 0 auto;
|
|
||||||
padding: 0 2vw;
|
|
||||||
}
|
|
||||||
|
|
||||||
@block wrapper-with-sidebar {
|
|
||||||
@media (--breakpoint-desktop) {
|
|
||||||
display: flex;
|
|
||||||
align-items: flex-start;
|
|
||||||
}
|
|
||||||
|
|
||||||
@element sidebar {
|
|
||||||
@media (--breakpoint-desktop) {
|
|
||||||
flex: 0 0 220px;
|
|
||||||
padding: var(--grid-gutter);
|
|
||||||
border-radius: 7px;
|
|
||||||
box-shadow: var(--card-box-shadow);
|
|
||||||
|
|
||||||
& > h2 {
|
|
||||||
margin-bottom: calc(var(--grid-gutter) * 3);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@element content {
|
|
||||||
padding: var(--grid-gutter) 0;
|
|
||||||
|
|
||||||
@media (--breakpoint-desktop) {
|
|
||||||
flex: 1 1 auto;
|
|
||||||
margin-left: var(--grid-gutter);
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.grid-list {
|
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
justify-content: space-between;
|
|
||||||
margin: 0 calc(var(--grid-gutter) / 2 * -1);
|
|
||||||
|
|
||||||
& > * {
|
|
||||||
box-sizing: border-box;
|
|
||||||
margin: 0 calc(var(--grid-gutter) / 2) var(--grid-gutter);
|
|
||||||
flex: 0 0 calc(50% - var(--grid-gutter));
|
|
||||||
|
|
||||||
@media (--breakpoint-desktop) {
|
|
||||||
flex: 0 0 calc(33% - var(--grid-gutter));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.grid-list-small {
|
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
justify-content: space-between;
|
|
||||||
margin: 0 calc(var(--grid-gutter) / 2 * -1);
|
|
||||||
|
|
||||||
& > * {
|
|
||||||
box-sizing: border-box;
|
|
||||||
margin: 0 calc(var(--grid-gutter) / 2) var(--grid-gutter);
|
|
||||||
flex: 0 0 calc(50% - var(--grid-gutter));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-of-contents {
|
.table-of-contents {
|
||||||
& ul {
|
& ul {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
65
assets/stylesheets/global/layout.css
Normal file
65
assets/stylesheets/global/layout.css
Normal file
@@ -0,0 +1,65 @@
|
|||||||
|
.wrapper {
|
||||||
|
max-width: var(--content-max-width);
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 0 2vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
@block wrapper-with-sidebar {
|
||||||
|
@media (--breakpoint-desktop) {
|
||||||
|
display: flex;
|
||||||
|
align-items: flex-start;
|
||||||
|
}
|
||||||
|
|
||||||
|
@element sidebar {
|
||||||
|
@media (--breakpoint-desktop) {
|
||||||
|
flex: 0 0 220px;
|
||||||
|
padding: var(--grid-gutter);
|
||||||
|
border-radius: 7px;
|
||||||
|
box-shadow: var(--card-box-shadow);
|
||||||
|
|
||||||
|
& > h2 {
|
||||||
|
margin-bottom: calc(var(--grid-gutter) * 3);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@element content {
|
||||||
|
padding: var(--grid-gutter) 0;
|
||||||
|
|
||||||
|
@media (--breakpoint-desktop) {
|
||||||
|
flex: 1 1 auto;
|
||||||
|
margin-left: var(--grid-gutter);
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.grid-list {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: space-between;
|
||||||
|
margin: 0 calc(var(--grid-gutter) / 2 * -1);
|
||||||
|
|
||||||
|
& > * {
|
||||||
|
box-sizing: border-box;
|
||||||
|
margin: 0 calc(var(--grid-gutter) / 2) var(--grid-gutter);
|
||||||
|
flex: 0 0 calc(50% - var(--grid-gutter));
|
||||||
|
|
||||||
|
@media (--breakpoint-desktop) {
|
||||||
|
flex: 0 0 calc(33% - var(--grid-gutter));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.grid-list-small {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: space-between;
|
||||||
|
margin: 0 calc(var(--grid-gutter) / 2 * -1);
|
||||||
|
|
||||||
|
& > * {
|
||||||
|
box-sizing: border-box;
|
||||||
|
margin: 0 calc(var(--grid-gutter) / 2) var(--grid-gutter);
|
||||||
|
flex: 0 0 calc(50% - var(--grid-gutter));
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,17 +1,13 @@
|
|||||||
@import 'normalize.css';
|
@import 'normalize.css';
|
||||||
|
|
||||||
@import './variables';
|
@import './variables';
|
||||||
@import './fonts';
|
|
||||||
|
|
||||||
@import './typography';
|
@import './base';
|
||||||
@import './formhack';
|
|
||||||
@import './forms';
|
|
||||||
@import './hljs-github';
|
|
||||||
|
|
||||||
@import './global';
|
@import './global';
|
||||||
@import './header';
|
|
||||||
@import './footer';
|
@import './hljs-github';
|
||||||
|
|
||||||
@import './course';
|
@import './course';
|
||||||
@import './landing-page';
|
@import './landing-page';
|
||||||
@import './module-lesson';
|
@import './lesson';
|
||||||
|
|||||||
@@ -755,144 +755,6 @@ input[type="reset"]:focus,
|
|||||||
margin-top: -22px;
|
margin-top: -22px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
|
|
||||||
github.com style (c) Vasily Polovnyov <vast@whiteants.net>
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
.hljs {
|
|
||||||
display: block;
|
|
||||||
overflow-x: auto;
|
|
||||||
padding: 0.5em;
|
|
||||||
color: #333;
|
|
||||||
background: #f8f8f8;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hljs-comment,
|
|
||||||
.hljs-quote {
|
|
||||||
color: #998;
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hljs-keyword,
|
|
||||||
.hljs-selector-tag,
|
|
||||||
.hljs-subst {
|
|
||||||
color: #333;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hljs-number,
|
|
||||||
.hljs-literal,
|
|
||||||
.hljs-variable,
|
|
||||||
.hljs-template-variable,
|
|
||||||
.hljs-tag .hljs-attr {
|
|
||||||
color: #008080;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hljs-string,
|
|
||||||
.hljs-doctag {
|
|
||||||
color: #d14;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hljs-title,
|
|
||||||
.hljs-section,
|
|
||||||
.hljs-selector-id {
|
|
||||||
color: #900;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hljs-subst {
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hljs-type,
|
|
||||||
.hljs-class .hljs-title {
|
|
||||||
color: #458;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hljs-tag,
|
|
||||||
.hljs-name,
|
|
||||||
.hljs-attribute {
|
|
||||||
color: #000080;
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hljs-regexp,
|
|
||||||
.hljs-link {
|
|
||||||
color: #009926;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hljs-symbol,
|
|
||||||
.hljs-bullet {
|
|
||||||
color: #990073;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hljs-built_in,
|
|
||||||
.hljs-builtin-name {
|
|
||||||
color: #0086b3;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hljs-meta {
|
|
||||||
color: #999;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hljs-deletion {
|
|
||||||
background: #fdd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hljs-addition {
|
|
||||||
background: #dfd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hljs-emphasis {
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hljs-strong {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
background-color: #fff;
|
|
||||||
color: #2a303a;
|
|
||||||
font-family: 'roboto', Helvetica, sans-serif;
|
|
||||||
font-size: 16px;
|
|
||||||
font-size: 1rem;
|
|
||||||
line-height: 1.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
#main {
|
|
||||||
display: -webkit-box;
|
|
||||||
display: -ms-flexbox;
|
|
||||||
display: flex;
|
|
||||||
-webkit-box-orient: vertical;
|
|
||||||
-webkit-box-direction: normal;
|
|
||||||
-ms-flex-direction: column;
|
|
||||||
flex-direction: column;
|
|
||||||
min-height: 100vh;
|
|
||||||
}
|
|
||||||
|
|
||||||
#main__header {
|
|
||||||
-webkit-box-flex: 0;
|
|
||||||
-ms-flex: 0 0 auto;
|
|
||||||
flex: 0 0 auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
#main__content {
|
|
||||||
-webkit-box-flex: 1;
|
|
||||||
-ms-flex: 1 0 auto;
|
|
||||||
flex: 1 0 auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
#main__footer {
|
|
||||||
-webkit-box-flex: 0;
|
|
||||||
-ms-flex: 0 0 auto;
|
|
||||||
flex: 0 0 auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.wrapper {
|
.wrapper {
|
||||||
max-width: 980px;
|
max-width: 980px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
@@ -994,114 +856,6 @@ body {
|
|||||||
flex: 0 0 calc(50% - 22px);
|
flex: 0 0 calc(50% - 22px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-of-contents ul {
|
|
||||||
list-style: none;
|
|
||||||
margin: 22px 0;
|
|
||||||
padding: 0;
|
|
||||||
padding-left: 44px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-of-contents ul li {
|
|
||||||
margin: 0 0 22px;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-of-contents ul a {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-of-contents ul a.active {
|
|
||||||
position: relative;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-of-contents ul a.active:before,
|
|
||||||
.table-of-contents ul a.active:after {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-of-contents ul a.active:before {
|
|
||||||
content: '';
|
|
||||||
left: -66px;
|
|
||||||
bottom: 0;
|
|
||||||
width: 3px;
|
|
||||||
background: #536171;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-of-contents ul a.active:after {
|
|
||||||
content: '👁';
|
|
||||||
left: -44px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sidebar-menu ul {
|
|
||||||
list-style: none;
|
|
||||||
margin: 22px 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sidebar-menu ul li {
|
|
||||||
margin: 0 0 22px;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sidebar-menu ul a {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sidebar-menu ul a.active {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
.main-navigation ul {
|
|
||||||
display: -webkit-box;
|
|
||||||
display: -ms-flexbox;
|
|
||||||
display: flex;
|
|
||||||
list-style: none;
|
|
||||||
-ms-flex-wrap: wrap;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
-webkit-box-pack: center;
|
|
||||||
-ms-flex-pack: center;
|
|
||||||
justify-content: center;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 700px) {
|
|
||||||
|
|
||||||
.main-navigation ul {
|
|
||||||
-webkit-box-pack: end;
|
|
||||||
-ms-flex-pack: end;
|
|
||||||
justify-content: flex-end;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.main-navigation ul li {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.main-navigation ul li + li {
|
|
||||||
margin-left: 5.5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.main-navigation ul li a {
|
|
||||||
display: block;
|
|
||||||
text-transform: uppercase;
|
|
||||||
font-weight: bold;
|
|
||||||
padding: 0.7em 1em;
|
|
||||||
color: #8091a5;
|
|
||||||
border-radius: 3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.main-navigation ul li a.active,
|
|
||||||
.main-navigation ul li a:hover {
|
|
||||||
background: #f7f9fa;
|
|
||||||
}
|
|
||||||
|
|
||||||
.main-navigation ul li a.active {
|
|
||||||
color: #2a303a;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
margin-bottom: 22px;
|
margin-bottom: 22px;
|
||||||
}
|
}
|
||||||
@@ -1395,7 +1149,16 @@ body {
|
|||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-card {
|
body {
|
||||||
|
background-color: #fff;
|
||||||
|
color: #2a303a;
|
||||||
|
font-family: 'roboto', Helvetica, sans-serif;
|
||||||
|
font-size: 16px;
|
||||||
|
font-size: 1rem;
|
||||||
|
line-height: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#main {
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -1403,66 +1166,237 @@ body {
|
|||||||
-webkit-box-direction: normal;
|
-webkit-box-direction: normal;
|
||||||
-ms-flex-direction: column;
|
-ms-flex-direction: column;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
min-height: 30vh;
|
min-height: 100vh;
|
||||||
padding: 22px;
|
|
||||||
|
|
||||||
border-radius: 3px;
|
|
||||||
-webkit-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, .45);
|
|
||||||
box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, .45);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-card > * + * {
|
#main__header {
|
||||||
margin-top: 22px;
|
-webkit-box-flex: 0;
|
||||||
|
-ms-flex: 0 0 auto;
|
||||||
|
flex: 0 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-card__categories {
|
#main__content {
|
||||||
-webkit-box-flex: 0;
|
-webkit-box-flex: 1;
|
||||||
-ms-flex: 0 0 1.5em;
|
-ms-flex: 1 0 auto;
|
||||||
flex: 0 0 1.5em;
|
flex: 1 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-card__category {
|
#main__footer {
|
||||||
display: inline-block;
|
-webkit-box-flex: 0;
|
||||||
margin-right: 22px;
|
-ms-flex: 0 0 auto;
|
||||||
color: #8091a5;
|
flex: 0 0 auto;
|
||||||
font-size: 0.75em;
|
|
||||||
letter-spacing: 2px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-card__title {
|
.table-of-contents ul {
|
||||||
-webkit-box-flex: 1;
|
list-style: none;
|
||||||
-ms-flex: 1 1 auto;
|
margin: 22px 0;
|
||||||
flex: 1 1 auto;
|
padding: 0;
|
||||||
margin-bottom: 0;
|
padding-left: 44px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-card__description-wrapper {
|
.table-of-contents ul li {
|
||||||
-webkit-box-flex: 1;
|
margin: 0 0 22px;
|
||||||
-ms-flex: 1 1 auto;
|
padding: 0;
|
||||||
flex: 1 1 auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-card__description-wrapper p {
|
.table-of-contents ul a {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table-of-contents ul a.active {
|
||||||
|
position: relative;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table-of-contents ul a.active:before,
|
||||||
|
.table-of-contents ul a.active:after {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table-of-contents ul a.active:before {
|
||||||
|
content: '';
|
||||||
|
left: -66px;
|
||||||
|
bottom: 0;
|
||||||
|
width: 3px;
|
||||||
|
background: #536171;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table-of-contents ul a.active:after {
|
||||||
|
content: '👁';
|
||||||
|
left: -44px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-menu ul {
|
||||||
|
list-style: none;
|
||||||
|
margin: 22px 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-menu ul li {
|
||||||
|
margin: 0 0 22px;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-menu ul a {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-menu ul a.active {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main-navigation ul {
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
list-style: none;
|
||||||
|
-ms-flex-wrap: wrap;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
-webkit-box-pack: center;
|
||||||
|
-ms-flex-pack: center;
|
||||||
|
justify-content: center;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 700px) {
|
||||||
|
|
||||||
|
.main-navigation ul {
|
||||||
|
-webkit-box-pack: end;
|
||||||
|
-ms-flex-pack: end;
|
||||||
|
justify-content: flex-end;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.main-navigation ul li {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-card__link-wrapper {
|
.main-navigation ul li + li {
|
||||||
-webkit-box-flex: 0;
|
margin-left: 5.5px;
|
||||||
-ms-flex: 0 0 auto;
|
|
||||||
flex: 0 0 auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-card__link {
|
.main-navigation ul li a {
|
||||||
display: inline-block;
|
display: block;
|
||||||
padding-bottom: 0.3em;
|
text-transform: uppercase;
|
||||||
border-bottom: 1px solid #5c9fef;
|
font-weight: bold;
|
||||||
text-transform: uppercase;
|
padding: 0.7em 1em;
|
||||||
color: #5c9fef;
|
color: #8091a5;
|
||||||
font-size: 0.75em;
|
border-radius: 3px;
|
||||||
line-height: 2.17;
|
|
||||||
letter-spacing: 2px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.main-navigation ul li a.active,
|
||||||
|
.main-navigation ul li a:hover {
|
||||||
|
background: #f7f9fa;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main-navigation ul li a.active {
|
||||||
|
color: #2a303a;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
|
||||||
|
github.com style (c) Vasily Polovnyov <vast@whiteants.net>
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
padding: 0.5em;
|
||||||
|
color: #333;
|
||||||
|
background: #f8f8f8;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-quote {
|
||||||
|
color: #998;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-subst {
|
||||||
|
color: #333;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-tag .hljs-attr {
|
||||||
|
color: #008080;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-doctag {
|
||||||
|
color: #d14;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-selector-id {
|
||||||
|
color: #900;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-subst {
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-class .hljs-title {
|
||||||
|
color: #458;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-tag,
|
||||||
|
.hljs-name,
|
||||||
|
.hljs-attribute {
|
||||||
|
color: #000080;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-link {
|
||||||
|
color: #009926;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-bullet {
|
||||||
|
color: #990073;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-builtin-name {
|
||||||
|
color: #0086b3;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-meta {
|
||||||
|
color: #999;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-deletion {
|
||||||
|
background: #fdd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-addition {
|
||||||
|
background: #dfd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
@include './card';
|
||||||
|
|
||||||
.module-hero-image {}
|
.module-hero-image {}
|
||||||
|
|
||||||
.module-hero-image__wrapper {
|
.module-hero-image__wrapper {
|
||||||
|
|||||||
Reference in New Issue
Block a user