Add base styles for readme html file
[m6w6/gitweb-theme] / gitweb.css
index abf18cccf7971af82a7238f941d759c731bb2377..51eaf8fa2a825d320260834b70888664737b6c8e 100644 (file)
@@ -161,6 +161,7 @@ td, th {
   color: #666;
   display: inline;
   float: left;
+  margin-left: 25px;
 }
 
 a.rss_logo {
@@ -185,8 +186,13 @@ a.rss_logo:hover {
   background-color: #ee5500;
 }
 
-a.rss_logo:first-child {
+.rss_logo {
   margin-right: 25px;
+  background: yellow;
+}
+
+.rss_logo:last-child {
+  margin-right: 5px;
 }
 
 /* Index include
@@ -299,9 +305,77 @@ th .header {
 }
 
 .title {
-  width: 95%;
+  margin: 0 auto 15px auto;
   padding: 5px;
+  width: 95%;
+}
+
+.readme {
+  background: #eaf2f5;
+  border: 1px solid #bedce7;
+  box-sizing: border-box;
   margin: 0 auto 15px auto;
+  padding: 15px;
+  width: 95%;
+}
+
+.readme h1 {
+  display: block;
+  font-size: 2em;
+  font-weight: bold;
+  margin-bottom: 0.67em;
+  margin-top: 0;
+}
+
+.readme h2 {
+  font-size: 1.5em;
+  font-weight: bold;
+  margin-bottom: 0.83em;
+}
+
+
+.readme h3 {
+  font-size: 1.17em;
+  font-weight: bold;
+  margin-bottom: 1em;
+}
+
+.readme p {
+  margin-bottom: 1em;
+}
+
+.readme ul {
+  list-style: disc;
+  margin-bottom: 1em;
+  margin-left: 1.5em;
+}
+
+.readme ul ul {
+  margin-bottom: 0;
+}
+
+.readme ol {
+  list-style: decimal;
+  margin-bottom: 1em;
+  margin-left: 1.5em;
+}
+
+.readme ol ol {
+  margin-bottom: 0;
+}
+
+.readme pre {
+  font-family: monospace;
+  margin: 1em 0;
+  white-space: pre;
+}
+
+.readme tt, .readme code, .readme kbd, .readme samp {
+  font-family: monospace;
+}
+
+.readme blockquote {
+  margin: 1em;
 }
 
 .projects_list,
@@ -394,7 +468,7 @@ th .header {
   float: right;
 }
 
-.object_header td, 
+.object_header td,
 .object_header th {
   vertical-align: top;
 }