diff options
author | Baron Schwartz <xaprb@users.noreply.github.com> | 2018-09-11 05:04:32 +0300 |
---|---|---|
committer | Baron Schwartz <xaprb@users.noreply.github.com> | 2018-09-11 05:04:32 +0300 |
commit | 4b618dd9ac8e55f0f414356f4b32bf6cfbde6c6e (patch) | |
tree | caa8754db57056074ecfc66a0daed139a39eb6f1 /static | |
parent | 018900e35f2a52b3ce4380d9d1b5ec772d6b2c00 (diff) |
fix some bugs with .footer
Diffstat (limited to 'static')
-rw-r--r-- | static/css/apron.css | 14 | ||||
-rw-r--r-- | static/css/apron.less | 11 |
2 files changed, 22 insertions, 3 deletions
diff --git a/static/css/apron.css b/static/css/apron.css index 46c5df7..4cda53f 100644 --- a/static/css/apron.css +++ b/static/css/apron.css @@ -169,11 +169,11 @@ text-align: center; padding-top: 544.8px; } -.remark-slide-content.img-caption > p:first-child { +.remark-slide-content.img-caption > p:first-of-type { padding: 0px; margin: 0px; } -.remark-slide-content.img-caption > p:first-child > img { +.remark-slide-content.img-caption > p:first-of-type > img { position: absolute; top: 0px; left: 0px; @@ -300,6 +300,16 @@ break-inside: avoid; page-break-inside: avoid; } +.remark-slide-content .footer, +.remark-slide-content .footer ul { + position: absolute; + bottom: 0px; + left: 0px; + right: 0px; + height: 50px; + margin: 0px; + padding: 0px; +} .remark-slide-content .remark-slide-number, .remark-slide-content .footer li { font-size: 1.25rem; diff --git a/static/css/apron.less b/static/css/apron.less index e655a0e..58e9330 100644 --- a/static/css/apron.less +++ b/static/css/apron.less @@ -194,7 +194,7 @@ &.img-caption {
text-align: center;
padding-top: @slide-height * 0.8;
- &>p:first-child {
+ &>p:first-of-type {
padding: 0px;
margin: 0px;
&>img {
@@ -331,6 +331,15 @@ border: 1px solid rgba(0, 0, 0, 0);
}
.footer {
+ &, & ul {
+ position: absolute;
+ bottom: 0px;
+ right: 0px;
+ left: 0px;
+ height: 50px;
+ margin: 0px;
+ padding: 0px;
+ }
li:nth-child(1) {
left: 20px;
}
|