From 720d752748b793a2f5cf3cc14cb75ad86e8919c0 Mon Sep 17 00:00:00 2001 From: sillylaird Date: Tue, 3 Feb 2026 21:27:57 -0500 Subject: First commit --- style.css | 282 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 282 insertions(+) create mode 100644 style.css (limited to 'style.css') diff --git a/style.css b/style.css new file mode 100644 index 0000000..6fb6edc --- /dev/null +++ b/style.css @@ -0,0 +1,282 @@ +/* Base Styles for Desktop View */ + + + +.button1 { + background-color: black; + font-family: Comic Sans MS; + font-weight: 300; +} + +h1 { + font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', sans-serif; + font-size: 1.875rem; /* 30px / 16px (base font size) */ + padding-left: 40px; +} + +pre { + font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', sans-serif; + font-size: 12px; + padding-left: 40px; +} + +nav { + text-align: left; + float: left; + width: 30%; + padding: 20px; +} +/* Consider using flexbox for navigation for better alignment */ +nav a { + display: inline-block; /* Keep the anchor as a block or inline-block for better alignment */ +} + +article { + float: left; + padding: 20px; + width: 70%; +} + +body { + background-color: #ffd; + margin: 0; /* Remove default margin */ +} +/* Consider using viewport units for more responsive sizing */ +iframe { + display: block; /* iframes are inline by default */ + height: 100vh; /* Set height to 100% of the viewport height */ + width: 100vw; /* Set width to 100% of the viewport width */ + border: none; /* Remove default border */ + background: #ffd; /* Just for styling */ +} +/* Use a more descriptive ID or consider a class */ +#design-cast { + position: relative; + overflow: hidden; +} + +.member { + float: left; + width: calc(20% - 2%); /* Adjust width to account for margins */ + margin: 1% 1% 45px 1%; +} + +.name { + bottom: 0px; +} + +.member img { + width: 50%; + display: block; +} + +ul.flowxl { + display: flex; + flex-wrap: wrap; + padding: 0; +} + +ul.flowxl > li { + list-style-type: none; + text-align: center; + width: var(--xiconsize); + min-width: var(--xiconsize); + max-width: var(--xiconsize); + max-height: calc(var(--xiconsize) + 60px); + padding: 2px; + margin: 0.125rem; /* Use rem for margin */ + overflow: hidden; + font-size: 1rem; + line-height: 1; +} + +ul.flowxl > li > a { + display: block; + /* vertical-align: middle; This property is not applicable to block-level elements. It only affects inline or inline-block elements. */ + line-height: 1; + font-size: 1.2rem; +} + +ul.flowxl li > a > img, +ul.flowxl li > img { + display: block; + border-radius: 9px; + width: auto; + max-width: var(--xiconsize); + max-height: var(--xiconsize); + overflow: hidden; + margin-left: auto; + margin-right: auto; +} + +ul.flowxl li > a > img[src$=".svg"] { + max-width: 170px; + max-height: 170px; +} + +table { + overflow: auto; +} + +p, a, li, figcaption, div, span { + overflow-wrap: anywhere; +} + +.content { + margin-left: 0; /* Ensure no extra margin is added */ +} +/* Consider using a more semantic element like