Compare commits

..

No commits in common. "cddbe069f9b7d9611ceaa89e31a7dddf6a6840f5" and "96b2ff773292834b711c5f20f1ec065ec1e9d21b" have entirely different histories.

3 changed files with 53 additions and 34 deletions

View File

@ -10,6 +10,7 @@ body {
line-height: normal; line-height: normal;
color: $font-color; color: $font-color;
background-color: $page-bg-color; background-color: $page-bg-color;
// background: url($page-bg-image) repeat scroll 0 0 $page-bg-color;
} }
h1, h1,

View File

@ -4,6 +4,7 @@ $tablet-width: 768px;
$font-color: #333333; $font-color: #333333;
$navbar-color: #404c5e; $navbar-color: #404c5e;
// $navbar-color: #2262b1;
$navbar-text-color: white; $navbar-text-color: white;
$link-color: #00465c; $link-color: #00465c;
$link-hover-color: #0096c4; $link-hover-color: #0096c4;
@ -16,4 +17,4 @@ $post-bg-color: white;
$image-wrapper-bg-color: #fcfcfc; $image-wrapper-bg-color: #fcfcfc;
$image-wrapper-border-color: #d6d6d6; $image-wrapper-border-color: #d6d6d6;
$table-border-color: #d6d6d6; $table-border-color: #d6d6d6;

View File

@ -10,11 +10,14 @@
} }
nav.navbar { nav.navbar {
background-color: $navbar-color; & {
color: $navbar-text-color; background-color: $navbar-color;
font-size: 1.5rem; color: $navbar-text-color;
padding: 10px 0; font-size: 1.5rem;
margin-bottom: 1rem; padding: 10px 0;
margin-bottom: 1rem;
// line-height: 0%;
}
.logo { .logo {
width: 1.5em; width: 1.5em;
@ -38,10 +41,11 @@ nav.navbar {
} }
.post.single { .post.single {
background-color: $post-bg-color; & {
padding: 24px; background-color: $post-bg-color;
margin-bottom: 16px; padding: 24px;
word-break: break-word; margin-bottom: 16px;
}
p { p {
margin-top: 0; margin-top: 0;
@ -70,13 +74,15 @@ nav.navbar {
} }
.image-wrapper { .image-wrapper {
display: inline-block; & {
text-align: center; display: inline-block;
margin: 0; text-align: center;
margin-bottom: 1em; margin: 0;
padding: 16px; margin-bottom: 1em;
background-color: $image-wrapper-bg-color; padding: 16px;
border: 1px solid $image-wrapper-border-color; background-color: $image-wrapper-bg-color;
border: 1px solid $image-wrapper-border-color;
}
img { img {
width: 100%; width: 100%;
@ -88,11 +94,13 @@ nav.navbar {
} }
blockquote { blockquote {
background-color: #f9f9f9; & {
border-left: 5px solid #ffc7bd; background-color: #f9f9f9;
margin: 0; border-left: 5px solid #ffc7bd;
padding: 1em; margin: 0;
margin-bottom: 1em; padding: 1em;
margin-bottom: 1em;
}
p:last-child { p:last-child {
margin-bottom: 0; margin-bottom: 0;
@ -121,9 +129,11 @@ nav.navbar {
section.posts { section.posts {
display: flex; & {
flex-direction: column; display: flex;
gap: 16px; flex-direction: column;
gap: 16px;
}
.post { .post {
background-color: $post-bg-color; background-color: $post-bg-color;
@ -135,6 +145,7 @@ section.posts {
margin-right: 16px; margin-right: 16px;
margin-bottom: 16px; margin-bottom: 16px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
// border: 1px solid #ccc;
} }
@ -167,12 +178,16 @@ section.posts {
} }
.page-wrapper { .page-wrapper {
display: flex; & {
flex-direction: row; display: flex;
gap: 16px; flex-direction: row;
gap: 16px;
}
@media (max-width: $tablet-width) { @media (max-width: $tablet-width) {
flex-direction: column; & {
flex-direction: column;
}
} }
.content-column { .content-column {
@ -180,11 +195,13 @@ section.posts {
} }
.sidebar { .sidebar {
display: flex; & {
flex-direction: column; display: flex;
min-width: 300px; flex-direction: column;
width: 300px; min-width: 300px;
gap: 16px; width: 300px;
gap: 16px;
}
.item { .item {
background-color: $post-bg-color; background-color: $post-bg-color;