Move CSS and JS back into assets
This commit is contained in:
parent
1882a48617
commit
a4ce3df63c
10 changed files with 2 additions and 2 deletions
17
assets/less/components/nav.less
Normal file
17
assets/less/components/nav.less
Normal file
|
@ -0,0 +1,17 @@
|
|||
.nav-item {
|
||||
.black-70;
|
||||
.dib;
|
||||
.f6;
|
||||
.link;
|
||||
.ml3;
|
||||
.pv3;
|
||||
|
||||
&:first-child { .ml0 }
|
||||
}
|
||||
|
||||
.nav-item--active {
|
||||
.b--blue;
|
||||
.bb;
|
||||
.black;
|
||||
.bw1;
|
||||
}
|
68
assets/less/components/post.less
Normal file
68
assets/less/components/post.less
Normal file
|
@ -0,0 +1,68 @@
|
|||
pre {
|
||||
.db;
|
||||
.overflow-auto;
|
||||
word-break: normal;
|
||||
word-wrap: no-wrap;
|
||||
}
|
||||
|
||||
pre[class*="language-"] { .bn; .br0 }
|
||||
|
||||
pre code,
|
||||
p code {
|
||||
font-size: .8125rem;
|
||||
}
|
||||
|
||||
pre code,
|
||||
pre code.hljs,
|
||||
.hljs {
|
||||
.db;
|
||||
.pa3;
|
||||
.bl;
|
||||
.bw2;
|
||||
.b--black-40;
|
||||
.mv2;
|
||||
background: #eee;
|
||||
}
|
||||
|
||||
p,
|
||||
li {
|
||||
code {
|
||||
background: #eee;
|
||||
padding: 1px 3px;
|
||||
}
|
||||
}
|
||||
|
||||
pre code {
|
||||
.pre;
|
||||
word-break: normal;
|
||||
}
|
||||
|
||||
pre code .number {
|
||||
.h-auto;
|
||||
.mr0;
|
||||
.pa0;
|
||||
background-color: inherit;
|
||||
font-size: inherit;
|
||||
min-width: auto;
|
||||
}
|
||||
|
||||
code.hljs {
|
||||
.pa0;
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
code[data-gist-id] {
|
||||
.pa0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.note {
|
||||
.bg-light-blue;
|
||||
.bl;
|
||||
.b--blue;
|
||||
.bw2;
|
||||
.pa3;
|
||||
|
||||
p:first-child { .mt0; }
|
||||
p:last-child { .mb0; }
|
||||
}
|
23
assets/less/components/talk.less
Normal file
23
assets/less/components/talk.less
Normal file
|
@ -0,0 +1,23 @@
|
|||
.video { padding-top: 56.25% }
|
||||
|
||||
.video iframe,
|
||||
.video embed {
|
||||
.absolute;
|
||||
.h-100;
|
||||
.left-0;
|
||||
.top-0;
|
||||
.w-100;
|
||||
}
|
||||
|
||||
.slides {
|
||||
background-image: url('../images/loading.gif');
|
||||
min-height: 275px;
|
||||
|
||||
@media @breakpoint-medium {
|
||||
min-height: 460px;
|
||||
}
|
||||
|
||||
@media @breakpoint-large {
|
||||
min-height: 540px;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue