Files
Claude 4d49631d37 Where callers are: GeoIP for the forums, caller ID decoding
- 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
2026-10-14 08:05:27 +00:00

188 lines
13 KiB
CSS

/*
* The forum's YaBB 2.5 theme: YaBB 2.5's default template (its
* "Advanced Edition" look) over the yabb2 theme's pages, with a head,
* board index and topic of its own: a silver page in a grey frame, a
* glossy grey strip with the clock, glossy grey tabs with the chosen one
* lit and a search box at the right, the way here in small bold navy,
* each category under a rounded glossy title, boards on pale grey rows
* shaded at the top with a grey folder and a glowing orange orb when
* there is something new, the counts stacked beside them, and posts
* that put the poster across the top on a grey band (picture, name,
* online or not, rank, stars) over the message in small grey type, in
* rounded grey frames. Colors follow YaBB 2.5.2's yabb25.css and its
* translucent images laid over their colors; the CSS is our own and no
* images are taken.
*/
@import url("yabb2.css");
:root {
--page: #eeeeee;
--frame: #cccccc;
--grid: #b1bdc9;
--wb: #dddddd;
--wb2: #eeeeee;
--title: #b5b5b5;
--title-text: #01005f;
--cat: #aaaaa9;
--cat-text: #01005f;
--text: #000033;
--link: #333366;
--link-hover: #333366;
--nav: #000033;
--nav-hover: #333366;
--divider: #a7b8cc;
--msg: #62686f;
--msglink: #900000;
--gloss: linear-gradient(#e3e2e2, #d7d6d6 25%, #cdcdcc 48%, #b4b4b4 52%, #a4a4a3 80%, #9b9b9a);
--tab: linear-gradient(#e0e0e0, #d6d6d6 30%, #cacaca 50%, #b5b5b5 55%, #a7a7a7 80%, #9d9d9d);
--tab-on: linear-gradient(#e3e3e3, #d6d6d6 30%, #cacaca 50%, #b5b5b5 55%, #bdbdbd 75%, #c5c5c5);
}
body.yabb25 { padding-top: 5px; background: var(--page); color: var(--text); font-size: 12px; }
#maincontainer { width: 92%; margin: 0 auto 10px; }
.yabb25 #container { width: auto; padding: 0 1px; background: var(--frame); color: var(--text); }
.yabb25 a:link, .yabb25 a:visited { color: var(--link); }
.yabb25 .small { font-size: 10px; }
.yabb25 .button, .yabb25 button:not(.linkish) { padding: 1px 8px; border: 1px solid #b1bdc9; background: linear-gradient(#f7f7f7, #ececec 45%, #d3d3d3 55%, #b1b1b1); color: #000; font-size: 11px; cursor: pointer; }
/* the head */
.menutop { display: flex; align-items: center; min-height: 24px; padding: 0 2%; background: linear-gradient(#ebebeb, #dbdbdb 40%, #d1d1d1 70%, #cccccc); }
.yyclockbar { font-size: 10px; }
.yyhead25 { display: flex; align-items: center; gap: 12px; min-height: 100px; padding: 4px 8px; background: var(--wb2); }
.yylogo25, .yylogo25:hover { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; width: 600px; max-width: 60%; border: 0; text-decoration: none; }
.yyorb-logo { flex: none; width: 78px; height: 78px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 8%, #c9d6ea 18%, #6f8fc4 48%, #2d4a85 75%, #1b2f5c); box-shadow: 0 3px 6px rgba(0, 0, 0, 0.35), inset 0 -4px 8px rgba(0, 0, 0, 0.3); }
.yylogo25 .yylogo-name { display: block; color: #1f2c5c; font: bold 30px/1 "Trebuchet MS", Verdana, sans-serif; letter-spacing: -1px; text-shadow: 0 1px 0 #fff, 0 2px 3px rgba(0, 0, 0, 0.25); }
.yylogo25 .yylogo-sub { display: block; margin-top: 5px; color: #5d6b84; font: italic 12px Georgia, serif; letter-spacing: 0; text-transform: none; }
.yyhead25-right { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.yyuname { font-size: 12px; }
.yyspacer { min-height: 22px; }
.yytabrow { display: flex; align-items: stretch; height: 23px; background: var(--tab); }
.tabmenu { display: flex; flex: 1; padding-left: 40px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), transparent 40px); }
.tabmenu > span { display: flex; align-items: center; padding: 0 14px; border-right: 1px solid #a3a3a3; border-left: 1px solid #e4e4e4; background: var(--tab); font-size: 11px; white-space: nowrap; }
.tabmenu > span:first-child { border-left-color: #a3a3a3; }
.tabmenu > span.selected { background: var(--tab-on); font-weight: bold; }
.tabmenu a:link, .tabmenu a:visited, .tabmenu .linkish { color: #000033; font-size: 11px; }
.tabmenu > span:hover { background: var(--tab-on); }
.tabmenu a:hover { color: #444; }
.rightbox { display: flex; align-items: center; gap: 3px; padding: 0 8px; border-left: 1px solid #a3a3a3; background: linear-gradient(#e1e1e1, #d2d2d2 45%, #b3b3b3 55%, #9d9d9d); }
.rightbox input { width: 110px; padding: 1px 3px; font-size: 10px; }
.rightbox .button { font-size: 10px; padding: 0 5px; }
.yynav25 { display: flex; align-items: center; min-height: 30px; padding: 0 2%; color: var(--nav); font-size: 10px; font-weight: bold; }
.yabb25 .nav a:link, .yabb25 .nav a:visited { color: var(--nav); }
.yabb25 #yymain { width: 96%; margin: 0 auto; padding-bottom: 14px; }
.yabb25 .yynotice { width: 96%; margin: 0 auto 12px; border-radius: 8px; }
/* glossy rounded title strips over each block */
.yycat25 { margin-bottom: 14px; }
.tabtitle { color: #01005f; font-size: 11px; font-weight: bold; }
.yystrip { display: flex; align-items: center; min-height: 25px; padding: 0 12px; border-radius: 9px 9px 0 0; background: var(--gloss); }
.yystrip-name { flex: 1 1 63%; }
.yystrip-last { flex: 0 0 27%; }
.yabb25 table.bordercolor { margin: 0; border-spacing: 0; background: var(--grid); }
.shadow { background: linear-gradient(#bbbbbb, #c9c9c9 3px, #dbdbdb 7px, #eeeeee 11px) #eeeeee; color: #304b58; font-size: 12px; }
.yabb25 table.bordercolor td.shadow { padding: 5px 4px; vertical-align: middle; }
.yyboards25 td.pic { width: 5%; text-align: center; }
.yyboards25 td.info { width: 54%; }
.yyboards25 td.counts { width: 10%; padding-left: 8px !important; white-space: nowrap; }
.yyboards25 td.last { width: 24%; padding-left: 12px !important; }
.yyboards25 .boardname { font-size: 12px; }
.yyboardpic { position: relative; display: inline-block; width: 34px; height: 26px; margin-top: 6px; border-radius: 2px; background: linear-gradient(#f0f0f0, #c6c6c6 40%, #8f8f8f); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); }
.yyboardpic::before { content: ""; position: absolute; left: 0; top: -5px; width: 14px; height: 6px; border-radius: 3px 3px 0 0; background: #d9d9d9; }
.yyboardpic:hover { border: 0; }
.yyorb { display: inline-block; width: 13px; height: 13px; vertical-align: -2px; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #fafafa 0 15%, #b7b7b7 45%, #7b7b7b 70%, #c7c7c7 78%, #e9e9e9); box-shadow: 0 0 1px #888; }
.yyorb.on { background: radial-gradient(circle at 50% 45%, #fff6b0 0 15%, #ffc400 40%, #e07a00 68%, #e9b46a 78%, #f7e2c4); box-shadow: 0 0 3px rgba(255, 160, 0, 0.8); }
.yyicon.cat25 { width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #fff 0 15%, #8a95b8 55%, #3c4878); vertical-align: -1px; }
.yyinfo25 td.icon { width: 5%; text-align: center; }
.yyicon.info25 { position: relative; width: 26px; height: 20px; border-radius: 50%; background: radial-gradient(ellipse at 40% 35%, #f0f0f0, #9a9a9a); }
.yyicon.info25::before { content: "i"; position: absolute; inset: 0; color: #555; font: bold italic 13px/20px Georgia, serif; text-align: center; }
.yyicon.people25 { width: 26px; height: 20px; background: radial-gradient(circle at 8px 5px, #9b9b9b 0 3.5px, transparent 4px), radial-gradient(circle at 18px 5px, #b0b0b0 0 3.5px, transparent 4px), radial-gradient(ellipse 6px 9px at 8px 19px, #8a8a8a 0 99%, transparent), radial-gradient(ellipse 6px 9px at 18px 19px, #a5a5a5 0 99%, transparent); }
.useronline { color: #138a03 !important; font-weight: bold; }
.useroffline { color: #818281; font-weight: bold; }
.yylegend25 { margin-bottom: 14px !important; }
/* rounded grey frames: bars, titles and posts */
.displaycontainer { margin-bottom: 1px; padding: 1px; border-radius: 10px; background: var(--frame); }
.displaycontainer > :first-child { border-radius: 9px 9px 0 0; }
.displaycontainer > :last-child { border-radius: 0 0 9px 9px; }
.displaycontainer > :only-child { border-radius: 9px; }
.yabb25 .catbg { background: linear-gradient(#a2a2a2, #bbbbba 4%, #aaaaaa 30%, #9d9d9c 50%, #aaaaaa 70%, #afafaf); color: #01005f; font-size: 11px; text-shadow: none; }
.yabb25 .titlebg { background: #b5b5b5; color: #01005f; font-size: 11px; }
.yabb25 .catbg a:link, .yabb25 .catbg a:visited, .yabb25 .titlebg a:link, .yabb25 .titlebg a:visited, .yabb25 .yybuttons a:link, .yabb25 .yybuttons a:visited, .yabb25 .yybuttons .linkish { color: #01005f; }
.yybar25 .catbg { display: flex; justify-content: space-between; align-items: center; gap: 4px; padding: 5px 10px; }
.yybar25 { margin-bottom: 8px; }
.yybar25:has(+ .yytitle25), .yybar25:has(+ .yypoll25) { margin-bottom: 8px; }
.yytitle25 .titlebg { padding: 6px 10px; }
.yytitle25 { margin-bottom: 8px; }
.yydoc, .yabb25 .ficon { position: relative; display: inline-block; width: 12px; height: 15px; margin: 0 2px; vertical-align: -3px; border: 1px solid #6aa0ad; border-radius: 0 4px 0 0; background: linear-gradient(135deg, #f4fbfd, #cbe3ea); box-shadow: none; }
.yydoc.hot, .yabb25 .ficon.hot, .yabb25 .ficon.veryhot { border-color: #d0700a; background: linear-gradient(135deg, #ffd27a, #f08a10); }
.yabb25 .ficon::before, .yabb25 .ficon::after, .yabb25 .ficon.hot::after, .yabb25 .ficon.veryhot::after { display: none; }
.yypost25 { margin-bottom: 10px; }
.yydate25 { padding: 5px 8px; }
.yydate25 a:link, .yydate25 a:visited { color: #01005f; }
.userinfo { display: flex; align-items: center; gap: 10px; padding: 6px 8px; background: linear-gradient(#aeadad, #c7c7c7 12%, #d8d7d7 25%, #e8e7e7 45%, #ebebeb 55%, #e0e0e0 80%, #d2d2d2); color: #304b58; }
.yyuserleft { flex: 1; line-height: 1.5; }
.yyname25 { font-size: 12px; }
.yyuserright { flex: 0 0 15%; line-height: 1.5; }
.yabb25 .yystars { color: #2c6fd6; text-shadow: 0 0 1px #0d3a8a; font-size: 12px; }
.yabb25 .yyuserpic .avatar.large { width: 56px; height: 56px; font-size: 26px; border: 1px solid #999; }
.yybody25 { display: flow-root; padding: 6px 8px; }
.yabb25 .windowbg { background: var(--wb); }
.yabb25 .windowbg2 { background: var(--wb2); }
.yybody25 .yypostbtns { float: right; display: flex; gap: 3px; margin: 0 0 6px 10px; }
.yybtn, .yabb25 button.yybtn { display: inline-block; padding: 1px 6px; border: 1px solid #a8a8a8; border-radius: 3px; background: linear-gradient(#fafafa, #e3e3e3 50%, #cfcfcf 51%, #dcdcdc); color: #000033 !important; font: 10px Verdana, sans-serif; cursor: pointer; }
.yybtn:hover { border-color: #777; }
.yabb25 .yymessage { min-height: 50px; padding-top: 2px; color: var(--msg); font-size: 8pt; }
.yylikes { color: #555; }
.yabb25 .yymsgfoot { display: flex; justify-content: space-between; margin-top: 6px; padding-top: 5px; border-top: 1px solid var(--divider); }
.yabb25 blockquote.quote { background: #e8ebef; border-color: #34689a; }
/* polls and the quick reply */
.yypollbody, .yyformbody { padding: 8px 10px; }
.yypollres { width: 100%; margin-bottom: 6px; }
.yypollres td { padding: 2px 4px; }
.yypollres .answer { width: 30%; }
.yypollres .bar { width: 50%; }
.yypollres meter { width: 100%; }
.yypoll25 { margin-bottom: 8px; }
.yypoll25 .titlebg, .yyform25 .titlebg { padding: 6px 10px; }
.yyform25 { display: block; margin-top: 14px; }
.yyformbody { display: flex; flex-direction: column; gap: 5px; }
.yyformbody textarea { width: 100%; max-width: 640px; }
.yyformfoot { text-align: center; }
/* yabb1's pages under this frame: tables with rounded heads */
.yabb25 table.yybar { border-radius: 9px; overflow: hidden; margin-bottom: 8px; }
.yabb25 table.yytopics, .yabb25 table.yyprofile { border-spacing: 1px; border-radius: 9px 9px 0 0; overflow: hidden; }
.yabb25 table.yytopics th.titlebg, .yabb25 table.yyprofile th.titlebg { background: var(--gloss); }
.yabb25 .yylegend-topics { margin-top: 8px; }
.yabb25 .box { border-radius: 9px; border-bottom: 0; overflow: hidden; }
.yabb25 .box > h2.maintitle { background: var(--gloss); color: #01005f; font-size: 11px; }
.yabb25 table.board th { background: #b5b5b5; color: #01005f; text-shadow: none; font-size: 11px; }
.yabb25 table.board td { background: var(--wb2); }
/* the foot */
.yyfootbar { justify-content: space-between; gap: 10px; min-height: 26px; flex-wrap: wrap; background: var(--gloss); }
.yyfootbar .themepicker { font-weight: normal; }
.yabb25 .copyright { color: #62686f; }
.yabb25 .copyright a:link, .yabb25 .copyright a:visited { color: #333366; }
@media (max-width: 760px) {
#maincontainer { width: auto; margin: 0 4px; }
.yyhead25 { flex-direction: column; align-items: flex-start; min-height: 0; }
.yylogo25, .yylogo25:hover { width: auto; max-width: none; }
.yyorb-logo { width: 44px; height: 44px; }
.yylogo25 .yylogo-name { font-size: 22px; }
.yytabrow { height: auto; flex-wrap: wrap; }
.tabmenu { flex-wrap: wrap; padding-left: 0; }
.tabmenu > span { min-height: 23px; padding: 0 9px; }
.rightbox { flex: 1 0 100%; min-height: 26px; border-left: 0; }
.yabb25 #yymain { width: auto; margin: 0 4px; }
.yystrip-last, .yyboards25 td.counts, .yyboards25 td.pic { display: none; }
.yyboards25 td.last { width: 38%; padding-left: 4px !important; }
.userinfo { flex-wrap: wrap; }
.yyuserright { flex-basis: 100%; }
}
/* the country database's credit, where posters' flags are shown */
.geocredit { text-align: center; font-size: 11px; margin: 8px 0 16px; }