summaryrefslogtreecommitdiff
path: root/static/css
diff options
context:
space:
mode:
authorAlexandre Vicenzi <vicenzi.alexandre@gmail.com>2020-02-10 19:38:11 +0100
committerAlexandre Vicenzi <vicenzi.alexandre@gmail.com>2020-02-10 19:38:11 +0100
commit6283825517f49afa18b4bb6f1d820a08f8f6e290 (patch)
tree06337007eed707d40f0135b6d36c2f4d20d59d66 /static/css
parenta56b6f866fe0a9e6aaf3ecaebf43bf3b2a00a88b (diff)
Lanyon update
Diffstat (limited to 'static/css')
-rw-r--r--static/css/hyde.css175
-rw-r--r--static/css/poole.css2
-rw-r--r--static/css/print.css2
-rw-r--r--static/css/syntax.css66
4 files changed, 70 insertions, 175 deletions
diff --git a/static/css/hyde.css b/static/css/hyde.css
index 1ddbdda..6ca0a7f 100644
--- a/static/css/hyde.css
+++ b/static/css/hyde.css
@@ -32,7 +32,7 @@
*/
html {
- font-family: "PT Sans", Helvetica, Arial, sans-serif;
+ font-family: 'Open Sans', 'Roboto', Helvetica, Arial, sans-serif;
}
@media (min-width: 48em) {
html {
@@ -66,7 +66,6 @@ html {
left: 0;
bottom: 0;
width: 18rem;
- text-align: left;
}
}
@@ -79,8 +78,8 @@ html {
.sidebar-about h1 {
color: #fff;
margin-top: 0;
- font-family: "Abril Fatface", serif;
- font-size: 3.25rem;
+ font-size: 2.25rem;
+ font-weight: 400;
}
/* Sidebar nav */
@@ -99,22 +98,6 @@ a.sidebar-nav-item:focus {
font-weight: bold;
}
-/* Sticky sidebar
- *
- * Add the `sidebar-sticky` class to the sidebar's container to affix it the
- * contents to the bottom of the sidebar in tablets and up.
- */
-
-@media (min-width: 48em) {
- .sidebar-sticky {
- position: absolute;
- right: 1rem;
- bottom: 1rem;
- left: 1rem;
- }
-}
-
-
/* Container
*
* Align the contents of the site above the proper threshold with some margin-fu
@@ -122,15 +105,35 @@ a.sidebar-nav-item:focus {
*/
.content {
- padding-top: 4rem;
- padding-bottom: 4rem;
+ padding-top: 2rem;
+ padding-bottom: 2rem;
+ min-height: 50%;
+}
+
+
+html,
+body {
+ height: 100%;
+ width: 100%;
}
+.copyright {
+ font-size: .7rem;
+ text-align: center;
+}
+
+footer {
+ height: 40px;
+}
+
+
@media (min-width: 48em) {
.content {
max-width: 38rem;
margin-left: 20rem;
margin-right: 2rem;
+ margin-bottom: -40px;
+ min-height: 100%;
}
}
@@ -141,110 +144,68 @@ a.sidebar-nav-item:focus {
}
}
-
-/*
- * Reverse layout
- *
- * Flip the orientation of the page by placing the `.sidebar` on the right.
- */
-
-@media (min-width: 48em) {
- .layout-reverse .sidebar {
- left: auto;
- right: 0;
- }
- .layout-reverse .content {
- margin-left: 2rem;
- margin-right: 20rem;
- }
+.img-circle {
+ border-radius: 50%;
}
-@media (min-width: 64em) {
- .layout-reverse .content {
- margin-left: 4rem;
- margin-right: 22rem;
- }
+.img-headshot {
+ border: 6px solid #fff;
+ height: 180px;
+ width: 180px;
}
-
-
-/*
- * Themes
- *
- * As of v1.1, Hyde includes optional themes to color the sidebar and links
- * within blog posts. To use, add the class of your choosing to the `body`.
- */
-
-/* Base16 (http://chriskempson.github.io/base16/#default) */
-
-/* Red */
-.theme-base-08 .sidebar {
- background-color: #ac4142;
-}
-.theme-base-08 .content a,
-.theme-base-08 .related-posts li a:hover {
- color: #ac4142;
+.center {
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
}
-/* Orange */
-.theme-base-09 .sidebar {
- background-color: #d28445;
-}
-.theme-base-09 .content a,
-.theme-base-09 .related-posts li a:hover {
- color: #d28445;
+.sidebar {
+ background-color: #49757a;
+ color: #fff;
}
-/* Yellow */
-.theme-base-0a .sidebar {
- background-color: #f4bf75;
-}
-.theme-base-0a .content a,
-.theme-base-0a .related-posts li a:hover {
- color: #f4bf75;
+.sidebar a,
+.sidebar-about h1 {
+ color: #fff;
}
-/* Green */
-.theme-base-0b .sidebar {
- background-color: #90a959;
-}
-.theme-base-0b .content a,
-.theme-base-0b .related-posts li a:hover {
- color: #90a959;
+footer a,
+.content a,
+.related-posts li a:hover {
+ color: #49757a;
}
-/* Cyan */
-.theme-base-0c .sidebar {
- background-color: #75b5aa;
-}
-.theme-base-0c .content a,
-.theme-base-0c .related-posts li a:hover {
- color: #75b5aa;
+.read-more-link {
+ margin-top: 1rem;
}
-/* Blue */
-.theme-base-0d .sidebar {
- background-color: #6a9fb5;
+.read-more-link a {
+ padding: 8px 16px;
+ border: 1px solid;
+ border-color: #49757a;
+ border-radius: 4px;
}
-.theme-base-0d .content a,
-.theme-base-0d .related-posts li a:hover {
- color: #6a9fb5;
+
+.read-more-link a:hover {
+ text-decoration: none;
}
-/* Magenta */
-.theme-base-0e .sidebar {
- background-color: #aa759f;
+.pull-right {
+ float: right;
}
-.theme-base-0e .content a,
-.theme-base-0e .related-posts li a:hover {
- color: #aa759f;
+
+ul.posts {
+ list-style: none;
}
-/* Brown */
-.theme-base-0f .sidebar {
- background-color: #8f5536;
+.social-icons,
+.sidebar nav {
+ margin-top: 1rem;
}
-.theme-base-0f .content a,
-.theme-base-0f .related-posts li a:hover {
- color: #8f5536;
+
+.social-icons a,
+.social-icons a:hover,
+.social-icons a:focus {
+ text-decoration: none !important;
}
diff --git a/static/css/poole.css b/static/css/poole.css
index ec6a32f..bd7d30e 100644
--- a/static/css/poole.css
+++ b/static/css/poole.css
@@ -304,7 +304,7 @@ tbody tr:nth-child(odd) th {
.page,
.post {
- margin-bottom: 4em;
+ margin-bottom: 2em;
}
/* Blog post or page title */
diff --git a/static/css/print.css b/static/css/print.css
index da8f1df..7c733f3 100644
--- a/static/css/print.css
+++ b/static/css/print.css
@@ -1,4 +1,4 @@
-.sidebar {
+.sidebar, .post-date {
display: none !important;
}
diff --git a/static/css/syntax.css b/static/css/syntax.css
deleted file mode 100644
index 1264b87..0000000
--- a/static/css/syntax.css
+++ /dev/null
@@ -1,66 +0,0 @@
-.hll { background-color: #ffffcc }
- /*{ background: #f0f3f3; }*/
-.c { color: #999; } /* Comment */
-.err { color: #AA0000; background-color: #FFAAAA } /* Error */
-.k { color: #006699; } /* Keyword */
-.o { color: #555555 } /* Operator */
-.cm { color: #0099FF; font-style: italic } /* Comment.Multiline */
-.cp { color: #009999 } /* Comment.Preproc */
-.c1 { color: #999; } /* Comment.Single */
-.cs { color: #999; } /* Comment.Special */
-.gd { background-color: #FFCCCC; border: 1px solid #CC0000 } /* Generic.Deleted */
-.ge { font-style: italic } /* Generic.Emph */
-.gr { color: #FF0000 } /* Generic.Error */
-.gh { color: #003300; } /* Generic.Heading */
-.gi { background-color: #CCFFCC; border: 1px solid #00CC00 } /* Generic.Inserted */
-.go { color: #AAAAAA } /* Generic.Output */
-.gp { color: #000099; } /* Generic.Prompt */
-.gs { } /* Generic.Strong */
-.gu { color: #003300; } /* Generic.Subheading */
-.gt { color: #99CC66 } /* Generic.Traceback */
-.kc { color: #006699; } /* Keyword.Constant */
-.kd { color: #006699; } /* Keyword.Declaration */
-.kn { color: #006699; } /* Keyword.Namespace */
-.kp { color: #006699 } /* Keyword.Pseudo */
-.kr { color: #006699; } /* Keyword.Reserved */
-.kt { color: #007788; } /* Keyword.Type */
-.m { color: #FF6600 } /* Literal.Number */
-.s { color: #d44950 } /* Literal.String */
-.na { color: #4f9fcf } /* Name.Attribute */
-.nb { color: #336666 } /* Name.Builtin */
-.nc { color: #00AA88; } /* Name.Class */
-.no { color: #336600 } /* Name.Constant */
-.nd { color: #9999FF } /* Name.Decorator */
-.ni { color: #999999; } /* Name.Entity */
-.ne { color: #CC0000; } /* Name.Exception */
-.nf { color: #CC00FF } /* Name.Function */
-.nl { color: #9999FF } /* Name.Label */
-.nn { color: #00CCFF; } /* Name.Namespace */
-.nt { color: #2f6f9f; } /* Name.Tag */
-.nv { color: #003333 } /* Name.Variable */
-.ow { color: #000000; } /* Operator.Word */
-.w { color: #bbbbbb } /* Text.Whitespace */
-.mf { color: #FF6600 } /* Literal.Number.Float */
-.mh { color: #FF6600 } /* Literal.Number.Hex */
-.mi { color: #FF6600 } /* Literal.Number.Integer */
-.mo { color: #FF6600 } /* Literal.Number.Oct */
-.sb { color: #CC3300 } /* Literal.String.Backtick */
-.sc { color: #CC3300 } /* Literal.String.Char */
-.sd { color: #CC3300; font-style: italic } /* Literal.String.Doc */
-.s2 { color: #CC3300 } /* Literal.String.Double */
-.se { color: #CC3300; } /* Literal.String.Escape */
-.sh { color: #CC3300 } /* Literal.String.Heredoc */
-.si { color: #AA0000 } /* Literal.String.Interpol */
-.sx { color: #CC3300 } /* Literal.String.Other */
-.sr { color: #33AAAA } /* Literal.String.Regex */
-.s1 { color: #CC3300 } /* Literal.String.Single */
-.ss { color: #FFCC33 } /* Literal.String.Symbol */
-.bp { color: #336666 } /* Name.Builtin.Pseudo */
-.vc { color: #003333 } /* Name.Variable.Class */
-.vg { color: #003333 } /* Name.Variable.Global */
-.vi { color: #003333 } /* Name.Variable.Instance */
-.il { color: #FF6600 } /* Literal.Number.Integer.Long */
-
-.css .o,
-.css .o + .nt,
-.css .nt + .nt { color: #999; }