Skip to content
This repository has been archived by the owner on May 12, 2019. It is now read-only.

Commit

Permalink
refactor css scaffold
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Jan 8, 2015
1 parent 350a639 commit 746a526
Show file tree
Hide file tree
Showing 11 changed files with 63 additions and 88 deletions.
2 changes: 1 addition & 1 deletion assets/css/uno.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions assets/css/uno.css.map

Large diffs are not rendered by default.

File renamed without changes.
61 changes: 0 additions & 61 deletions assets/scss/components/_post-list.scss

This file was deleted.

52 changes: 52 additions & 0 deletions assets/scss/sections/_post.scss → assets/scss/components/_post.scss
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,55 @@
}

}

// ------------------------------
// POST LIST
// ------------------------------

.post-list {
margin: 0;
padding: 0;
list-style-type: none;
text-align: left;
li {
margin: 0 0 2.2em 0;
&:last-child {
hr {
display: none;
}
}
}
}

.post-list__post-title {
font-size: 1.5em;
line-height: 1.3em;
margin-top: 0;
margin-bottom: .2em;
// a {
// color: $gray-darkest;
// &:hover {
// color: $hover-color;
//
// }
// }
}

.post-list__meta {
font-size: .9em;
display: block;
margin: .7em 0 0 0;
color: darken($gray, 2%);
}
.post-list__meta--date {
margin-right: .5em;
color: darken($gray, 2%);
}
.post-list__meta--tags {
margin-left: .5em;
}
.post-list__divider {
width: 30%;
margin: 2.2em 0 2.1em 0;
border-top: 1px solid $gray-light;
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
32 changes: 8 additions & 24 deletions assets/scss/uno.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,14 @@
@import url("http://fonts.googleapis.com/css?family=Raleway:400,700|Roboto+Slab:300,400");

// ------------------------------
// THE BASICS
// MODULES
// ------------------------------

@import 'reset.scss';
@import 'grid.scss';
@import 'variables.scss';
@import 'fonts.scss';

// ------------------------------
// GLOBAL STYLES
// ------------------------------

@import 'global.scss';

// ------------------------------
// SECTIONS
// ------------------------------

@import 'sections/post.scss';
@import 'modules/reset.scss';
@import 'modules/grid.scss';
@import 'modules/variables.scss';
@import 'modules/fonts.scss';
@import 'modules/global.scss';

// ------------------------------
// COMPONENTS
Expand All @@ -31,15 +20,10 @@
@import 'components/navigation.scss';
@import 'components/pagination.scss';
@import 'components/icons.scss';
@import 'components/post-list.scss';
@import 'components/post.scss';
@import 'components/forms.scss';
@import 'components/searchs.scss';
@import 'components/images.scss';
@import 'components/effects.scss';
@import 'components/loading.scss';

// ------------------------------
// MEDIA QUERIES
// ------------------------------

@import 'media-queries.scss';
@import 'components/media-queries.scss';

0 comments on commit 746a526

Please sign in to comment.