Figure caption and blockquote styles update

This commit is contained in:
alistair3149 2020-02-06 14:44:28 -05:00
parent 6dfe6aace2
commit 77bd2e0bea
No known key found for this signature in database
GPG key ID: 94D081060FD3DD9C
2 changed files with 883 additions and 854 deletions

View file

@ -114,6 +114,22 @@ textarea {
width: 100%; width: 100%;
} }
blockquote {
margin: @content-margin-top * 2 * @content-scaling 0 0;
padding: 0 @content-margin-top * 4 * @content-scaling;
color: @base-30;
font-family: @fonts-serif;
font-size: @content-quote-primary-size;
font-style: italic;
cite {
display: block;
margin-top: @content-margin-top * @content-scaling;
font-family: @fonts;
font-style: normal;
}
}
dd { dd {
margin-left: @content-margin-top * 2; margin-left: @content-margin-top * 2;
margin-bottom: 0.1rem; margin-bottom: 0.1rem;
@ -125,6 +141,7 @@ dt {
} }
td { td {
>p, >p,
>ul, >ul,
>ol { >ol {
@ -680,6 +697,7 @@ a {
margin: @content-margin-top / 2 0 0; margin: @content-margin-top / 2 0 0;
color: @base-30; color: @base-30;
font-size: @content-caption-size; font-size: @content-caption-size;
font-style: italic;
} }
.thumb { .thumb {
@ -859,6 +877,7 @@ a {
} }
@media only screen and (max-width: @screen0 ) { @media only screen and (max-width: @screen0 ) {
div.tnone, div.tnone,
div.floatnone, div.floatnone,
table.floatnone, table.floatnone,
@ -883,6 +902,7 @@ a {
} }
@media only screen and (max-width: @screen1 ) { @media only screen and (max-width: @screen1 ) {
.catlinks, .catlinks,
#p-namespaces { #p-namespaces {
margin: 0 !important; // somehow got overrided margin: 0 !important; // somehow got overrided
@ -928,6 +948,7 @@ a {
} }
.mw-body-content { .mw-body-content {
div.tleft, div.tleft,
div.floatleft, div.floatleft,
table.floatleft { table.floatleft {
@ -1036,6 +1057,7 @@ a {
} }
@media only screen and (min-width: @screen4 ) { @media only screen and (min-width: @screen4 ) {
div.tnone, div.tnone,
div.floatnone, div.floatnone,
table.floatnone, table.floatnone,
@ -1054,6 +1076,7 @@ a {
margin-right: @negative-margin !important; margin-right: @negative-margin !important;
} }
} }
/* /*
// Logged in styles // Logged in styles
.not-logged { .not-logged {

View file

@ -143,14 +143,20 @@
*/ */
@fonts: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif; @fonts: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif;
/** /**
* Citizen font stack * Citizen title font stack
* *
* `Titillium Web` Futuristic, Closet to Univia Pro, OFL licensed * `Titillium Web` Futuristic, Closet to Univia Pro, OFL licensed
* `Univia Pro` - Fallback font if Univia Pro is present * `Univia Pro` - Fallback font if Univia Pro is present
* 'Monoid' - Code font, OFL licensed
* Fallback using primary fonts * Fallback using primary fonts
*/ */
@fonts-secondary: 'Titillium Web', 'Univia Pro', @fonts; @fonts-secondary: 'Titillium Web', @fonts;
/**
* Citizen serif font stack
*
* `Geogria` Windows, Mac
* `serif` (Generic) web font fallback
*/
@fonts-serif: 'Geogria', @fonts;
/** /**
* System font stack for monospace fonts * System font stack for monospace fonts
* *