Bläddra i källkod

Some minor modification to styles/chmduquesne.css to improve the appearance

Modifications:
- Removed the hover on h1 and h2 to avoid the strange color change when hover
- Add (uncommented) bold font at definitions
- Set margin-bottom to 7pt in dd
ChongChong He 5 år sedan
förälder
incheckning
6f650a339b
1 ändrade filer med 12 tillägg och 11 borttagningar
  1. 12 11
      styles/chmduquesne.css

+ 12 - 11
styles/chmduquesne.css

@@ -24,11 +24,11 @@ h1 {
     text-align:center;
     margin-bottom:15px;
 }
-h1:hover {
-    background-color: #757575;
-    color: #FFFFFF;
-    text-shadow: 1px 1px 1px #333;
-}
+/* h1:hover { */
+/*     background-color: #757575; */
+/*     color: #FFFFFF; */
+/*     text-shadow: 1px 1px 1px #333; */
+/* } */
 
 /* Titles of categories */
 h2 {
@@ -45,21 +45,22 @@ h2:before {
     /* This is called "rulecolor" in the ConTeXt stylesheet. */
     background-color: #9CB770;
 }
-h2:hover {
-    background-color: #397249;
-    color: #FFFFFF;
-    text-shadow: 1px 1px 1px #333;
-}
+/* h2:hover { */
+/*     background-color: #397249; */
+/*     color: #FFFFFF; */
+/*     text-shadow: 1px 1px 1px #333; */
+/* } */
 
 /* Definitions */
 dt {
     float: left;
     clear: left;
     width: 17%;
-    /*font-weight: bold;*/
+    font-weight: bold;
 }
 dd {
     margin-left: 17%;
+    margin-bottom:7px;
 }
 p {
     margin-top:0;