com web/shared: Moved some rules from the wiki to defaults that all sites could use.: styles/defaults.css styles/wiki.css
| From: | Levi Morrison | Date: | Fri, 09 May 2014 15:41:09 +0000 |
| Subject: | com web/shared: Moved some rules from the wiki to defaults that all sites could use.: styles/defaults.css styles/wiki.css | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-18867@lists.php.net to get a copy of this message | ||
Commit: 3d05212f13e7061dc7561539b40b2b38f89ec9aa
Author: Levi Morrison <levim@php.net> Fri, 9 May 2014 09:41:09 -0600
Parents: a420246817942a0a634d48c0ba73adcff25b3191
Branches: master
Link: http://git.php.net/?p=web/shared.git;a=commitdiff;h=3d05212f13e7061dc7561539b40b2b38f89ec9aa
Log:
Moved some rules from the wiki to defaults that all sites could use.
Changed paths:
M styles/defaults.css
M styles/wiki.css
Diff:
diff --git a/styles/defaults.css b/styles/defaults.css
index 4cef05c..f81204c 100644
--- a/styles/defaults.css
+++ b/styles/defaults.css
@@ -115,7 +115,7 @@ h1, h2, h3, h4, h5, h6, dt {
border-bottom: 1px solid #C4C9DF;
border-radius: 0 0 2px 2px;
line-height: 1.5rem;
- margin:0 0 .75rem;
+ margin:0 0 1.5rem;
}
h1 {
font-size: 1.5rem;
@@ -139,10 +139,10 @@ dd {
padding: 0.5em .444444444em !important;
}
p {
- margin: 0 0 .75rem;
+ margin: 0 0 1.5rem;
}
ul, ol {
- margin: 0 0 .75rem;
+ margin: 0 0 1.5rem;
padding:0 0 0 2.5rem;
}
.clearfix:before,
@@ -186,6 +186,9 @@ hr:before {
.secondscreen {
box-sizing:border-box;
}
+body > section.fullscreen > section.mainscreen {
+ padding:1.5rem 1.5rem 0;
+}
.fullscreen > .fullscreen,
section.mainscreen {
background: #fff;
diff --git a/styles/wiki.css b/styles/wiki.css
index e8da0ab..15946d7 100644
--- a/styles/wiki.css
+++ b/styles/wiki.css
@@ -9,7 +9,7 @@ body {
}
#dokuwiki__site {
max-width: 75em;
- padding: 1.5rem 3rem 1.5rem 1.5rem;
+ padding-right: 1.5rem;
}
#dokuwiki__site > .site {
padding: 0 .5em;
@@ -997,7 +997,6 @@ h1, h2, h3, h4, h5, h6 {
border-top:0;
border-bottom:0;
padding:0;
- margin-bottom:1.5rem;
color:#793862;
}
h1:after,
@@ -1027,9 +1026,6 @@ h4 {
h5, h6 {
font-size:1rem;
}
-p, ol, ul {
- margin-bottom:1.5rem;
-}
p code,
li code {
line-height:1.375rem;