com web/shared: Add default styles for defintion list/term/descriptions: styles/defaults.css
| From: | Hannes Magnusson | Date: | Fri, 27 Dec 2013 08:41:00 +0000 |
| Subject: | com web/shared: Add default styles for defintion list/term/descriptions: styles/defaults.css | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-17844@lists.php.net to get a copy of this message | ||
Commit: 909fc31fbc330248d316f2649e2dd3ffd2089d65
Author: Hannes Magnusson <bjori@mongodb.com> Fri, 27 Dec 2013 00:41:00 -0800
Parents: 799f47e56737716d970789fff427e3e3bb16c80b
Branches: master
Link: http://git.php.net/?p=web/shared.git;a=commitdiff;h=909fc31fbc330248d316f2649e2dd3ffd2089d65
Log:
Add default styles for defintion list/term/descriptions
Changed paths:
M styles/defaults.css
Diff:
diff --git a/styles/defaults.css b/styles/defaults.css
index c783fb1..9ca296a 100644
--- a/styles/defaults.css
+++ b/styles/defaults.css
@@ -95,7 +95,7 @@ section.fullscreen a {
text-decoration: none;
}
-h1, h2, h3, h4, h5, h6 {
+h1, h2, h3, h4, h5, h6, dt {
font-family: "Source Sans Pro", Helvetica, Arial, sans-serif !important;
font-weight: bolder;
color: #446;
@@ -115,11 +115,23 @@ h2 {
line-height: 1.2;
margin:0 0 0.6em;
}
-h3 {
+h3, dt {
font-size: 1.125em;
line-height: 1.333333333;
margin:0 0 0.66666666666667em;
}
+dl {
+ background-color: #333;
+ opacity: 0.9;
+ color: #fff;
+}
+dt {
+ background: #f0f0f0;
+ margin-bottom: 0;
+}
+dd {
+ padding: 0.5em .444444444em !important;
+}
p {
margin: .75em 0;
}