summaryrefslogtreecommitdiff
path: root/assets/css
diff options
context:
space:
mode:
authorFrédéric Guillot <contact@fredericguillot.com>2014-03-04 21:57:12 -0500
committerFrédéric Guillot <contact@fredericguillot.com>2014-03-04 21:57:12 -0500
commit19409360ca7d4c00d070b16bbfcc6cd02543cdca (patch)
tree3eb3a3d0fce2d74c550135f3119182e1d1aa0fe2 /assets/css
parentccc54c65cf2191e35bd0294c0ffbae761b29f151 (diff)
Improve comments
Diffstat (limited to 'assets/css')
-rw-r--r--assets/css/app.css74
1 files changed, 55 insertions, 19 deletions
diff --git a/assets/css/app.css b/assets/css/app.css
index 270b5c13..c99a1eac 100644
--- a/assets/css/app.css
+++ b/assets/css/app.css
@@ -189,7 +189,7 @@ textarea.form-error {
}
.form-help {
- font-size: 0.9em;
+ font-size: 0.8em;
color: brown;
margin-bottom: 15px;
}
@@ -532,22 +532,70 @@ article .task-score {
top: 5px;
}
-ul#comments {
- list-style-type: none;
+#description {
+ border-left: 5px solid #000;
+ background: #f0f0f0;
+ padding: 10px;
+}
+
+/* markdown content */
+.markdown {
+ line-height: 1.4em;
+}
+
+.markdown ol,
+.markdown ul {
+ margin-left: 25px;
+ margin-top: 10px;
+ margin-bottom: 10px;
+}
+
+.markdown pre {
+ background: #fff;
+ padding: 10px;
+ border-radius: 5px;
+ overflow: auto;
+ color: #000;
}
-ul#comments li {
+/* comments */
+.comment {
margin: 10px 0;
- padding: 10px 0 10px 10px;
+ padding: 10px;
border-left: 5px solid #000;
}
-ul#comments li:nth-child(odd) {
+.comment:nth-child(odd) {
background-color: #f0f0f0;
}
-ul#comments li p:first-child {
+.comment:nth-child(even) {
+ background-color: #ddd;
+}
+
+.comment p:first-child {
font-size: .8em;
+ margin-bottom: 10px;
+ border-bottom: 1px dotted #000;
+}
+
+.comment p:first-child a {
+ color: #000;
+ text-decoration: none;
+}
+
+.comment p:first-child a:hover,
+.comment p:first-child a:focus {
+ text-decoration: underline;
+}
+
+.comment .username {
+ font-weight: bold;
+}
+
+.comment-textarea {
+ height: 70px;
+ width: 500px;
}
/* task colors */
@@ -593,18 +641,6 @@ tr td.task-orange,
border-color: rgb(255, 172, 98);
}
-#description {
- border-left: 5px solid #000;
- background: #f0f0f0;
- padding-left: 10px;
- padding-top: 10px;
- padding-bottom: 10px;
-}
-
-#description li {
- margin-left: 25px;
-}
-
/* config page */
.listing,
.settings {