1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-07-05 16:44:21 +03:00

Merge pull request #36 from DavidKinder/master

Corrections to Windows-specific CSS
This commit is contained in:
David Kinder 2022-05-10 09:28:34 +01:00 committed by GitHub
commit 16dc9269a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,23 +29,15 @@ by default they are a darker grey. */
.headingpanel { .headingpanel {
background: #eeeeee; background: #eeeeee;
font-family: sans-serif;
-webkit-font-smoothing: antialiased;
} }
.headingpanelsucceeded { .headingpanelsucceeded {
background: #E6FFE6; background: #E6FFE6;
font-family: sans-serif;
-webkit-font-smoothing: antialiased;
} }
.headingpanelfailed { .headingpanelfailed {
background: #f69Ca6; background: #f69Ca6;
font-family: sans-serif;
-webkit-font-smoothing: antialiased;
} }
.headingpanelalt { .headingpanelalt {
background: #808080; background: #808080;
font-family: sans-serif;
-webkit-font-smoothing: antialiased;
} }
/* Heading panels have two lines of text: an upper one in a larger size, and a /* Heading panels have two lines of text: an upper one in a larger size, and a
@ -61,22 +53,30 @@ lower one in a smaller. Again, the alt versions are meant to contrast.
span.headingpaneltext { span.headingpaneltext {
color: #222222; color: #222222;
font-family: sans-serif;
-webkit-font-smoothing: antialiased;
font-size: 1.333rem; /* 20/12 * 100/125 */ font-size: 1.333rem; /* 20/12 * 100/125 */
font-weight: bold; font-weight: bold;
} }
span.headingpaneltextalt { span.headingpaneltextalt {
color: #ffffff; color: #ffffff;
font-family: sans-serif;
-webkit-font-smoothing: antialiased;
font-size: 1.333rem; /* 20/12 * 100/125 */ font-size: 1.333rem; /* 20/12 * 100/125 */
font-weight: bold; font-weight: bold;
} }
span.headingpanelrubric { span.headingpanelrubric {
color: #222222; color: #222222;
font-family: sans-serif;
-webkit-font-smoothing: antialiased;
font-size: 0.733rem; /* 11/12 * 100/125 */ font-size: 0.733rem; /* 11/12 * 100/125 */
font-weight: bold; font-weight: bold;
} }
span.headingpanelrubricalt { span.headingpanelrubricalt {
color: #ffffff; color: #ffffff;
font-family: sans-serif;
-webkit-font-smoothing: antialiased;
font-size: 0.733rem; /* 11/12 * 100/125 */ font-size: 0.733rem; /* 11/12 * 100/125 */
font-weight: bold; font-weight: bold;
} }
@ -116,7 +116,7 @@ div.periodictablesidebar:hover {
span.elementtext { span.elementtext {
color: #ffffff; color: #ffffff;
font-size: 20px; font-size: 1.333rem; /* 20/12 * 100/125 */
font-weight: bold; font-weight: bold;
} }
@ -125,14 +125,14 @@ of these boxes: */
span.elementnumbertext { span.elementnumbertext {
color: #ffffff; color: #ffffff;
font-size: 7pt; font-size: 0.622rem; /* 7/12 * 96/72 * 100/125 */
} }
/* For the text of the element title, to the right of the element box: */ /* For the text of the element title, to the right of the element box: */
span.elementtitletext { span.elementtitletext {
color: #ffffff; color: #ffffff;
font-size: 9px; font-size: 0.6rem; /* 9/12 * 100/125 */
font-weight: bold; font-weight: bold;
} }