Skip to content

Commit

Permalink
Minor css fixes. Adds Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanhogan committed Sep 10, 2016
1 parent 887f29a commit 6d20ffc
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 8 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
build:
gulp build

deploy:
gulp deploy

run:
gulp
2 changes: 0 additions & 2 deletions app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ <h3>Options</h3>
<small>Styles are applied immediately and saved locally.</small>
</li>
</ul>

<a href="/?Main_Page">Main Page</a>
</div>

<div class="container push">
Expand Down
28 changes: 22 additions & 6 deletions app/styles/_themes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ html.sans {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;

h1, h2, h3, h4, h5, h6 {
h1, h2, h3, h4, h5, h6,
#content p:first-of-type b {
font-family: inherit;
}
}
Expand Down Expand Up @@ -107,8 +108,22 @@ html.sans {
background-color: #333;
}

.search-form input {
border-color: #333;
.search-form {
input {
border-color: #333;
}

.search-results {
background: #111;
box-shadow: none;

ol li a {
&:hover, &.active {
background: #222;
color: white;
}
}
}
}

&.main_page {
Expand All @@ -120,7 +135,6 @@ html.sans {
}
}


#mp-itn ul li,
#mp-otd ul li,
#mp-dyk ul li {
Expand Down Expand Up @@ -150,8 +164,10 @@ html.sans {
color: #222 !important;
background: white !important;

> p {
background: -webkit-linear-gradient(#222, transparent 60%);
@media (max-width: 768px) {
> p {
background-image: -webkit-linear-gradient(#222, transparent 60%);
}
}

a {
Expand Down

0 comments on commit 6d20ffc

Please sign in to comment.