Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Georgios Dagkakis
erp5
Commits
7f60c12f
Commit
7f60c12f
authored
Feb 18, 2020
by
Sven Franck
Committed by
Xiaowu Zhang
Mar 03, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_corporate_identity: improve slide render
parent
f6efb743
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
7 deletions
+47
-7
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/template_css/slide.css.css
..._skins/erp5_corporate_identity/template_css/slide.css.css
+2
-2
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/template_css/slide.pdf.css.css
...ns/erp5_corporate_identity/template_css/slide.pdf.css.css
+45
-5
No files found.
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/template_css/slide.css.css
View file @
7f60c12f
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
font-size
:
.7em
;
font-size
:
.7em
;
}
}
.ci-slideshow
section
table
{
.ci-slideshow
section
table
{
font-size
:
smaller
;
font-size
:
.7em
;
}
}
html
.ci-slideshow
pre
,
html
.ci-slideshow
pre
,
html
.ci-slideshow
code
{
html
.ci-slideshow
code
{
...
@@ -146,7 +146,7 @@ html .ci-slideshow .ci-slideshow-header h2 {
...
@@ -146,7 +146,7 @@ html .ci-slideshow .ci-slideshow-header h2 {
}
}
html
.ci-slideshow
h1
{
html
.ci-slideshow
h1
{
margin-top
:
-.5em
;
margin-top
:
-.5em
;
text-transform
:
capitalize
;
/*text-transform: capitalize; we have a list of closed-class words which should be written in lowercase */
text-align
:
center
;
text-align
:
center
;
}
}
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/template_css/slide.pdf.css.css
View file @
7f60c12f
...
@@ -15,8 +15,8 @@ html {
...
@@ -15,8 +15,8 @@ html {
.ci-slideshow-handout
.ci-slideshow-handout-header
{
.ci-slideshow-handout
.ci-slideshow-handout-header
{
font-size
:
42px
;
font-size
:
42px
;
}
}
.ci-slideshow
h1
~
*
:not
(
h2
),
.ci-slideshow
h1
~
*
:not
(
h2
)
:not
(
table
)
,
.ci-slideshow
h2
~
*
:not
(
h2
)
{
.ci-slideshow
h2
~
*
:not
(
h2
)
:not
(
table
)
{
font-size
:
28px
;
font-size
:
28px
;
}
}
.ci-slideshow
h1
~
table
{
.ci-slideshow
h1
~
table
{
...
@@ -183,7 +183,7 @@ section {
...
@@ -183,7 +183,7 @@ section {
/* content */
/* content */
.ci-slideshow
h1
{
.ci-slideshow
h1
{
text-align
:
center
;
text-align
:
center
;
text-transform
:
capitalize
;
/* text-transform: capitalize; */
}
}
.ci-slideshow
section
{
.ci-slideshow
section
{
display
:
table
;
display
:
table
;
...
@@ -264,14 +264,15 @@ html .ci-slideshow p code {
...
@@ -264,14 +264,15 @@ html .ci-slideshow p code {
padding
:
0
!important
;
padding
:
0
!important
;
}
}
.ci-slideshow
section
img
{
.ci-slideshow
section
img
{
/* used to be width: 80%, Cedric
width:
70%;*/
/* used to be width: 80%, Cedric
asked
70%;*/
width
:
57%
;
/* long time width: 57%; */
}
}
.ci-slideshow
section
h1
+
img
,
.ci-slideshow
section
h1
+
img
,
.ci-slideshow
section
h1
+
h2
+
img
{
.ci-slideshow
section
h1
+
h2
+
img
{
display
:
block
;
display
:
block
;
margin
:
0
auto
;
margin
:
0
auto
;
}
}
/* object fit does not work in wkhtmltopdf, find workaround
/* object fit does not work in wkhtmltopdf, find workaround
html .ci-slideshow img {
html .ci-slideshow img {
border: 0 none;
border: 0 none;
...
@@ -301,6 +302,41 @@ html .ci-slideshow section img + img:last-child {
...
@@ -301,6 +302,41 @@ html .ci-slideshow section img + img:last-child {
padding
:
10px
;
padding
:
10px
;
}
}
/* tables */
table
{
margin-top
:
24px
!important
;
}
table
*
{
font-size
:
16px
!important
;
}
.ci-slideshow
table
,
.ci-slideshow-handout
table
{
margin
:
auto
;
border-collapse
:
collapse
;
border-spacing
:
0
;
border
:
0
none
;
}
.ci-slideshow
table
tr
,
.ci-slideshow-handout
table
tr
{
margin
:
0
;
padding
:
0
;
border
:
0
;
font
:
inherit
;
vertical-align
:
baseline
;
}
.ci-slidesho
table
tr
td
,
.ci-slideshow-handout
table
tr
td
,
.ci-slidesho
table
tr
th
,
.ci-slideshow-handout
table
tr
th
{
margin
:
0
;
padding
:
0
;
border
:
0
;
font
:
inherit
;
vertical-align
:
baseline
;
text-align
:
left
;
padding
:
0.2em
0.5em
0.2em
0.5em
;
border-bottom
:
1px
solid
;
}
/* notes header */
/* notes header */
.ci-slideshow-handout
.ci-slideshow-handout-header
{
.ci-slideshow-handout
.ci-slideshow-handout-header
{
text-align
:
center
;
text-align
:
center
;
...
@@ -453,6 +489,9 @@ html .ci-slideshow section img + img:last-child {
...
@@ -453,6 +489,9 @@ html .ci-slideshow section img + img:last-child {
.ci-slideshow-handout
section
*
{
.ci-slideshow-handout
section
*
{
font-size
:
10mm
;
font-size
:
10mm
;
}
}
.ci-slideshow-handout
h1
{
text-align
:
center
;
}
.ci-slideshow-handout
h1
,
.ci-slideshow-handout
h1
,
.ci-slideshow-handout
section
h2
,
.ci-slideshow-handout
section
h2
,
.ci-slideshow-handout
.ci-slideshow-handout-header
{
.ci-slideshow-handout
.ci-slideshow-handout-header
{
...
@@ -488,6 +527,7 @@ html .ci-slideshow section img + img:last-child {
...
@@ -488,6 +527,7 @@ html .ci-slideshow section img + img:last-child {
.ci-slideshow-handout
section
h1
~
ul
{
.ci-slideshow-handout
section
h1
~
ul
{
text-align
:
left
;
text-align
:
left
;
display
:
inline-block
;
display
:
inline-block
;
margin-top
:
24px
!important
;
}
}
.ci-slideshow-handout
section
ul
{
.ci-slideshow-handout
section
ul
{
margin-top
:
0
;
margin-top
:
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment