commit 0be0c764b397238fe587106e2f690a5b5827e922
parent 0e1827821c79c9c52ffab00ce424320153149b1c
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Sun, 18 Feb 2018 01:26:08 -0600
CSS style adjustments.
Diffstat:
3 files changed, 26 insertions(+), 39 deletions(-)
diff --git a/hugo-xmin.Rproj b/hugo-xmin.Rproj
@@ -1,16 +0,0 @@
-Version: 1.0
-
-RestoreWorkspace: Default
-SaveWorkspace: Default
-AlwaysSaveHistory: Default
-
-EnableCodeIndexing: Yes
-UseSpacesForTab: Yes
-NumSpacesForTab: 2
-Encoding: UTF-8
-
-RnwWeave: knitr
-LaTeX: pdfLaTeX
-
-AutoAppendNewline: Yes
-StripTrailingWhitespace: Yes
diff --git a/static/css/isso.css b/static/css/isso.css
@@ -51,7 +51,7 @@
max-width: 48px;
max-height: 48px;
border: 1px solid rgba(0, 0, 0, 0.2);
- border-radius: 3px;
+ border-radius: 5px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.isso-comment > div.text-wrapper {
@@ -111,8 +111,7 @@
.isso-comment > div.text-wrapper > div.textarea-wrapper .textarea {
width: 100%;
border: 1px solid #f0f0f0;
- border-radius: 2px;
- box-shadow: 0 0 2px #888;
+ border-radius: 5px;
}
.isso-comment > div.text-wrapper > .isso-comment-footer {
font-size: 0.80em;
@@ -161,30 +160,28 @@
.isso-postbox > .form-wrapper .textarea {
margin: 0 0 .3em;
padding: .4em .8em;
- border-radius: 3px;
- background-color: #f9f9f9;
- border: 1px solid rgba(0, 0, 0, 0.2);
-/* box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);*/
+ border-radius: 5px;
+ background-color: #eee;
+ border: 1px solid #ddd;
}
#isso-thread .textarea:focus,
#isso-thread input:focus {
- border-color: #710100;
+ border-color: #700000;
}
.isso-postbox > .form-wrapper > .auth-section .input-wrapper {
display: inline-block;
position: relative;
- max-width: 25%;
+ max-width: 30%;
margin: 0;
+ margin-right: .3em;
}
.isso-postbox > .form-wrapper > .auth-section .input-wrapper input {
padding: .3em 10px;
max-width: 100%;
- border-radius: 3px;
- background-color: #f9f9f9;
+ border-radius: 5px;
+ background-color: #eee;
line-height: 1.5em;
- border: 1px solid rgba(0, 0, 0, 0.2);
-
-/* box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);*/
+ border: 1px solid #ddd;
}
.isso-postbox > .form-wrapper > .auth-section .input-wrapper input:focus {
outline: 0;
@@ -200,11 +197,9 @@
border-radius: 5px;
border: 0px;
color: #700000;
- background-color: #eee;
cursor: pointer;
outline: 0;
line-height: 1.5em;
- text-decoration: none;
background: #eee;
}
.isso-postbox > .form-wrapper > .auth-section .post-action > input:hover {
diff --git a/static/css/style.css b/static/css/style.css
@@ -25,8 +25,8 @@ hr {
/* code */
pre {
border: 1px solid #ddd;
- box-shadow: 5px 5px 5px #eee;
padding: 1em;
+ border-radius: 5px;
overflow-x: auto;
}
code { background: #f9f9f9; }
@@ -36,19 +36,27 @@ pre code { background: none; }
img, iframe, video { max-width: 100%; }
main { hyphens: auto; }
blockquote {
- background: #f9f9f9;
+ background: #eee;
border-left: 5px solid #ccc;
+ border-radius: 5px;
padding: 3px 1em 3px;
}
table {
+ background: #eee;
+ border-radius: 5px;
+ border-collapse: collapse;
margin: auto;
- border-top: 1px solid #666;
- border-bottom: 1px solid #666;
+ overflow: hidden;
+}
+table thead th {
+}
+th, td {
+ padding: 5px;
+}
+thead, tfoot, tr:nth-child(even) {
+ background: #ccc;
}
-table thead th { border-bottom: 1px solid #ddd; }
-th, td { padding: 5px; }
-thead, tfoot, tr:nth-child(even) { background: #eee }
a {
text-decoration:none;