Commit 0b8635be authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_corporate_identity: change plenty of spacing to make it look like old version

parent a207f670
...@@ -14,12 +14,7 @@ html{ ...@@ -14,12 +14,7 @@ html{
.ci-leaflet #left-summary .title, .ci-leaflet #left-summary .title,
.ci-leaflet p.ci-leaflet-source-header, .ci-leaflet p.ci-leaflet-source-header,
.ci-leaflet p.ci-leaflet-sheet-header { .ci-leaflet p.ci-leaflet-sheet-header {
font-size: 28px; font-size: 28px;
}
.ci-leaflet h2,
.ci-leaflet #main-content .summary,
.ci-leaflet #legalese .bottom {
font-size: 18px;
} }
.ci-leaflet p, .ci-leaflet p,
.ci-leaflet li, .ci-leaflet li,
...@@ -32,12 +27,20 @@ html{ ...@@ -32,12 +27,20 @@ html{
.ci-leaflet-footer div { .ci-leaflet-footer div {
font-size: 14px; font-size: 14px;
} }
.ci-leaflet #legalese p,
.ci-leaflet #legalese span,
.ci-leaflet #left-summary .excerpt, .ci-leaflet #left-summary .excerpt,
.ci-leaflet #main-content .left-icon .excerpt { .ci-leaflet #main-content .left-icon .excerpt {
font-size: 11px; font-size: 11px;
} }
.ci-leaflet #legalese p,
.ci-leaflet #legalese span {
font-size: 13px;
line-height: 14px;
}
.ci-leaflet h2,
.ci-leaflet #main-content .summary,
.ci-leaflet #legalese .bottom span {
font-size: 18px;
}
/* === font style === */ /* === font style === */
.ci-leaflet #main-content .summary { .ci-leaflet #main-content .summary {
font-style: italic; font-style: italic;
...@@ -127,12 +130,12 @@ html{ ...@@ -127,12 +130,12 @@ html{
box-sizing: border-box; box-sizing: border-box;
} }
.ci-leaflet #left-summary { .ci-leaflet #left-summary {
width: 28%; width: 30%;
position: absolute; position: absolute;
left: 5mm; left: 5mm;
top: 0; top: 0;
padding-left: 10mm; padding-left: 12mm;
padding-right: 10mm; padding-right: 12mm;
margin-top: 10mm; margin-top: 10mm;
margin-bottom: 10mm; margin-bottom: 10mm;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
...@@ -152,7 +155,7 @@ html{ ...@@ -152,7 +155,7 @@ html{
.ci-leaflet #left-summary .title { .ci-leaflet #left-summary .title {
padding-top: 2mm; padding-top: 2mm;
border-top: 2px solid #a1a1a1; border-top: 2px solid #a1a1a1;
} }
/* === fullwidth === */ /* === fullwidth === */
.ci-leaflet .ci-leaflet-body-fullwidth #left-summary, .ci-leaflet .ci-leaflet-body-fullwidth #left-summary,
...@@ -178,19 +181,27 @@ html{ ...@@ -178,19 +181,27 @@ html{
.ci-leaflet #left-summary:before { .ci-leaflet #left-summary:before {
content: ""; content: "";
display: block; display: block;
background-size: 60%; background-size: 40%;
background-position: center; background-position: center;
width: 100%; width: 70%;
margin: 0 auto;
text-align: center;
height: 50mm; height: 50mm;
/*
background-size: contain;
max-width: 12em;
text-align: center;
margin: 0 auto;
*/
} }
.ci-leaflet #main-content { .ci-leaflet #main-content {
width: 63%; width: 61%;
display: inline-block; display: inline-block;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
padding-right: 0; padding-right: 0;
padding-left: 1%; /* to align with <h1>*/ padding-left: 3%; /* to align with <h1>*/
text-align: justify; text-align: justify;
text-align-last: left; text-align-last: left;
vertical-align: bottom; vertical-align: bottom;
...@@ -233,14 +244,16 @@ html{ ...@@ -233,14 +244,16 @@ html{
/* === legalse === */ /* === legalse === */
.ci-leaflet #legalese { .ci-leaflet #legalese {
width: 28%; width: 30%;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
display: inline-block; display: inline-block;
vertical-align: bottom; vertical-align: bottom;
margin:0; margin: 0;
padding: 1em; padding: 1em;
padding-left: 2em;
padding-right: 2em;
text-align: left; text-align: left;
text-align: justify; text-align: justify;
text-align-last: left; text-align-last: left;
...@@ -251,8 +264,7 @@ html{ ...@@ -251,8 +264,7 @@ html{
} }
.ci-leaflet #legalese .bottom { .ci-leaflet #legalese .bottom {
margin: 0; margin: 0;
padding: 3mm 0; padding: 2mm 0;
padding-left: 12mm;
display:block; display:block;
border-bottom: 2px solid #a1a1a1; border-bottom: 2px solid #a1a1a1;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
...@@ -260,6 +272,7 @@ html{ ...@@ -260,6 +272,7 @@ html{
box-sizing: border-box; box-sizing: border-box;
} }
.ci-leaflet #legalese .bottom img { .ci-leaflet #legalese .bottom img {
max-height: 1em; max-height: 2em;
margin-left: 3em;
vertical-align: middle; vertical-align: middle;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment