diff --git a/src/assets/css/components/_ltx_align.scss b/src/assets/css/components/_ltx_align.scss index 14d7ba78..25765fa7 100644 --- a/src/assets/css/components/_ltx_align.scss +++ b/src/assets/css/components/_ltx_align.scss @@ -5,6 +5,8 @@ text-align: right; } .ltx_align_center { + display: flex; + justify-content: center; text-align: center; } .ltx_align_justify { diff --git a/src/assets/css/components/_ltx_date.scss b/src/assets/css/components/_ltx_date.scss index 4ae9050f..d071a35a 100644 --- a/src/assets/css/components/_ltx_date.scss +++ b/src/assets/css/components/_ltx_date.scss @@ -6,3 +6,7 @@ font-style: italic; margin-bottom: 1em; } + +.ltx_date:hover{ + curser:pointe; +} diff --git a/src/assets/css/components/_ltx_figure.scss b/src/assets/css/components/_ltx_figure.scss index 21a1e12e..c834c10e 100644 --- a/src/assets/css/components/_ltx_figure.scss +++ b/src/assets/css/components/_ltx_figure.scss @@ -1,10 +1,13 @@ // Only top-level figures, not subfigures *:not(.ltx_subfigure) > .ltx_figure { margin: 4rem 0; - max-width: 100%; overflow-x: auto; overflow-y: hidden; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; .ltx_caption { margin-top: 1em; diff --git a/src/assets/css/components/_ltx_font.scss b/src/assets/css/components/_ltx_font.scss index 6701a14d..14160d87 100644 --- a/src/assets/css/components/_ltx_font.scss +++ b/src/assets/css/components/_ltx_font.scss @@ -31,6 +31,7 @@ .ltx_font_smallcaps { font-variant: small-caps; font-style: normal; + padding-left: 40%; } .ltx_font_oldstyle { font-variant: oldstyle-nums; /* experimental css3 ? Doesn't seem to work!*/ diff --git a/src/assets/css/components/_ltx_subsection.scss b/src/assets/css/components/_ltx_subsection.scss index 74f1fe38..c203a3f7 100644 --- a/src/assets/css/components/_ltx_subsection.scss +++ b/src/assets/css/components/_ltx_subsection.scss @@ -2,6 +2,9 @@ .ltx_subsection { margin: 2em 0; + display: flex; + flex-direction: column; + align-items: center; @include media(">=tablet") { margin: 3em 0; diff --git a/src/assets/css/components/_ltx_table.scss b/src/assets/css/components/_ltx_table.scss index 76da94e2..f231d8a9 100644 --- a/src/assets/css/components/_ltx_table.scss +++ b/src/assets/css/components/_ltx_table.scss @@ -1,6 +1,7 @@ .ltx_table { margin: 4rem 0; - + display:flex; + flex-direction:column; max-width: 100%; overflow-x: auto;