Jump to content

Template:Main page/styles.css

From Wikigama
/* WikiGama vintage theme — Vector 2022 desktop */
.vg-wrap {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 28px 0;
	background: #f8f2e4;
	color: #2c2318;
	font-family: Georgia, 'Palatino Linotype', 'Book Antiqua', serif;
	font-size: 16px;
	line-height: 1.6;
	border-left: 1px solid #e4d7b8;
	border-right: 1px solid #e4d7b8;
}
.vg-wrap a { color: #7a1f1f; }
.vg-wrap a:visited { color: #7a1f1f; }
.vg-mast { padding: 30px 0 22px; border-bottom: 4px double #a07c2c; }
.vg-mast-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; letter-spacing: 3px; color: #6e5f4c; }
.vg-mast-name { font-size: 42px; letter-spacing: 10px; color: #2c2318; font-weight: 400; margin-left: 10px; }
.vg-mast-tag { text-align: center; font-size: 12px; letter-spacing: 6px; color: #a07c2c; margin-top: 8px; }
.vg-hero { text-align: center; padding: 44px 0 40px; }
/* HERO CAROUSEL — 3 portraits rotate: center goes left, right comes to center */
.vg-rot { position: relative; height: 470px; max-width: 920px; margin: 0 auto 34px; }
.vg-rot-item { position: absolute; top: 50%; left: 50%; animation: vgrot12 12s infinite; }
.vg-ra { animation-delay: 0s; }
.vg-rb { animation-delay: -8s; }
.vg-rc { animation-delay: -4s; }
.vg-rot-item img { filter: sepia(0.35); border: 10px solid #fffdf7; box-shadow: 0 12px 32px rgba(70, 35, 10, 0.28); background: #fffdf7; max-height: 360px; width: auto; max-width: 100%; }
@keyframes vgrot12 {
	0%   { left: 50%; transform: translate(-50%, -50%) scale(1.1); opacity: 1; z-index: 3; }
	27%  { left: 50%; transform: translate(-50%, -50%) scale(1.1); opacity: 1; z-index: 3; }
	33%  { left: 15%; transform: translate(-50%, -50%) scale(0.68); opacity: 0.38; z-index: 1; }
	60%  { left: 15%; transform: translate(-50%, -50%) scale(0.68); opacity: 0.38; z-index: 1; }
	66%  { left: 85%; transform: translate(-50%, -50%) scale(0.68); opacity: 0.38; z-index: 1; }
	93%  { left: 85%; transform: translate(-50%, -50%) scale(0.68); opacity: 0.38; z-index: 1; }
	100% { left: 50%; transform: translate(-50%, -50%) scale(1.1); opacity: 1; z-index: 3; }
}
.vg-h1 { font-size: 46px; font-weight: 400; line-height: 1.2; letter-spacing: -0.5px; max-width: 800px; margin: 0 auto; }
.vg-h1 em { color: #7a1f1f; }
.vg-lede { font-size: 17px; font-style: italic; color: #6e5f4c; max-width: 640px; margin: 18px auto 0; line-height: 1.7; }
.vg-search { margin-top: 30px; }
.vg-search form { display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; }
.vg-search input[type=search], .vg-search input[type=text] {
	font-family: Georgia, serif; font-size: 16px; font-style: italic;
	padding: 13px 20px; width: 380px; max-width: 90vw;
	background: #fffdf7; border: 1px solid #a07c2c; border-radius: 2px; color: #2c2318;
}
.vg-search input[type=submit], .vg-search button {
	font-family: Georgia, serif; font-size: 13px; letter-spacing: 2px;
	background: #7a1f1f; color: #f8f2e4; border: 1px solid #7a1f1f; border-radius: 2px;
	padding: 14px 28px; cursor: pointer;
}
.vg-search input[type=submit]:hover, .vg-search button:hover { background: #571313; }
.vg-pop { margin-top: 16px; font-size: 14px; font-style: italic; color: #6e5f4c; }
.vg-stats { display: flex; justify-content: center; border-top: 4px double #a07c2c; border-bottom: 4px double #a07c2c; margin: 8px 0 0; flex-wrap: wrap; }
.vg-stat { padding: 22px 34px; text-align: center; border-right: 1px solid #d8c9a3; }
.vg-stat:last-child { border-right: 0; }
.vg-stat-n { font-size: 38px; color: #7a1f1f; line-height: 1; }
.vg-stat-l { font-size: 11px; letter-spacing: 3px; color: #6e5f4c; margin-top: 8px; }
.vg-sec { margin: 58px 0 26px; text-align: center; }
.vg-kicker { font-size: 12px; letter-spacing: 5px; color: #a07c2c; }
.vg-h2 { font-size: 34px; font-weight: 400; margin-top: 8px; }
.vg-rule { width: 120px; margin: 16px auto 0; border-top: 1px solid #a07c2c; }
.vg-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.vg-ch { background: #fffdf7; border: 1px solid #d8c9a3; outline: 3px double #e4d7b8; outline-offset: 4px; padding: 26px 24px; text-align: center; }
.vg-ch-num { font-size: 15px; letter-spacing: 4px; color: #a07c2c; }
.vg-ch-name { font-size: 24px; margin-top: 10px; }
.vg-ch-name a { color: #2c2318; text-decoration: none; }
.vg-ch-desc { font-size: 14px; font-style: italic; color: #6e5f4c; margin-top: 10px; line-height: 1.6; }
.vg-ch-count { margin-top: 14px; font-size: 11px; letter-spacing: 3px; color: #7a1f1f; }
.vg-feat { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: start; background: #fffdf7; border: 1px solid #d8c9a3; padding: 40px; }
.vg-feat-img img { filter: sepia(0.3); border: 12px solid #f8f2e4; outline: 1px solid #d8c9a3; box-shadow: 0 14px 36px rgba(70, 35, 10, 0.25); width: 100%; height: auto; }
.vg-feat-cap { font-size: 10px; letter-spacing: 3px; color: #6e5f4c; margin-top: 14px; text-align: center; }
.vg-feat-name { font-size: 44px; font-weight: 400; line-height: 1.1; }
.vg-feat-role { font-size: 12px; letter-spacing: 4px; color: #7a1f1f; margin-top: 10px; }
.vg-feat-cols { column-count: 2; column-gap: 32px; margin-top: 20px; }
.vg-feat-p { font-size: 15.5px; line-height: 1.75; margin: 0 0 14px; break-inside: avoid; }
.vg-feat-known { margin-top: 6px; font-size: 13px; letter-spacing: 1px; color: #6e5f4c; }
.vg-feat-known span { letter-spacing: 3px; color: #a07c2c; font-size: 11px; margin-right: 12px; }
.vg-btn { display: inline-block; margin-top: 24px; background: #7a1f1f; padding: 14px 30px; border-radius: 2px; }
.vg-btn a, .vg-btn a:visited { color: #f8f2e4 !important; font-size: 13px; letter-spacing: 2px; text-decoration: none; }
.vg-btn:hover { background: #571313; }
.vg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.vg-card { background: #fffdf7; border: 1px solid #d8c9a3; padding: 14px 14px 20px; text-align: center; }
.vg-photo img { filter: sepia(0.3); width: 100%; height: 260px; object-fit: cover; border: 1px solid #d8c9a3; }
.vg-cbody { padding: 16px 8px 0; }
.vg-cname { font-size: 22px; }
.vg-cname a { color: #2c2318; text-decoration: none; }
.vg-crole { font-size: 10px; letter-spacing: 3px; color: #7a1f1f; margin-top: 6px; }
.vg-cdesc { font-size: 14px; font-style: italic; color: #6e5f4c; margin-top: 10px; line-height: 1.6; }
.vg-browse { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.vg-bcol { background: #fffdf7; border: 1px solid #d8c9a3; padding: 26px 30px; }
.vg-bhead { font-size: 11px; letter-spacing: 4px; color: #a07c2c; margin-bottom: 12px; }
.vg-blinks { font-size: 17px; line-height: 2; }
.vg-cols3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.vg-act { border-top: 3px double #a07c2c; padding-top: 18px; }
.vg-act-t { font-size: 21px; }
.vg-act-d { font-size: 14px; font-style: italic; color: #6e5f4c; margin-top: 8px; line-height: 1.6; }
.vg-act-l { font-size: 13px; letter-spacing: 2px; margin-top: 12px; }
.vg-about { max-width: 760px; margin: 0 auto; text-align: center; font-size: 17px; font-style: italic; line-height: 1.8; color: #4a3d2c; }
.vg-foot { background: #571313; color: #f3e8cf; margin: 64px -28px 0; padding: 46px 28px 34px; text-align: center; }
.vg-foot-name { font-size: 30px; letter-spacing: 12px; margin-left: 12px; }
.vg-foot-tag { font-size: 11px; letter-spacing: 4px; color: #c9a94e; margin-top: 10px; }
.vg-foot-links { margin-top: 22px; font-size: 14px; letter-spacing: 1px; }
.vg-foot-links a, .vg-foot-links a:visited { color: #f3e8cf; }
.vg-foot-copy { margin-top: 18px; font-size: 12px; font-style: italic; color: #b89b5e; }
@media (max-width: 860px) {
	.vg-feat { grid-template-columns: 1fr; }
	.vg-feat-cols { column-count: 1; }
	.vg-h1 { font-size: 32px; }
	.vg-browse { grid-template-columns: 1fr; }
	.vg-rot { height: 340px; }
	.vg-rot-item img { max-height: 240px; }
	.vg-stat { padding: 16px 18px; }
	.vg-stat-n { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
	.vg-rot-item { animation: none; }
	.vg-rb, .vg-rc { display: none; }
	.vg-ra { left: 50%; transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}