projects
/
editorial.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Migrated from @blog -> @site
[editorial.git]
/
assets
/
main
/
sass
/
layout
/
_ghost.scss
diff --git
a/assets/main/sass/layout/_ghost.scss
b/assets/main/sass/layout/_ghost.scss
index 314a2175e8da665ad9f8468ec58f1e8cfe705e45..c94026f2b62f0ebfe4d47a75ad578aa88f366990 100644
(file)
--- a/
assets/main/sass/layout/_ghost.scss
+++ b/
assets/main/sass/layout/_ghost.scss
@@
-1,27
+1,44
@@
// Main
// --------------------------------------------
// Main
// --------------------------------------------
-// Fix main cover image bg position
-#wrapper>.bg {
- background-position: top center;
- background-size: cover;
-}
-
-#intro {
- max-width: 800px;
- margin: 0 auto;
+#header .logo {
+ color: #3d4449;
+ font-weight: bold;
}
#header .logo.image {
padding: 0;
border: none;
}
#header .logo.image {
padding: 0;
border: none;
+ display: inline-flex;
+ height: 28px;
+
+ @include breakpoint('<=small') {
+ display: flex;
+ justify-content: center;
+ text-align: center;
+ }
}
#header .logo.image img {
}
#header .logo.image img {
- height:
75
px;
+ height:
28
px;
transform: none !important;
}
transform: none !important;
}
+@include breakpoint('<=small') {
+ #sidebar:not(.inactive) .toggle:before {
+ color: #fff;
+ }
+
+ #sidebar:not(.inactive) .toggle:after {
+ background: #f56a6a;
+ }
+}
+
+#banner {
+ border-bottom: solid 2px rgba(210, 215, 217, 0.75);
+}
+
+
.content {
max-width: 700px;
margin: 0 auto;
.content {
max-width: 700px;
margin: 0 auto;
@@
-37,24
+54,17
@@
justify-content: space-between;
align-items: center;
width: 100%;
justify-content: space-between;
align-items: center;
width: 100%;
-}
-
-.page-number {
- padding: 0 20px;
- border-color: transparent !important;
- color: #222 !important;;
-}
-
-.spacer {
- width: 160px;
+ padding: 3rem 0;
+ border-top: solid 2px rgba(210, 215, 217, 0.75);
}
// Tag Archive
// --------------------------------------------
}
// Tag Archive
// --------------------------------------------
-.tag-header,
-.tag-header p {
+.tag-header {
+ padding: 5em 0 2em 0;
+ border-bottom: solid 2px rgba(210, 215, 217, 0.75);
text-align: center;
}
text-align: center;
}
@@
-66,11
+76,15
@@
display: flex;
flex-direction: column;
align-items: center;
display: flex;
flex-direction: column;
align-items: center;
+ padding: 4em 0 3em 0;
+ border-bottom: solid 2px rgba(210, 215, 217, 0.75);
+ text-align: center;
+
}
.author-profile-image {
flex-shrink: 0;
}
.author-profile-image {
flex-shrink: 0;
- margin: 0 0
20
px 0;
+ margin: 0 0
15
px 0;
width: 100px;
height: 100px;
box-shadow: rgba(255,255,255,0.1) 0 0 0 6px;
width: 100px;
height: 100px;
box-shadow: rgba(255,255,255,0.1) 0 0 0 6px;
@@
-82,7
+96,7
@@
}
.author-header h1 {
}
.author-header h1 {
- margin-bottom:
1
rem;
+ margin-bottom:
0.5
rem;
}
.author-meta {
}
.author-meta {
@@
-290,3
+304,27
@@
.kg-image-card.kg-width-wide + .kg-image-card.kg-width-wide {
margin: -2.25em 0 3em;
}
.kg-image-card.kg-width-wide + .kg-image-card.kg-width-wide {
margin: -2.25em 0 3em;
}
+
+// Error Pages
+// --------------------------------------------
+
+.error-page {
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+}
+
+.error-wrapper {
+ flex-grow: 1;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ height: 100%;
+ width: 100%;
+ padding-bottom: 8rem !important;
+ text-align: center;
+}
+
+.error-code {
+ margin: 0;
+}