Skip to content

Commit

Permalink
#33 add responsive site title styles
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleMit committed Sep 5, 2019
1 parent 1e0cecc commit 2a88f3e
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions src/_includes/assets/styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,10 @@ header.header {
margin: 0px 20px;
}

.site-title {
margin-top: -4px;
margin-left: 1rem;
}
.site-title .doc {
color: #5b9676;
font-size: 0.7em;
Expand Down Expand Up @@ -775,23 +779,36 @@ td svg {


/* media queries */
@media (max-width: 800px) {
.brand { font-size: 2.4rem; }
}

@media (max-width: 650px) {
.brand { font-size: 2.2rem; }
}


@media (max-width: 500px) {
.brand {
font-size: 2rem;
}
.brand svg {
width: 75px;
display:none;
}
.site-title {
margin-left: 1rem;
}
}

@media (max-width: 800px) {
.tag-count {
position: relative;
right: initial;
@media (max-width: 380px) {
.word {
display:none;
}
}




/* print styles */
@media print {
body {
Expand Down

0 comments on commit 2a88f3e

Please sign in to comment.