Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make multi lines equal length #451

Merged
merged 17 commits into from
Aug 31, 2024
Merged
38 changes: 35 additions & 3 deletions includes/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ html {
/* These are to prevent some 'spam site' complaints. */
background-color: #FFFFFE;
color: #000001;
color-scheme: dark light;
hanging-punctuation: first last;
}
*,
*:before,
*:after {
*::before,
*::after {
-webkit-box-sizing: inherit;
box-sizing: inherit;
}
Expand All @@ -33,6 +35,11 @@ body{
color: var(--textcolor);
font: var(--def-font-size)/1.5 var(--def-font-family);
}

del {
text-decoration: line-through 2px var(--textcolor);
}

div.container-fluid, div.container, nav.navbar,
div.dropdown-menu, ul.dropdown-menu, .list-group, .list-group-item,
.sectioncontent {
Expand Down Expand Up @@ -70,6 +77,9 @@ abbr {
div {
border:0;
}
h1,h2,h3,h4,h5,h6 {
text-wrap: balance;
}
h2 {
color: var(--h2color);
font-size:1.875rem;
Expand All @@ -83,6 +93,10 @@ fieldset {
label {
font-weight:bold;
}
p {
max-inline-size: 65ch;
text-wrap: pretty;
}
textarea {
/*font-size:.75rem;*/
overflow:auto;
Expand Down Expand Up @@ -170,7 +184,19 @@ td.weekcell {
text-decoration:none;
}
img {
border:0;
max-inline-size: 100%;
block-size: auto;

/* These 2 presume pre-load a low-res image in an inline style="" on each img. */
/* We probably don't need them. Yet. */
/*
background-repeat: no-repeat;
background-size: cover;
*/

shape-margin: 1rem;
border: 0;
vertical-align: middle;
}
img.color {
width:.9375rem;
Expand Down Expand Up @@ -1595,3 +1621,9 @@ table.ThemeMenubar {
margin-left: .1rem;
margin-right: .1rem;
}
@media(prefers-reduced-motion: no-preference) {
:has(:target) {
scroll-behavior: smooth;
scroll-padding-top: 2rem;
}
}