old-techblog/assets/main.scss

147 lines
2.2 KiB
SCSS
Raw Normal View History

2017-12-29 13:27:50 +00:00
---
---
2018-01-16 07:24:23 +00:00
$content-width: 750px;
$sidebar-width: 300px;
$on-xl: 1100px;
2017-12-29 13:27:50 +00:00
@import 'minima';
2018-01-16 07:24:23 +00:00
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700|Archivo+Black|Tenor+Sans|Ubuntu+Mono');
2017-12-29 13:27:50 +00:00
html, body, div, p {
2018-01-16 07:24:23 +00:00
font-family: 'Tenor';
letter-spacing: -0.05px;
2018-01-10 07:25:20 +00:00
}
body {
2018-01-16 07:24:23 +00:00
font-size: 18px;
2017-12-29 13:27:50 +00:00
}
h1, h2, h3, h4, h5, h6 {
2018-01-16 07:24:23 +00:00
font-family: 'Archivo Black';
2017-12-29 13:27:50 +00:00
}
pre, code {
font-family: 'Ubuntu Mono';
background-color: #efefef;
}
a, a:active, a:visited {
color: #2d753a;
}
2018-01-16 07:24:23 +00:00
body > header.site-header {
2017-12-29 13:27:50 +00:00
background-color: #000;
2018-01-16 07:24:23 +00:00
border-bottom: none;
border-top: none;
box-shadow: 0px 5px 8px rgba(20, 20, 20, 0.5);
z-index: 1;
2017-12-29 13:27:50 +00:00
.site-title, .site-title:visited {
2018-01-16 07:24:23 +00:00
font-family: 'Roboto';
font-weight: 700;
2017-12-29 13:27:50 +00:00
color: #fff;
2018-01-16 07:24:23 +00:00
letter-spacing: 2px;
2017-12-29 13:27:50 +00:00
}
.site-nav {
2018-01-10 18:48:21 +00:00
z-index: 1;
2017-12-29 13:27:50 +00:00
.page-link, .page-link:visited {
2018-01-16 07:24:23 +00:00
font-family: 'Roboto';
font-weight: 500;
letter-spacing: 1px;
2017-12-29 13:27:50 +00:00
color: #fff;
@include media-query($on-palm) {
color: #000;
}
}
}
}
2018-01-16 07:24:23 +00:00
.page-content {
2018-01-18 06:53:59 +00:00
background: #f6f7f4;
2018-01-16 07:24:23 +00:00
padding-top: 0px;
}
2018-01-10 18:48:21 +00:00
.outer-wrapper {
2018-01-16 07:24:23 +00:00
box-shadow: 5px 2px 15px -4px rgba(0, 0, 0, 0.1);
2018-01-30 14:12:48 +00:00
min-height: 700px;
2018-01-10 18:48:21 +00:00
}
2018-01-16 07:24:23 +00:00
.inner-wrapper {
border-left: 1px solid #ccc;
2018-01-10 07:25:20 +00:00
}
.page-content > .wrapper {
padding-top: 30px;
background: #fff;
}
2018-01-16 07:24:23 +00:00
.post-list h3 a {
font-size: 30px;
}
2018-01-10 18:48:21 +00:00
.post-content p {
line-height: 2em;
}
2017-12-29 13:27:50 +00:00
img.profile {
2018-01-10 18:48:21 +00:00
width: 300px;
}
.sidebar {
line-height: 1.3em;
2018-01-18 06:53:59 +00:00
background: linear-gradient(#eeefed, #fff);
2018-01-16 07:24:23 +00:00
text-align: center;
2018-01-30 14:12:48 +00:00
overflow: auto;
2018-01-10 18:48:21 +00:00
img.me {
width: 140px;
border-radius: 180px;
display: block;
2018-01-16 07:24:23 +00:00
margin: 0px auto 30px auto;
2018-01-10 18:48:21 +00:00
}
a[href*=twitter] img {
width: 120px;
display: block;
margin: 25px auto;
}
2018-01-16 07:24:23 +00:00
p {
font-family: 'Roboto', sans-serif;
font-weight: 400;
font-size: 18px;
line-height: 1.5em;
2018-01-18 06:53:59 +00:00
letter-spacing: 0.06px;
2018-01-16 07:24:23 +00:00
strong {
font-weight: 500;
}
}
2017-12-29 13:27:50 +00:00
}
2018-01-10 07:25:20 +00:00
2018-01-16 07:24:23 +00:00
.share_buttons {
2018-01-10 18:48:21 +00:00
line-height: 1em;
2018-01-16 07:24:23 +00:00
padding: 30px 0px 20px 0px !important;
> p {
margin-bottom: 0px;
line-height: 1.5em;
}
> ul {
margin-left: 0px;
margin-bottom: 0px;
> li > a > div.button {
font-family: Roboto, Helvetica, Arial, sans-serif;
font-weight: 500;
}
}
2018-01-10 18:48:21 +00:00
}