Flex theme.
This commit is contained in:
parent
0bb44cb06f
commit
b35cde0428
30 changed files with 1437 additions and 0 deletions
4
static/css/font-awesome.min.css
vendored
Normal file
4
static/css/font-awesome.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
63
static/css/pygments.min.css
vendored
Normal file
63
static/css/pygments.min.css
vendored
Normal file
|
@ -0,0 +1,63 @@
|
|||
/* https://github.com/richleland/pygments-css/blob/master/github.css */
|
||||
|
||||
.hll { background-color: #ffffcc }
|
||||
.c { color: #999988; font-style: italic }
|
||||
.err { color: #a61717; background-color: #e3d2d2 }
|
||||
.k { color: #000000; font-weight: bold }
|
||||
.o { color: #000000; font-weight: bold }
|
||||
.cm { color: #999988; font-style: italic }
|
||||
.cp { color: #999999; font-weight: bold }
|
||||
.c1 { color: #999988; font-style: italic }
|
||||
.cs { color: #999999; font-weight: bold }
|
||||
.gd { color: #000000; background-color: #ffdddd }
|
||||
.ge { color: #000000; font-style: italic }
|
||||
.gr { color: #aa0000 }
|
||||
.gh { color: #999999 }
|
||||
.gi { color: #000000; background-color: #ddffdd }
|
||||
.go { color: #888888 }
|
||||
.gp { color: #555555 }
|
||||
.gs { font-weight: bold }
|
||||
.gu { color: #aaaaaa }
|
||||
.gt { color: #aa0000 }
|
||||
.kc { color: #000000; font-weight: bold }
|
||||
.kd { color: #000000; font-weight: bold }
|
||||
.kn { color: #000000; font-weight: bold }
|
||||
.kp { color: #000000; font-weight: bold }
|
||||
.kr { color: #000000; font-weight: bold }
|
||||
.kt { color: #445588; font-weight: bold }
|
||||
.m { color: #009999 }
|
||||
.s { color: #d01040 }
|
||||
.na { color: #008080 }
|
||||
.nb { color: #0086B3 }
|
||||
.nc { color: #445588; font-weight: bold }
|
||||
.no { color: #008080 }
|
||||
.nd { color: #3c5d5d; font-weight: bold }
|
||||
.ni { color: #800080 }
|
||||
.ne { color: #990000; font-weight: bold }
|
||||
.nf { color: #990000; font-weight: bold }
|
||||
.nl { color: #990000; font-weight: bold }
|
||||
.nn { color: #555555 }
|
||||
.nt { color: #000080 }
|
||||
.nv { color: #008080 }
|
||||
.ow { color: #000000; font-weight: bold }
|
||||
.w { color: #bbbbbb }
|
||||
.mf { color: #009999 }
|
||||
.mh { color: #009999 }
|
||||
.mi { color: #009999 }
|
||||
.mo { color: #009999 }
|
||||
.sb { color: #d01040 }
|
||||
.sc { color: #d01040 }
|
||||
.sd { color: #d01040 }
|
||||
.s2 { color: #d01040 }
|
||||
.se { color: #d01040 }
|
||||
.sh { color: #d01040 }
|
||||
.si { color: #d01040 }
|
||||
.sx { color: #d01040 }
|
||||
.sr { color: #009926 }
|
||||
.s1 { color: #d01040 }
|
||||
.ss { color: #990073 }
|
||||
.bp { color: #999999 }
|
||||
.vc { color: #008080 }
|
||||
.vg { color: #008080 }
|
||||
.vi { color: #008080 }
|
||||
.il { color: #009999 }
|
381
static/css/style.less
Normal file
381
static/css/style.less
Normal file
|
@ -0,0 +1,381 @@
|
|||
@orange: #D9411E;
|
||||
@light-orange: #FF5A09;
|
||||
@white: #ffffff;
|
||||
@grey: #333333;
|
||||
@light-grey: #eeeeee;
|
||||
@med-grey: #999999;
|
||||
@dark-grey: #242121;
|
||||
@sans: 'Source Sans Pro', sans-serif;
|
||||
@mono: 'Source Code Pro', monospace;
|
||||
|
||||
html, body {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-weight: 300;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
h1{
|
||||
font-size: 2.4em
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 2em
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.6em
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1.2em
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 0.9em
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 0.8em
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: @white;
|
||||
color: @dark-grey;
|
||||
font-family: @sans;
|
||||
font-size: 1.02em;
|
||||
line-height: 1.2em;
|
||||
}
|
||||
|
||||
a {
|
||||
color: @orange;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: @light-orange;
|
||||
}
|
||||
|
||||
hr {
|
||||
color: @light-grey;
|
||||
background-color: @light-grey;
|
||||
height: 1px;
|
||||
border: none;
|
||||
margin-top: 40px;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
aside {
|
||||
background-color: @grey;
|
||||
color: @white;
|
||||
text-align: center;
|
||||
|
||||
a {
|
||||
color: @white;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: @light-grey;
|
||||
}
|
||||
|
||||
.profile {
|
||||
padding: 18px;
|
||||
margin: 0;
|
||||
|
||||
img {
|
||||
border-radius: 50%;
|
||||
max-width: 140px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin: 15px 0 5px 0;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0 0 15px 0;
|
||||
font-size: .85em;
|
||||
}
|
||||
}
|
||||
|
||||
nav {
|
||||
ul {
|
||||
li {
|
||||
padding: 0 8px 0 8px;
|
||||
display: inline;
|
||||
line-height: 1.6em;
|
||||
font-size: 1.2em;
|
||||
text-transform: lowercase;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
main {
|
||||
nav {
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
font-size: .7em;
|
||||
padding: 14px 0 14px 0;
|
||||
border-bottom: @light-grey 1px solid;
|
||||
|
||||
a {
|
||||
padding: 0 4px 0 4px;
|
||||
border-right: @light-grey 1px solid;
|
||||
}
|
||||
|
||||
:first-child {
|
||||
border-left: @light-grey 1px solid;
|
||||
}
|
||||
}
|
||||
|
||||
.pagination {
|
||||
margin: 4% 8% 2% 8%;
|
||||
}
|
||||
|
||||
article {
|
||||
margin: 0 8% 2% 8%;
|
||||
|
||||
header {
|
||||
h2 {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
p {
|
||||
color: @med-grey;
|
||||
font-size: 11px;
|
||||
}
|
||||
}
|
||||
|
||||
code, kbd, samp, pre {
|
||||
font-family: @mono;
|
||||
}
|
||||
|
||||
blockquote, pre {
|
||||
background-color: rgba(128,128,128,0.05);
|
||||
border-top-right-radius: 5px;
|
||||
border-bottom-right-radius: 5px;
|
||||
border-left: 8px solid rgba(128,128,128,0.075);
|
||||
border-left-width: 10px;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
padding: 10px 20px;
|
||||
font-weight: 300;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
pre {
|
||||
padding: 4px;
|
||||
overflow-x: auto;
|
||||
font-size: .9em;
|
||||
}
|
||||
|
||||
kbd {
|
||||
padding: .1em .6em;
|
||||
border: 1px solid rgba(63,63,63,0.25);
|
||||
box-shadow: 0 1px 0 rgba(63,63,63,0.25);
|
||||
background-color: #fff;
|
||||
color: #333;
|
||||
border-radius: 3px;
|
||||
display: inline-block;
|
||||
margin: 0 .1em;
|
||||
white-space: nowrap;
|
||||
font-size: .78em;
|
||||
}
|
||||
|
||||
code {
|
||||
font-size: .72rem;
|
||||
line-height: .72rem;
|
||||
white-space: normal;
|
||||
color: #c25;
|
||||
padding: 1px 3px;
|
||||
background-color: #f7f7f9;
|
||||
border: 1px solid #e1e1e8;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.comment-count {
|
||||
font-size: .8em;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
|
||||
thead:first-child tr:first-child th {
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
th, td {
|
||||
padding: 8px;
|
||||
line-height: 20px;
|
||||
vertical-align: top;
|
||||
border-top: 1px solid #ddd;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
footer {
|
||||
padding-top: 4px;
|
||||
border-top: @light-grey 1px solid;
|
||||
|
||||
p {
|
||||
margin: 2px;
|
||||
text-align: center;
|
||||
padding: 0 40px 0 40px;
|
||||
color: @med-grey;
|
||||
font-size: 11px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 768px) {
|
||||
aside {
|
||||
width: 25%;
|
||||
height: 100%;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
overflow-y: auto;
|
||||
|
||||
.profile {
|
||||
padding: 36px 18px;
|
||||
}
|
||||
|
||||
nav {
|
||||
ul {
|
||||
li {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
main {
|
||||
width: 75%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 25%;
|
||||
overflow-x: hidden;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
.tag-cloud {
|
||||
a {
|
||||
background-color: @orange;
|
||||
padding: .2em .6em .2em;
|
||||
font-size: .74em;
|
||||
line-height: 1;
|
||||
color: @white;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
vertical-align: baseline;
|
||||
border-radius: .25em;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
background-color: @light-orange;
|
||||
}
|
||||
}
|
||||
|
||||
a.btn {
|
||||
background-color: @orange;
|
||||
padding: .4em .6em;
|
||||
font-size: .9em;
|
||||
line-height: 1;
|
||||
color: @white;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
vertical-align: baseline;
|
||||
border-radius: .25em;
|
||||
}
|
||||
|
||||
a.btn:hover {
|
||||
background-color: @light-orange;
|
||||
}
|
||||
|
||||
.float-right {
|
||||
float: right;
|
||||
}
|
||||
|
||||
ul.list, ul.social {
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
ul.social {
|
||||
padding-top: 32px;
|
||||
font-size: 1.8em;
|
||||
|
||||
li {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
z-index: 2;
|
||||
-webkit-transform: translateY(-5px);
|
||||
transform: translateY(-5px);
|
||||
}
|
||||
|
||||
a {
|
||||
display: inline-block;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border-radius: 100%;
|
||||
text-align: center;
|
||||
font-size: .8em;
|
||||
line-height: 36px;
|
||||
}
|
||||
|
||||
a.sc-facebook {
|
||||
background-color: #3e5b98;
|
||||
}
|
||||
|
||||
a.sc-google {
|
||||
background-color: #d93e2d;
|
||||
}
|
||||
|
||||
a.sc-pinterest {
|
||||
background-color: #c92619;
|
||||
}
|
||||
|
||||
a.sc-linkedin {
|
||||
background-color: #3371b7;
|
||||
}
|
||||
|
||||
a.sc-rss {
|
||||
background-color: #f26109;
|
||||
}
|
||||
|
||||
a.sc-twitter {
|
||||
background-color: #4da7de;
|
||||
}
|
||||
|
||||
a.sc-youtube {
|
||||
background-color: #e02a20;
|
||||
}
|
||||
|
||||
a.sc-github, a.sc-github-alt {
|
||||
background-color: #111010;
|
||||
}
|
||||
|
||||
a.sc-email {
|
||||
background-color: #578AD6;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue