Split stylesheets.

Fixes #32
This commit is contained in:
Oliver Davies 2017-05-21 22:04:57 +01:00
parent a89c270c84
commit 12aae75578
23 changed files with 199 additions and 126 deletions

View file

@ -1,18 +0,0 @@
pre
display: block
overflow: auto
word-break: normal
word-wrap: no-wrap
pre[class*="language-"]
border: 0
border-radius: 0
margin: 1.5em 0
pre code
white-space: pre
word-break: normal
code.hljs
background-color: inherit
padding: 0

View file

@ -0,0 +1,39 @@
@import '../../vendor/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/clearfix'
.post-pager
clear: both
margin-top: 2em
.post-pager div
flex: 1
pre
display: block
overflow: auto
word-break: normal
word-wrap: no-wrap
pre[class*="language-"]
border: 0
border-radius: 0
margin: 1.5em 0
pre code
white-space: pre
word-break: normal
code.hljs
background-color: inherit
padding: 0
code[data-gist-id]
background: transparent
padding: 0
.about-author
+clearfix
img
float: left
margin: 0 1em 1em 0
width: 50px

View file

@ -1,3 +1,5 @@
@import '../../vendor/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/clearfix'
.page--blog__list
ul.posts
list-style: none

View file

@ -1,7 +0,0 @@
.about-author
+clearfix
img
float: left
margin: 0 1em 1em 0
width: 50px

View file

@ -1,3 +1,7 @@
@import '../../vendor/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/clearfix'
@import '../../vendor/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/variables'
@import 'mixins'
.experience-item
margin-bottom: $padding-large-vertical * 3
+clearfix

12
assets/sass/main.sass Normal file
View file

@ -0,0 +1,12 @@
@import '../../vendor/bower_components/bootstrap-sass/assets/stylesheets/bootstrap'
@import 'base'
@import 'mixins'
@import 'base/layout'
@import 'base/typography'
@import 'components/availability'
@import 'components/badges'
@import 'components/footer'
@import 'components/meetups'

View file

@ -1,3 +1,6 @@
@import '../../vendor/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/variables'
@import 'mixins'
.project-company
&.has-logo
a:link,

View file

@ -1,21 +0,0 @@
@import '../../vendor/bower_components/bootstrap-sass/assets/stylesheets/bootstrap'
@import 'base'
@import 'mixins'
@import 'base/layout'
@import 'base/typography'
@import 'base/code'
@import 'components/about-author'
@import 'components/availability'
@import 'components/badges'
@import 'components/blog-list'
@import 'components/footer'
@import 'components/meetups'
@import 'components/page-about'
@import 'components/page-post'
@import 'components/page-experience'
@import 'components/page-talk'
@import 'components/project-company'
@import 'components/testimonials'

14
assets/sass/talk.sass Normal file
View file

@ -0,0 +1,14 @@
@import '../../vendor/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/variables'
@import 'mixins'
.talk-full h1
margin-bottom: 25px
.presentation
background: url('../images/loading.gif') no-repeat center
min-height: 275px
width: 100%
+tablet
min-height: 460px
+desktop
min-height: 540px

View file

@ -1,15 +1,3 @@
.talk-full h1
margin-bottom: 25px
.presentation
background: url('../images/loading.gif') no-repeat center
min-height: 275px
width: 100%
+tablet
min-height: 460px
+desktop
min-height: 540px
.talk-event-table
& > thead > tr > th,
& > tbody > tr > td

View file

@ -1,3 +1,7 @@
@import '../../vendor/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/clearfix'
@import '../../vendor/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/variables'
@import 'mixins'
.testimonial
+clearfix
margin-bottom: 10px