1
0
Эх сурвалжийг харах

Small changes in CSS style

Kandrashin Denis 13 жил өмнө
parent
commit
5113d22ee4
2 өөрчлөгдсөн 32 нэмэгдсэн , 3 устгасан
  1. 1 1
      source/fb2read.h
  2. 31 2
      source/res/style.css

+ 1 - 1
source/fb2read.h

@@ -2,10 +2,10 @@
 #define FB2READ_H
 
 #include <QByteArray>
+#include <QHash>
 #include <QMutex>
 #include <QThread>
 #include <QXmlDefaultHandler>
-#include <QStringList>
 #include <QXmlStreamWriter>
 
 QT_BEGIN_NAMESPACE

+ 31 - 2
source/res/style.css

@@ -1,14 +1,28 @@
 body {
   font-family: serif;
 }
+div.description {
+  display: none;
+}
+div.annotation {
+  padding-left: 10;
+  padding-right: 10;
+  border-width: thin;
+  border-style: solid;
+  border-color: blue;
+  border-top-left-radius: 10;
+  border-top-right-radius: 10;
+  border-bottom-left-radius: 10;
+  border-bottom-right-radius: 10;
+}
 div.section {
   border-top: none; 
   border-bottom: none; 
-  border-left: 1px solid green; 
+  border-left: thin solid green; 
   border-right: none; 
   padding-top: 0; 
   padding-bottom: 0; 
-  padding-left: 3; 
+  padding-left: 4; 
   padding-right: 0;
 }
 div.title {
@@ -17,3 +31,18 @@ div.title {
   text-align: center;
   font-family: sans-serif;
 }
+div.poem {
+  border-left: thin solid blue; 
+  margin-left: 5%;
+  padding-left: 4; 
+}
+
+div.poem div {
+  margin-top: 1em;
+  margin-bottom: 1em;
+}
+
+div.poem p {
+  margin-top: 0;
+  margin-bottom: 0;
+}