Update CSS

This commit is contained in:
Thomas Dehaeze 2020-11-12 16:53:54 +01:00
parent 5287c3b9d1
commit 71177d1515
3 changed files with 42 additions and 16 deletions

View File

@ -1,16 +1,16 @@
.figure p{ .figure p{
text-align: center; text-align: center;
} }
.figure img{ .figure img{
max-width:100%; max-width:100%;
display: block; display: block;
margin: auto; margin: auto;
} }
table { table {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
} }
.org-src-container > pre.src:before { .org-src-container > pre.src:before {
@ -50,5 +50,19 @@ table {
#org-div-home-and-up { #org-div-home-and-up {
text-align: left; text-align: right;
max-width: 1200px;
margin-left: 300px;
}
@media screen and (max-width: 768px) {
#org-div-home-and-up {
position: fixed;
z-index: 10;
margin: 10px;
right: 0;
}
#org-div-home-and-up > a {
color: black;
}
} }

View File

@ -428,7 +428,6 @@ table tr:nth-child(2n) td{
} }
#toggle-sidebar { #toggle-sidebar {
background-color: #2980B9;
display: block; display: block;
margin-bottom: 1.6em; margin-bottom: 1.6em;
padding: 0.6em; padding: 0.6em;

View File

@ -428,7 +428,6 @@ table tr:nth-child(2n) td{
} }
#toggle-sidebar { #toggle-sidebar {
background-color: #2980B9;
display: block; display: block;
margin-bottom: 1.6em; margin-bottom: 1.6em;
padding: 0.6em; padding: 0.6em;
@ -1252,18 +1251,18 @@ h2.footnotes{
.org-widget-inactive { /* widget-inactive */ color: #7f7f7f; } .org-widget-inactive { /* widget-inactive */ color: #7f7f7f; }
.org-widget-single-line-field { /* widget-single-line-field */ background-color: #d9d9d9; } .org-widget-single-line-field { /* widget-single-line-field */ background-color: #d9d9d9; }
.figure p{ .figure p{
text-align: center; text-align: center;
} }
.figure img{ .figure img{
max-width:100%; max-width:100%;
display: block; display: block;
margin: auto; margin: auto;
} }
table { table {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
} }
.org-src-container > pre.src:before { .org-src-container > pre.src:before {
@ -1303,5 +1302,19 @@ table {
#org-div-home-and-up { #org-div-home-and-up {
text-align: left; text-align: right;
max-width: 1200px;
margin-left: 300px;
}
@media screen and (max-width: 768px) {
#org-div-home-and-up {
position: fixed;
z-index: 10;
margin: 10px;
right: 0;
}
#org-div-home-and-up > a {
color: black;
}
} }