Skip to content

Commit a248fe2

Browse files
committed
Add makeover prep/update scripts and support files
1 parent edf7c88 commit a248fe2

14 files changed

+1536
-0
lines changed
Loading
Loading
2.83 KB
Loading
1.76 KB
Loading

docroot/includes/legalcode-footer.css

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.site-footer a:hover,
2+
.site-footer a:focus {
3+
text-decoration: none;
4+
}
5+
6+
.site-footer .license-icons { text-align: center !important; }
7+
8+
body:not(.lang-en) .site-footer .cc-footer-contact,
9+
body:not(.lang-en) .site-footer .cc-footer-license,
10+
body:not(.lang-en) .site-footer .cc-footer-links {
11+
display: none !important;
12+
}

docroot/includes/legalcode-header.css

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
.site-header-wrapper a,
2+
.site-header-wrapper a:visited {
3+
color: #FFF;
4+
}
5+
6+
.site-header-wrapper a:hover,
7+
.site-header-wrapper a:focus {
8+
text-decoration: none;
9+
}
10+
11+
.social-navigation a,
12+
.social-navigation a:visited {
13+
color: #EC592F;
14+
}
15+
16+
.social-navigation a::before { left: 0; }
17+
18+
.social-navigation a[href^="mailto:"]::before {
19+
left: 0;
20+
top: 4px;
21+
}
22+
23+
body:not(.lang-en) .main-navigation,
24+
body:not(.lang-en) .secondary-navigation,
25+
body:not(.lang-en) .social-navigation {
26+
display: none;
27+
}

docroot/includes/legalcode-print.css

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
@media print {
2+
3+
body {
4+
font: 10pt/12pt Arial,"Trebuchet MS",Verdana,sans-serif;
5+
}
6+
7+
.screen-only {
8+
display: none !important;
9+
}
10+
11+
.site-header-wrapper,
12+
#menu-toggle,
13+
#deed-foot,
14+
.site-footer .cc-footer-links {
15+
display: none;
16+
}
17+
18+
h1, h2, h3 { line-height: 1.1; }
19+
20+
#deed-head { text-align: center; }
21+
22+
#cc-logo img {
23+
display: inline-block;
24+
height: 50px;
25+
margin: 0 5px;
26+
}
27+
28+
h1 {
29+
border-bottom: solid 4px #000;
30+
font-size: 20px;
31+
clear: none;;
32+
margin-top: 20px;
33+
}
34+
35+
h2 {
36+
font-size: 18px;
37+
margin: 30px 0 15px;
38+
}
39+
40+
h3 {
41+
font-size: 15px;
42+
margin: 30px 0 15px;
43+
}
44+
45+
#deed-license {
46+
padding-bottom: 0.15em;
47+
margin-bottom: 40px;
48+
}
49+
50+
#deed-license h2 {
51+
border-bottom: 2px solid #000;
52+
display: inline-block;
53+
font-size: 13px;
54+
margin: 0;
55+
}
56+
57+
#deed-main { clear: both; }
58+
59+
ol li,
60+
ul li {
61+
list-style-image: none;
62+
}
63+
64+
body:not(.lang-en) .site-footer .cc-footer-contact,
65+
body:not(.lang-en) .site-footer .cc-footer-license,
66+
body:not(.lang-en) .site-footer .cc-footer-links {
67+
display: none !important;
68+
}
69+
}

docroot/includes/legalcode-rtl.css

+100
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
/* CC Deed CSS for RTL languages */
2+
@import url(https://fonts.googleapis.com/earlyaccess/droidarabicnaskh.css);
3+
4+
html, p, li, ol, ul, body {
5+
direction: rtl;
6+
}
7+
8+
#deed {
9+
font-family: 'Droid Arabic Naskh', sans-serif;
10+
}
11+
12+
#deed-main {
13+
text-align: right;
14+
}
15+
16+
#deed-main img {
17+
float: left !important;
18+
}
19+
20+
#deed-main h3 {
21+
padding-right:10px;
22+
}
23+
24+
li.license {
25+
padding-right: 70px;
26+
padding-left: 0px;
27+
background-position: right top;
28+
}
29+
30+
#deed-main li.share, li.remix, li.commercial, UL#license-freedoms-no-icons li,
31+
UL#deed-conditions-no-icons li, UL.understanding.license-properties li {
32+
padding-right:0 !important;
33+
}
34+
35+
36+
#deed-main ol,
37+
#deed-main ul {
38+
padding-left: 0;
39+
padding-right: 1em;
40+
}
41+
42+
ol.arabic {
43+
list-style-type: none;
44+
}
45+
46+
ol.arabic > li::before {
47+
content: attr(data-letter) '.';
48+
display: inline-block;
49+
min-width: 20px;
50+
margin-right: -20px;
51+
text-align: right;
52+
}
53+
#deed-main img {
54+
float: left !important;
55+
}
56+
.arabic-indic {
57+
list-style-type: -moz-arabic-indic;
58+
list-style-type: arabic-indic;
59+
}
60+
61+
62+
.disclaimer {
63+
text-align: left !important;
64+
}
65+
66+
#deed-rights {
67+
background-position: right top;
68+
}
69+
70+
#deed-rights ul {
71+
width: 80%;
72+
}
73+
74+
#deed-conditions {
75+
background-position: right top;
76+
}
77+
78+
#libre {
79+
left: 25px;
80+
right: auto;
81+
}
82+
83+
#footer p {
84+
direction:rtl;
85+
}
86+
87+
@media screen and (max-width: 600px) {
88+
.green #deed-disclaimer {
89+
margin-left: 100px;
90+
margin-right: 10px;
91+
}
92+
93+
#libre {
94+
left: 10px;
95+
}
96+
}
97+
98+
ul p {
99+
line-height: 20px;
100+
}

0 commit comments

Comments
 (0)