Skip to content

Commit

Permalink
Fixed css list bug (issue #14)
Browse files Browse the repository at this point in the history
  • Loading branch information
le4ker committed Oct 7, 2015
1 parent 1a74cab commit 9024728
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 30 deletions.
2 changes: 1 addition & 1 deletion _posts/2015-06-10-contact-tutorial.markup
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tags: [ 'tutorial' ]

The contact part of the index page is consisted of two elements:

<ol class="personal-list">
<ol>
<li>Text</li>
<li>Your email address</li>
</ol>
Expand Down
4 changes: 0 additions & 4 deletions _posts/2015-06-19-writing-posts.markup
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,3 @@ So we have to create the tag pages before building and publishing the site.
For now, this has to be done manually, which practically means that you have to add a file under the tags directory, to represent the tag, similar to the existing tutorial.html file. I plan to write a script that will parse the posts, detect the tags and then auto-generate the tag pages.
Tracked by <a href="https://github.com/PanosSakkos/personal-jekyll-theme/issues/2" target="_blank">issue #2</a>
</small>

<small>
Note: If you want to use a list in your posts, consider assigning the class *personal-list*, in order to make the list items render in the center. Tracked by <a href="https://github.com/PanosSakkos/personal-jekyll-theme/issues/14" target="_blank">issue #14</a>
</small>
4 changes: 2 additions & 2 deletions _posts/2015-06-24-intro-layout-tutorial.markup
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ tags: [ 'tutorial' ]

The intro part of the index page is consisted of three elements:

<ol class="personal-list">
<li>A black favicon</li>
<ol>
<li>A black favicon</li>
<li>Text</li>
<li>Background image</li>
<li>Your image</li>
Expand Down
25 changes: 2 additions & 23 deletions css/grayscale.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ a {
font-weight: 400;
}

.personal-list {
.ul,
ol {
text-align: center;
margin: 0 0 35px;
font-size: 20px;
Expand Down Expand Up @@ -292,28 +293,6 @@ a {
}
}

.btn {
text-transform: uppercase;
font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
font-weight: 400;
-webkit-transition: all .3s ease-in-out;
-moz-transition: all .3s ease-in-out;
transition: all .3s ease-in-out;
}

.btn-default {
border: 1px solid $primary;
color: $primary;
background-color: transparent;
&:hover,
&:focus {
border: 1px solid $primary;
outline: none;
color: $dark;
background-color: $primary;
}
}

ul.banner-social-buttons {
margin-top: 0;
}
Expand Down

0 comments on commit 9024728

Please sign in to comment.