mirror of
https://github.com/D-Modem/bbs.git
synced 2026-11-28 17:38:04 -08:00
- internal/phone reads modem caller IDs with its own tables: the ITU's country calling codes (shared ones told apart), the NANP's area codes by state and province, toll-free and other services, and how each country dials, so national numbers read as [general] phone_country - [general] geoip (with geoip_credit) is the BBS's country database; [chan] geoip falls back to it. geoip.File keeps a database file up to date for both - bbs.Locate and Node.Place: a caller's place by caller ID, else by address; the connect log, who's online (the country), the sysop's node list (number and state) and the API's /who show it - messages keep the poster's country (messages.country); the web forum shows its flag by the poster's name in every theme and on Online Users, with the database's credit at the foot ([http] forum_flags) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
348 lines
24 KiB
CSS
348 lines
24 KiB
CSS
/*
|
|
* The forum's curve theme: laid out in the manner of the PHP boards of
|
|
* 2011-2019 (Simple Machines Forum 2.0's "Curve" look and its kind): a
|
|
* slate blue band fading to a pale page, a white rounded frame holding
|
|
* the board's name, a member box with a big greeting and the news beside
|
|
* it, rounded menu buttons, a breadcrumb with little arrows, rounded
|
|
* steel-blue category bars over rounded pale-blue blocks, orange board
|
|
* names and poster names, posts with the poster on the left and quote
|
|
* buttons beneath, Verdana. Written for this BBS; it takes no code or
|
|
* images from any board.
|
|
*/
|
|
|
|
:root {
|
|
--band: #3e5a78;
|
|
--page: #e9eef2;
|
|
--frame: #ffffff;
|
|
--text: #444;
|
|
--link: #334466;
|
|
--cat-a: #84a0be;
|
|
--cat-b: #50709a;
|
|
--title: #e3e9ef;
|
|
--win: #e7eaef;
|
|
--win2: #f0f4f7;
|
|
--board: #d97b33;
|
|
--poster: #c06002;
|
|
--menu: #5a6c85;
|
|
--quote: #d7daec;
|
|
--radius: 7px;
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
html { background: var(--page); }
|
|
body {
|
|
margin: 0; padding: 15px 0 10px;
|
|
background: linear-gradient(var(--band) 0, #6787a6 120px, var(--page) 330px) no-repeat, var(--page);
|
|
color: var(--text); font: 13px/1.4 Verdana, Arial, Helvetica, sans-serif;
|
|
}
|
|
a:link, a:visited { color: var(--link); text-decoration: none; }
|
|
a:hover { text-decoration: underline; }
|
|
h1, h2, h3, h4, h5 { margin: 0; font-size: 1em; }
|
|
p { margin: 4px 0; }
|
|
form { margin: 0; }
|
|
ul { margin: 0; padding: 0; list-style: none; }
|
|
.smalltext, .small, .desc { font-size: 11px; }
|
|
.centertext, .center { text-align: center; }
|
|
.inline-form { display: inline; }
|
|
.linkish { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: var(--link); cursor: pointer; }
|
|
.linkish:hover { text-decoration: underline; }
|
|
.time { color: #666; }
|
|
|
|
/* little pictures drawn with CSS */
|
|
.main_icons { display: inline-block; position: relative; width: 14px; height: 14px; vertical-align: -2px; }
|
|
.main_icons.home::before { content: ""; position: absolute; left: 2px; right: 2px; bottom: 0; height: 7px; background: currentColor; }
|
|
.main_icons.home::after { content: ""; position: absolute; left: 0; top: 0; border: 7px solid transparent; border-bottom-color: currentColor; border-top: 0; }
|
|
.main_icons.search::before { content: ""; position: absolute; left: 0; top: 0; width: 8px; height: 8px; border: 2px solid currentColor; border-radius: 50%; }
|
|
.main_icons.search::after { content: ""; position: absolute; right: 0; bottom: 1px; width: 6px; height: 2px; background: currentColor; transform: rotate(45deg); }
|
|
.main_icons.profile::before, .main_icons.people::before, .main_icons.profile_sm::before { content: ""; position: absolute; left: 4px; top: 0; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
|
|
.main_icons.profile::after, .main_icons.people::after, .main_icons.profile_sm::after { content: ""; position: absolute; left: 1px; bottom: 0; width: 12px; height: 6px; border-radius: 6px 6px 0 0; background: currentColor; }
|
|
.main_icons.people { width: 16px; }
|
|
.main_icons.terminal::before { content: ""; position: absolute; inset: 1px 0; border: 2px solid currentColor; border-radius: 2px; }
|
|
.main_icons.terminal::after { content: ""; position: absolute; left: 3px; top: 4px; width: 4px; height: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
|
|
.main_icons.logout::before, .main_icons.login::before { content: ""; position: absolute; left: 0; top: 1px; width: 8px; height: 12px; border: 2px solid currentColor; border-right: 0; }
|
|
.main_icons.logout::after, .main_icons.login::after { content: ""; position: absolute; right: 0; top: 6px; width: 9px; height: 2px; background: currentColor; }
|
|
.main_icons.regcenter::before { content: "+"; position: absolute; left: 1px; top: -3px; font: bold 16px/1 Verdana, sans-serif; }
|
|
.main_icons.inbox::before { content: ""; position: absolute; inset: 2px 0; border: 2px solid currentColor; border-radius: 2px; }
|
|
.main_icons.inbox::after { content: ""; position: absolute; left: 2px; top: 1px; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) scale(0.7); }
|
|
.main_icons.stats { background: linear-gradient(to right, currentColor 0 3px, transparent 3px 5px, currentColor 5px 8px, transparent 8px 10px, currentColor 10px 13px, transparent 13px) bottom / 100% 100% no-repeat; clip-path: polygon(0 45%, 3px 45%, 3px 100%, 5px 100%, 5px 10%, 8px 10%, 8px 100%, 10px 100%, 10px 30%, 13px 30%, 13px 100%, 0 100%); }
|
|
.main_icons.poll { background: linear-gradient(to right, currentColor 0 3px, transparent 3px 5px, currentColor 5px 8px, transparent 8px 10px, currentColor 10px 13px, transparent 13px) bottom / 100% 100% no-repeat; clip-path: polygon(0 45%, 3px 45%, 3px 100%, 5px 100%, 5px 10%, 8px 10%, 8px 100%, 10px 100%, 10px 30%, 13px 30%, 13px 100%, 0 100%); }
|
|
.main_icons.history::before { content: ""; position: absolute; inset: 1px; border: 2px solid currentColor; border-radius: 50%; }
|
|
.main_icons.history::after { content: ""; position: absolute; left: 6px; top: 4px; width: 3px; height: 4px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; }
|
|
.main_icons.quote::before { content: "\201C"; position: absolute; left: 1px; top: -4px; font: bold 20px/1 Georgia, serif; }
|
|
.main_icons.remove_button::before { content: "\2715"; position: absolute; left: 2px; top: -1px; color: #b33; font: bold 12px/1 Verdana, sans-serif; }
|
|
.main_icons.like::before, .main_icons.unlike::before { content: "\2665"; position: absolute; left: 1px; top: -2px; color: #d55; font: 14px/1 Verdana, sans-serif; }
|
|
.main_icons.unlike::before { color: #999; }
|
|
.main_icons.logged { width: 9px; height: 9px; border-radius: 50%; background: #9db0c4; vertical-align: -1px; }
|
|
|
|
/* --- the frame */
|
|
#top_section { display: none; }
|
|
#wrapper { max-width: 1200px; margin: 0 auto; padding: 0 20px 6px; background: var(--frame); border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.15); }
|
|
#header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0 8px; }
|
|
h1.forumtitle { font: 26px/1.4 Geneva, Verdana, sans-serif; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
h1.forumtitle a:link, h1.forumtitle a:visited { color: var(--link); }
|
|
#smflogo { display: inline-flex; flex-direction: column; align-items: flex-end; flex: none; line-height: 1; }
|
|
#smflogo b { color: #3e5a78; font: bold italic 26px Georgia, serif; letter-spacing: -1px; text-shadow: 1px 1px 0 #c9d6e4; }
|
|
#smflogo i { color: #888; font: 9px Verdana, sans-serif; letter-spacing: 1px; text-transform: uppercase; }
|
|
#upper_section { display: flex; justify-content: space-between; gap: 16px; padding: 8px 10px; background: var(--win2); border-radius: var(--radius); }
|
|
#upper_section .user { display: flex; gap: 10px; align-items: center; font-size: 11px; }
|
|
#upper_section .user li { margin: 1px 0; }
|
|
#upper_section .greeting { font-size: 15px; font-weight: bold; }
|
|
#upper_section .greeting span { color: var(--poster); }
|
|
#guest_form input { font-size: 11px; }
|
|
#guest_form .info { margin: 2px 0; }
|
|
#upper_section .news { max-width: 50%; font-size: 11px; text-align: right; }
|
|
#upper_section .news h2 { font-size: 12px; }
|
|
|
|
/* menu buttons */
|
|
#main_menu { margin: 8px 0 0; }
|
|
.dropmenu { display: flex; flex-wrap: wrap; gap: 2px; }
|
|
.dropmenu a.firstlevel, .dropmenu button.firstlevel {
|
|
display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 6px;
|
|
color: #333; font: 12px Verdana, sans-serif; text-decoration: none;
|
|
}
|
|
.dropmenu .main_icons { color: #5a6c85; }
|
|
.dropmenu a.firstlevel:hover, .dropmenu button.firstlevel:hover { background: linear-gradient(#8aa2bd, #5a789b); color: #fff; text-decoration: none; }
|
|
.dropmenu a.firstlevel:hover .main_icons, .dropmenu button.firstlevel:hover .main_icons { color: #fff; }
|
|
.dropmenu a.firstlevel.active { background: linear-gradient(#7d93ad, var(--menu)); color: #fff; font-weight: bold; }
|
|
.dropmenu a.firstlevel.active .main_icons { color: #fff; }
|
|
|
|
/* breadcrumb */
|
|
.navigate_section ul { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; margin: 8px 0 10px; padding: 8px 0 4px; border-top: 1px solid #ccc; font-size: 12px; }
|
|
.navigate_section li { display: inline-flex; align-items: center; gap: 6px; padding-right: 6px; }
|
|
.navigate_section .dividers { color: #8aa2bd; font-size: 9px; }
|
|
.navigate_section .last { font-weight: bold; }
|
|
.navigate_section li:first-child a { font-weight: bold; }
|
|
|
|
#content_section { padding-bottom: 6px; }
|
|
.infobox { padding: 8px 12px; margin-bottom: 10px; border: 1px solid #8ec58e; border-radius: var(--radius); background: #ecf8ec; }
|
|
|
|
/* bars and blocks */
|
|
.cat_bar { margin-top: 6px; background: linear-gradient(var(--cat-a), var(--cat-b)); border-radius: var(--radius) var(--radius) 0 0; }
|
|
h3.catbg { padding: 6px 12px; color: #fff; font: bold 14px Arial, Helvetica, sans-serif; }
|
|
h3.catbg a:link, h3.catbg a:visited { color: #fff; }
|
|
.title_bar { background: var(--title); border-radius: var(--radius) var(--radius) 0 0; }
|
|
h3.titlebg { padding: 6px 12px; color: #222; font: bold 14px Arial, Helvetica, sans-serif; }
|
|
.sub_bar { margin-top: 6px; border-bottom: 1px solid #c9d2dc; }
|
|
h4.subbg { padding: 4px 2px; color: #333; font: bold 12px Arial, sans-serif; }
|
|
.windowbg { background: var(--win); border-radius: var(--radius); }
|
|
.windowbg.even { background: var(--win2); }
|
|
.roundframe { margin: 10px 0; padding: 0 12px 10px; background: #f5f5f5; border: 1px solid #c5c5c5; border-radius: var(--radius); }
|
|
.roundframe > .title_bar { margin: 0 -12px 6px; }
|
|
.cat_bar + .roundframe { margin-top: 0; border-radius: 0 0 var(--radius) var(--radius); }
|
|
.information { margin: 6px 0 10px; padding: 8px 12px; background: #f0f6f0; border: 1px solid #bbb; border-radius: var(--radius); font-size: 12px; }
|
|
.information.board_head, #display_head { background: #fff; border: 0; padding: 0 2px; margin: 4px 0 8px; }
|
|
.display_title { color: #333; font: bold 18px Arial, Helvetica, sans-serif; }
|
|
|
|
/* --- the board index */
|
|
.main_container { margin-bottom: 12px; }
|
|
.up_contain { display: flex; flex-direction: column; gap: 2px; }
|
|
.board_row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 110px 30%; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 0; }
|
|
.board_row:nth-child(even) { background: var(--win2); }
|
|
.board_row:last-child { border-radius: 0 0 var(--radius) var(--radius); }
|
|
.board_icon { text-align: center; }
|
|
.board_icon a, #posting_icons .board_icon > span { position: relative; display: inline-block; width: 40px; height: 34px; border-radius: 50% 50% 50% 10%; background: radial-gradient(circle at 40% 35%, #f6f8fa, #b8c2cc 75%); border: 1px solid #93a0ad; vertical-align: middle; }
|
|
.board_icon a::after, #posting_icons .board_icon > span::after { content: ""; position: absolute; left: 10px; right: 10px; top: 13px; height: 6px; border-top: 2px solid #fff; border-bottom: 2px solid #fff; }
|
|
.board_icon .board_on, #posting_icons .board_icon > .board_on { background: radial-gradient(circle at 40% 35%, #ffe2b0, #f39a2c 75%); border-color: #b86a15; }
|
|
#posting_icons .board_icon > span { width: 22px; height: 18px; }
|
|
#posting_icons .board_icon > span::after { left: 5px; right: 5px; top: 6px; height: 4px; border-width: 1px; }
|
|
.info .subject { color: var(--board) !important; font-size: 14px; font-weight: bold; }
|
|
.board_description { margin: 2px 0 0; color: #555; font-size: 11px; }
|
|
.board_stats { font-size: 11px; text-align: center; }
|
|
.lastpost { display: flex; align-items: center; gap: 8px; font-size: 11px; line-height: 1.45; min-width: 0; }
|
|
.lastpost p { margin: 0; min-width: 0; }
|
|
.lastpost .avatar { display: none; }
|
|
#posting_icons .information { background: none; border: 0; text-align: right; padding: 0; font-size: 11px; }
|
|
#info_center p.inline { margin: 4px 2px 8px; font-size: 12px; }
|
|
#info_center .title_bar h3 { display: flex; align-items: center; gap: 6px; }
|
|
#info_center .sub_bar h4 { display: flex; align-items: center; gap: 6px; }
|
|
|
|
/* --- the topic list */
|
|
.pagesection { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin: 6px 0; }
|
|
.pagelinks { display: flex; align-items: center; gap: 3px; font-size: 11px; }
|
|
.pagelinks .pages { margin-right: 3px; font-weight: bold; }
|
|
.pagelinks .nav_page, .pagelinks .current_page, .pagelinks .expand_pages { padding: 1px 6px; }
|
|
.pagelinks .current_page { font-weight: bold; }
|
|
.pagelinks .current_page::before { content: "["; }
|
|
.pagelinks .current_page::after { content: "]"; }
|
|
.buttonlist { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; }
|
|
.button, a.button, button.button {
|
|
display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 5px; background: linear-gradient(#f4f4f4, #dcdcdc);
|
|
border: 1px solid #c0c0c0; color: #000; font: 10px Verdana, sans-serif; text-transform: uppercase; text-decoration: none; cursor: pointer;
|
|
}
|
|
.button:hover { background: linear-gradient(#8aa2bd, #5a789b); color: #fff; text-decoration: none; }
|
|
.button.active, a.button.active { background: linear-gradient(#7d93ad, var(--menu)); border-color: #4a5b72; color: #fff; font-weight: bold; }
|
|
.button.important { font-weight: bold; }
|
|
#messageindex .title_bar { display: grid; grid-template-columns: 44px minmax(0, 1fr) 110px 28%; gap: 8px; padding: 6px 10px; font: bold 12px Arial, sans-serif; color: #222; }
|
|
#topic_container { display: flex; flex-direction: column; gap: 2px; }
|
|
.topic_row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 110px 28%; gap: 8px; align-items: center; padding: 7px 10px; border-radius: 0; }
|
|
.topic_row:nth-child(even) { background: var(--win2); }
|
|
.topic_row:last-child { border-radius: 0 0 var(--radius) var(--radius); }
|
|
.topic_icon { position: relative; display: inline-block; width: 22px; height: 18px; border: 1px solid #93a0ad; border-radius: 3px; background: linear-gradient(#fff, #d5dde6); vertical-align: middle; }
|
|
.topic_icon::after { content: ""; position: absolute; left: 4px; right: 4px; top: 5px; height: 5px; border-top: 1px solid #93a0ad; border-bottom: 1px solid #93a0ad; }
|
|
.topic_icon.hot { background: linear-gradient(#ffe0c2, #f5a35a); border-color: #b4652a; }
|
|
.topic_icon.new { box-shadow: 0 0 0 2px #f39a2c; }
|
|
.message_index_title { font-size: 13px; }
|
|
.message_index_title .preview a { font-weight: bold; }
|
|
.info p.floatleft { margin: 2px 0 0; font-size: 11px; }
|
|
a.new_posts { display: inline-block; padding: 0 5px; border-radius: 3px; background: #d97b33; color: #fff !important; font: bold 9px Verdana, sans-serif; text-transform: uppercase; vertical-align: 1px; }
|
|
.topic_pages a { margin-left: 3px; font-size: 11px; }
|
|
.icon_legend { font-size: 11px; }
|
|
.icon_legend .topic_icon { width: 18px; height: 15px; }
|
|
|
|
/* --- posts */
|
|
#forumposts .cat_bar h3 { display: flex; gap: 10px; }
|
|
#forumposts .author { width: 160px; flex: none; }
|
|
#forumposts > .windowbg { margin-top: 2px; border-radius: 0; }
|
|
#forumposts > .windowbg:last-child { border-radius: 0 0 var(--radius) var(--radius); }
|
|
.post_wrapper { display: grid; grid-template-columns: 170px minmax(0, 1fr); padding: 8px 10px; }
|
|
.poster { grid-row: span 2; padding-right: 10px; overflow-wrap: anywhere; }
|
|
.poster h4 { margin: 0 0 4px; font-size: 15px; }
|
|
.poster h4, .poster h4 a:link, .poster h4 a:visited { color: var(--poster); }
|
|
.user_info { font-size: 11px; }
|
|
.user_info li { margin: 2px 0; }
|
|
.user_info .stars { color: #e3a21a; letter-spacing: 1px; }
|
|
.user_info .avatar { margin: 6px 0; }
|
|
.user_info .profile .main_icons { color: var(--link); }
|
|
.postarea { min-width: 0; }
|
|
.keyinfo { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; padding-bottom: 4px; }
|
|
.keyinfo .postinfo { grid-column: 2; }
|
|
.keyinfo h5 { font-size: 13px; }
|
|
.keyinfo h5 a:link, .keyinfo h5 a:visited { color: #333; }
|
|
.messageicon { grid-row: span 2; display: inline-block; width: 18px; height: 18px; border: 1px solid #93a0ad; border-radius: 3px; background: linear-gradient(#fff, #dfe6ee); }
|
|
.post .inner { padding: 10px 0 6px; border-top: 1px solid #99a; color: #000; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; min-height: 60px; }
|
|
.moderatorbar { grid-column: 2; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; padding: 6px 0 2px; border-top: 1px solid #c8ccd4; }
|
|
.post_likes { display: flex; gap: 8px; align-items: center; font-size: 11px; }
|
|
.like_button { display: inline-flex; align-items: center; gap: 4px; font-weight: bold; }
|
|
.like_count { color: #555; }
|
|
.quickbuttons { display: flex; gap: 12px; margin-left: auto; font: bold 11px Arial, sans-serif; }
|
|
.quickbuttons a, .quickbuttons .linkish { display: inline-flex; align-items: center; gap: 4px; color: #333; }
|
|
.quickbuttons a:hover, .quickbuttons .linkish:hover { color: #a70; text-decoration: none; }
|
|
.reportlinks { flex-basis: 100%; text-align: right; color: #777; }
|
|
|
|
/* quotes, as Curve set them */
|
|
.citation { margin: 6px 0 0; padding: 2px 4px; color: #666; font-size: 10px; font-weight: bold; }
|
|
.citation::before { content: "Quote from: "; }
|
|
blockquote.quote { margin: 1px 0 10px; padding: 8px 14px 8px 30px; position: relative; background: var(--quote); border-top: 2px solid #99a; border-bottom: 2px solid #99a; color: #000; font-size: 12px; line-height: 1.4; }
|
|
blockquote.quote::after { content: "\201C"; position: absolute; left: 6px; top: 2px; color: #99a; font: bold 26px/1 Georgia, serif; }
|
|
blockquote.quote:not(.citation + blockquote.quote) { margin-top: 6px; }
|
|
.bbc_url:link, .bbc_url:visited { text-decoration: underline; }
|
|
|
|
/* polls */
|
|
#poll { margin-bottom: 10px; }
|
|
#poll .windowbg { padding: 10px 14px; border-radius: 0 0 var(--radius) var(--radius); }
|
|
#pollquestion { margin-bottom: 8px; font-size: 14px; }
|
|
.options { display: grid; grid-template-columns: minmax(0, 35%) 1fr; gap: 6px 12px; margin: 0 0 8px; }
|
|
.options dt.voted { font-weight: bold; }
|
|
.options dd { margin: 0; display: flex; align-items: center; gap: 8px; }
|
|
meter { flex: 1; max-width: 360px; height: 14px; }
|
|
meter::-webkit-meter-bar { background: #fff; border: 1px solid #93a0ad; border-radius: 7px; }
|
|
meter::-webkit-meter-optimum-value { background: linear-gradient(#a7c1dd, #5a789b); border-radius: 7px; }
|
|
meter::-moz-meter-bar { background: #5a789b; }
|
|
.percentage { font-size: 11px; }
|
|
.pollvote { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding-top: 6px; border-top: 1px solid #c8ccd4; }
|
|
|
|
/* quick reply */
|
|
#quickreply { margin-top: 10px; }
|
|
#quickreply .roundframe { padding-top: 8px; }
|
|
.qr_foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 6px; }
|
|
.qr_foot .button_submit { margin-left: auto; }
|
|
|
|
/* profile */
|
|
.profile_view { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 10px; margin-bottom: 10px; }
|
|
#basicinfo .windowbg { padding: 12px; text-align: center; height: 100%; }
|
|
#basicinfo .username h4 { font-size: 18px; color: var(--poster); }
|
|
#basicinfo .position { display: block; color: #555; font-size: 11px; font-weight: normal; }
|
|
#basicinfo .avatar { margin: 10px 0; }
|
|
.online_status { font-size: 11px; }
|
|
.online_status .on, .online_status .off { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #3fa24a; }
|
|
.online_status .off { background: #aaa; }
|
|
#detailedinfo .windowbg { padding: 12px; height: 100%; background: var(--win2); }
|
|
dl.settings { display: grid; grid-template-columns: 160px 1fr; gap: 6px 10px; margin: 0; font-size: 12px; }
|
|
dl.settings dt { font-weight: bold; }
|
|
dl.settings dd { margin: 0; overflow-wrap: anywhere; }
|
|
.recent_post { margin-top: 2px; padding: 8px 12px; border-radius: 0; }
|
|
.recent_post:last-child { border-radius: 0 0 var(--radius) var(--radius); }
|
|
.topic_details h5 { font-size: 13px; }
|
|
.list_posts { margin-top: 4px; padding-top: 4px; border-top: 1px solid #c8ccd4; font-size: 12px; }
|
|
|
|
/* --- forms and the default theme's pages */
|
|
input, select, textarea, button { font: 12px Verdana, Helvetica, sans-serif; }
|
|
input[type=text], input[type=password], input[type=email], input[type=search], select, textarea { padding: 3px 4px; border: 1px solid #7f9db9; background: #fff; color: #000; }
|
|
input:hover, textarea:hover { border-color: #454545; }
|
|
textarea { width: 100%; }
|
|
.button_submit { padding: 3px 12px; border: 1px solid #aaa; border-radius: 3px; background: linear-gradient(#e6f2ff, #b9d8f5); color: #000; cursor: pointer; }
|
|
.button_submit:hover { background: linear-gradient(#f2f8ff, #cde7ff); }
|
|
.box { margin: 0 0 10px; background: var(--win); border-radius: var(--radius); overflow: hidden; }
|
|
.box > h2.maintitle { display: flex; gap: 8px; margin: 0; padding: 6px 12px; background: linear-gradient(var(--cat-a), var(--cat-b)); color: #fff; font: bold 14px Arial, Helvetica, sans-serif; }
|
|
.box .count { margin-left: auto; font-weight: normal; }
|
|
.box-body { padding: 10px 12px; }
|
|
.box.narrow { max-width: 560px; margin-left: auto; margin-right: auto; }
|
|
.field { display: grid; grid-template-columns: 35% 1fr; align-items: center; gap: 6px; padding: 3px 0; font-weight: bold; }
|
|
.field input, .field textarea { font-weight: normal; }
|
|
.editor .field { grid-template-columns: 1fr; }
|
|
.editor-foot { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
|
|
.signin .desc { margin-bottom: 6px; }
|
|
.poll-maker { margin: 8px 0; }
|
|
.poll-maker summary { cursor: pointer; font-weight: bold; }
|
|
.searchform { display: flex; gap: 6px; }
|
|
.searchform input { flex: 1; }
|
|
.message.error { color: #c00; font-weight: bold; }
|
|
p.message { padding: 8px 12px; background: #f0f6f0; border: 1px solid #bbb; border-radius: var(--radius); }
|
|
table.board { width: 100%; border-collapse: separate; border-spacing: 0 2px; }
|
|
table.board th { padding: 6px 12px; background: var(--title); color: #222; font: bold 12px Arial, sans-serif; text-align: left; }
|
|
table.board td { padding: 7px 12px; background: var(--win); vertical-align: top; }
|
|
table.board tr:nth-child(even) td { background: var(--win2); }
|
|
table.board h3 { margin: 0; font-size: 13px; }
|
|
.snippet { font-size: 11px; }
|
|
td.none { text-align: center; }
|
|
|
|
/* letter pictures for those without one */
|
|
.avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; color: #fff; font: bold 14px Verdana, sans-serif; border-radius: 4px; vertical-align: middle; }
|
|
.avatar.tiny { width: 18px; height: 18px; font-size: 10px; }
|
|
.avatar.mini { width: 30px; height: 30px; font-size: 14px; }
|
|
.avatar.large { width: 65px; height: 65px; font-size: 30px; }
|
|
.avatar.huge { width: 110px; height: 110px; font-size: 50px; }
|
|
.av0 { background: #4f7bb0; } .av1 { background: #b0574f; } .av2 { background: #4f9a6b; }
|
|
.av3 { background: #8a5fb0; } .av4 { background: #c0862d; } .av5 { background: #3e8f9e; }
|
|
.av6 { background: #a24f86; } .av7 { background: #6b7a3c; } .av8 { background: #c06a3e; }
|
|
.av9 { background: #546478; } .av10 { background: #2f7f5f; } .av11 { background: #9b4545; }
|
|
|
|
/* --- the foot */
|
|
#footer { max-width: 1200px; margin: 10px auto 0; padding: 8px 20px; text-align: center; font-size: 11px; }
|
|
#footer ul { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 0; }
|
|
#footer li { padding: 0 8px; border-left: 1px solid #aab; }
|
|
#footer li:first-child, #footer li.copyright { border-left: 0; }
|
|
#footer li.copyright { flex-basis: 100%; padding-top: 6px; }
|
|
.themepicker { display: inline-flex; align-items: center; gap: 4px; }
|
|
.themepicker select, .themepicker .button { font-size: 11px; }
|
|
|
|
/* --- narrow screens */
|
|
@media (max-width: 760px) {
|
|
body { padding-top: 6px; }
|
|
#wrapper { padding: 0 8px 6px; border-radius: 0; }
|
|
h1.forumtitle { font-size: 19px; }
|
|
#smflogo b { font-size: 18px; }
|
|
#upper_section { flex-direction: column; }
|
|
#upper_section .news { max-width: none; text-align: left; }
|
|
.board_row { grid-template-columns: 50px minmax(0, 1fr); }
|
|
.board_row .board_stats { display: none; }
|
|
.board_row .lastpost { grid-column: 1 / -1; }
|
|
#messageindex .title_bar { grid-template-columns: 1fr; }
|
|
#messageindex .title_bar > :not(.info) { display: none; }
|
|
.topic_row { grid-template-columns: 34px minmax(0, 1fr); }
|
|
.topic_row .board_stats, .topic_row .lastpost { display: none; }
|
|
#forumposts .author { display: none; }
|
|
.post_wrapper { grid-template-columns: 1fr; }
|
|
.poster { grid-row: auto; padding: 0 0 6px; border-bottom: 1px solid #c8ccd4; margin-bottom: 4px; }
|
|
.user_info { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
|
|
.user_info .avatar { width: 32px; height: 32px; font-size: 15px; margin: 0; }
|
|
.moderatorbar { grid-column: 1; }
|
|
.profile_view { grid-template-columns: 1fr; }
|
|
dl.settings { grid-template-columns: 120px 1fr; }
|
|
.options { grid-template-columns: 1fr; }
|
|
.field { grid-template-columns: 1fr; }
|
|
}
|
|
|
|
/* the country database's credit, where posters' flags are shown */
|
|
.geocredit { text-align: center; font-size: 11px; margin: 8px 0 16px; }
|