~jan0sch/darcs-book

Showing details for patch dd80fe9702b07c2642b1702a12822173b92481b4.
2018-07-02 (Mon), 6:59 PM - - dd80fe9702b07c2642b1702a12822173b92481b4

add block quote css

Summary of changes
1 files modified with 60 lines added and 0 lines removed
  • html/book.css with 60 added and 0 removed lines
diff -rN -u old-darcs-book/html/book.css new-darcs-book/html/book.css
--- old-darcs-book/html/book.css	2024-11-24 01:24:10.199156018 +0000
+++ new-darcs-book/html/book.css	2024-11-24 01:24:10.199156018 +0000
@@ -39,6 +39,66 @@
   margin: 20px 0px 20px 0px;
 }
 
+blockquote{
+  display:block;
+  background: #fff;
+  padding: 15px 20px 15px 45px;
+  margin: 0 0 20px;
+  position: relative;
+
+  /*Font*/
+  font-family: Georgia, serif;
+  font-size: 16px;
+  line-height: 1.2;
+  color: #666;
+  text-align: justify;
+
+  /*Borders - (Optional)*/
+  border-left: 15px solid #c76c0c;
+  border-right: 2px solid #c76c0c;
+
+  /*Box Shadow - (Optional)*/
+  -moz-box-shadow: 2px 2px 15px #ccc;
+  -webkit-box-shadow: 2px 2px 15px #ccc;
+  box-shadow: 2px 2px 15px #ccc;
+}
+
+blockquote::before{
+  content: "\201C"; /*Unicode for Left Double Quote*/
+
+  /*Font*/
+  font-family: Georgia, serif;
+  font-size: 60px;
+  font-weight: bold;
+  color: #999;
+
+  /*Positioning*/
+  position: absolute;
+  left: 10px;
+  top:5px;
+}
+
+blockquote::after{
+  /*Reset to make sure*/
+  content: "";
+}
+
+blockquote a{
+  text-decoration: none;
+  background: #eee;
+  cursor: pointer;
+  padding: 0 3px;
+  color: #c76c0c;
+}
+
+blockquote a:hover{
+ color: #666;
+}
+
+blockquote em{
+  font-style: italic;
+}
+
 #content {
   width: 800px;
   margin: 0px auto;