summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rw-r--r--assets/js/ed.js21
-rw-r--r--assets/sass/_customize.scss7
-rw-r--r--assets/sass/_ed.scss27
-rw-r--r--assets/sass/_syntax.scss2
-rw-r--r--assets/sass/style.scss8
5 files changed, 37 insertions, 28 deletions
diff --git a/assets/js/ed.js b/assets/js/ed.js
index b4ba4d6..639a774 100644
--- a/assets/js/ed.js
+++ b/assets/js/ed.js
@@ -13,27 +13,6 @@ function setupBackToTop() {
}
}
-// Annotation support
-function setupHypothes() {
- const hypothesisContainer = document.querySelector('.hypothesis-container');
- if (hypothesisContainer !== null) {
- hypothesisContainer.addEventListener('click', e => {
- e.preventDefault();
-
- let script = document.createElement('script');
- script.setAttribute('src', 'https://cdn.hypothes.is/hypothesis');
- script.type = 'text/javascript';
- document.getElementsByTagName('head')[0].appendChild(script);
- });
- }
-
- const hypothesisLink = document.querySelector('#hypothesis-link');
- if (hypothesisLink !== null) {
- hypothesisContainer.addEventListener('click', e => e.preventDefault());
- }
-}
-
document.addEventListener('DOMContentLoaded', () => {
setupBackToTop();
- setupHypothes();
});
diff --git a/assets/sass/_customize.scss b/assets/sass/_customize.scss
index ca681cd..f741708 100644
--- a/assets/sass/_customize.scss
+++ b/assets/sass/_customize.scss
@@ -83,7 +83,8 @@ template {
color: $text-light-color;
}
-.post .byline {
+.post .byline,
+.project .byline {
font-style: italic;
font-weight: normal;
letter-spacing: 0;
@@ -286,7 +287,3 @@ ul.tags-cloud {
.screen-reader-text {
@include visually-hidden();
}
-
-.hypothesis-container {
- cursor: pointer;
-}
diff --git a/assets/sass/_ed.scss b/assets/sass/_ed.scss
index 5173f6d..2bdc796 100644
--- a/assets/sass/_ed.scss
+++ b/assets/sass/_ed.scss
@@ -789,3 +789,30 @@ li.prose-indent {
.theme-base-brown .related-posts li a:hover {
color: #8f5536;
}
+
+.posts-table {
+ border: none;
+ width: 100%;
+ background-color: transparent;
+}
+
+.posts-tr {
+ border: none;
+ background-color: transparent;
+}
+
+.posts-td-time {
+ border: none;
+ background-color: transparent !important;
+ width: 1%;
+ white-space: nowrap;
+ padding:0 5px 0 0;
+ vertical-align: top;
+}
+
+.posts-td-link {
+ border: none;
+ background-color: transparent !important;
+ padding:0 0 0 0;
+ vertical-align:top;
+}
diff --git a/assets/sass/_syntax.scss b/assets/sass/_syntax.scss
index 05a61c7..9d77d76 100644
--- a/assets/sass/_syntax.scss
+++ b/assets/sass/_syntax.scss
@@ -23,7 +23,7 @@ pre {
white-space: pre-wrap;
word-break: break-all;
word-wrap: break-word;
- background-color: #f9f9f9;
+ background-color: #e5e4e2;
}
pre code {
padding: 0;
diff --git a/assets/sass/style.scss b/assets/sass/style.scss
index ea708ce..8fac225 100644
--- a/assets/sass/style.scss
+++ b/assets/sass/style.scss
@@ -7,7 +7,7 @@
/* Fonts */
$main-font: "Palatino Linotype", "Book Antiqua", Palatino, serif;
$heading-font: sans-serif;
-$regular-font-size: 1.25em; /* 20px / 16px = 1.25em; support text resizing in all browsers */
+$regular-font-size: 1.1em; /* 20px / 16px = 1.25em; support text resizing in all browsers */
/*
@@ -26,3 +26,9 @@ $link-color: #841212;
@import "form-elements";
@import "customize";
@import "themes";
+
+/* Code */
+pre {
+ max-height: 400px;
+ overflow-y: auto;
+}