×

注意!页面内容来自https://nerdle.ie/,本站不储存任何内容,为了更好的阅读体验进行在线解析,若有广告出现,请及时反馈。若您觉得侵犯了您的利益,请通知我们进行删除,然后访问 原网页

<> :root { /* Base colors: dark navy like example + Nerdle purples */ --nh-bg: #050b1d; --nh-bg-gradient: radial-gradient(circle at 0 0#10163a 0#050b1d 55%#020413 100%); --nh-text-light: #f5f5fb; --nh-text-soft: #cfd2ea; --nh-purple: #8c52ff; --nh-purple-dark: #4b1ea8; --nh-teal: #34e5c2; --nh-orange: #ff9b42; --nh-green: #6cf063; --nh-gray-border: rgba(2552552550.06); --nh-pill-bg: rgba(2552552550.06); } /* Optional body background to blend with header */ body { margin: 0; background: #121212; color: var(--nh-text-light); font-family: system-ui-apple-systemBlinkMacSystemFont"Segoe UI"sans-serif; } /* HEADER WRAPPER */ .nerdle-header-v2 { position: sticky; top: 0; z-index: 40; background: var(--nh-bg-gradient); box-shadow: 0 6px 24px rgba(0000.5); } .nh-inner { max-width: 1200px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 20px; } /* LOGO */ .nh-logo img { display: block; height: 54px; width: auto; border-radius: 14px; box-shadow: 0 0 18px rgba(140822550.6); border: 1px solid rgba(140822550.55); transition: transform 180ms easebox-shadow 180ms ease; } .nh-logo:hover img { transform: translateY(-1px) scale(1.02); box-shadow: 0 0 28px rgba(140822550.95); } /* NAVIGATION */ .nh-nav { flex: 1; } .nh-nav-list { display: flex; align-items: center; gap: 26px; padding: 0; margin: 0; list-: none; } .nh-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--nh-text-soft); font-weight: 500; font-size: 0.98rem; position: relative; padding: 4px 0; transition: color 180ms easetransform 140ms ease; } .nh-icon-wrap { width: 30px; height: 30px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: rgba(2552552550.04); border: 1px solid var(--nh-gray-border); box-shadow: 0 0 0 0 rgba(2552552550.2); transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 140ms ease; } .nh-icon { font-size: 1.1rem; } /* Category color accents (icons) */ .nh-word .nh-icon-wrap { border-color: rgba(255155660.8); } .nh-brain .nh-icon-wrap { border-color: rgba(108240990.9); } .nh-number .nh-icon-wrap { border-color: rgba(522291940.9); } .nh-math .nh-icon-wrap { border-color: rgba(140822550.9); } /* Hover / focus animation */ .nh-link::after { content: ""; position: absolute; left: 40px; right: 0; bottom: -6px; height: 2px; border-radius: 999px; background: linear-gradient(90degvar(--nh-purple)var(--nh-teal)); opacity: 0; transform: scaleX(0.3); transform-origin: left; transition: opacity 180ms easetransform 200ms ease; } .nh-link:hover, .nh-link:focus-visible { color: var(--nh-text-light); transform: translateY(-1px); } .nh-link:hover .nh-icon-wrap, .nh-link:focus-visible .nh-icon-wrap { background: rgba(2552552550.06); box-shadow: 0 0 14px rgba(140822550.8); transform: translateY(-1px); } .nh-link:hover::after, .nh-link:focus-visible::after { opacity: 1; transform: scaleX(1); } /* Click (active) state */ .nh-link:active { transform: translateY(1px) scale(0.97); } .nh-link:active .nh-icon-wrap { background: var(--nh-purple); border-color: var(--nh-purple-dark); box-shadow: 0 0 18px rgba(140822551); } /* RIGHT SIDE BUTTONS (BLOG + PRINT) */ .nh-actions { display: flex; align-items: center; gap: 10px; } .nh-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: var(--nh-pill-bg); border: 1px solid var(--nh-gray-border); color: var(--nh-text-soft); text-decoration: none; font-size: 0.92rem; font-weight: 500; transition: background 200ms ease, border-color 200ms ease, transform 140ms ease, box-shadow 200ms ease, color 180ms ease; } .nh-pill-icon { font-size: 1.08rem; } /* Print = orangeBlog = purple */ .nh-pill-print .nh-pill-icon { color: var(--nh-orange); } .nh-pill-blog .nh-pill-icon { color: var(--nh-purple); } .nh-pill:hover { background: linear-gradient(135degvar(--nh-purple-dark)var(--nh-purple)); border-color: rgba(2552552550.25); color: var(--nh-text-light); transform: translateY(-1px); box-shadow: 0 0 20px rgba(140822550.8); } .nh-pill:hover .nh-pill-icon { color: var(--nh-text-light); } .nh-pill:active { transform: translateY(1px) scale(0.96); } /* MOBILE TOGGLE */ .nh-toggle { display: none; margin-left: auto; background: transparent; border: 0; padding: 4px; cursor: pointer; } .nh-toggle-line { width: 20px; height: 2px; margin: 4px 0; border-radius: 999px; background: var(--nh-text-soft); transition: transform 160ms easeopacity 160ms ease; } /* Toggle animation when open */ .nerdle-header-v2.is-open .nh-toggle-line:nth-child(1) { transform: translateY(6px) rotate(45deg); } .nerdle-header-v2.is-open .nh-toggle-line:nth-child(2) { transform: translateY(-6px) rotate(-45deg); } /* RESPONSIVE */ @media (max-width: 960px) { .nh-inner { flex-wrap: wrap; } .nh-nav, .nh-actions { display: none; } .nh-toggle { display: block; } .nerdle-header-v2.is-open .nh-nav, .nerdle-header-v2.is-open .nh-actions { display: flex; width: 100%; } .nerdle-header-v2.is-open .nh-nav { order: 3; margin-top: 10px; } .nerdle-header-v2.is-open .nh-actions { order: 4; margin-top: 6px; } .nh-nav-list { flex-wrap: wrap; gap: 14px 22px; } } @media (max-width: 600px) { .nh-logo img { height: 48px; } .nh-nav-list { gap: 12px 18px; } .nh-link { font-size: 0.9rem; } .nh-actions { justify-content: flex-start; } .nh-pill { padding: 7px 14px; font-size: 0.88rem; } } < id="custom-background-css" type="text/css"> body.custom-background { background-color: #e2e2e2; } < id="wp-custom-css" type="text/css"> ---------- body{background-color:#F1F1F1} .hdcn-1{background-color:#F8F8F8} .hdcn-2,.bdcn{background-color:#fff} .hdcn-4,.ftcn-1,a.rndgame:hover,.news-cn>strong,[class*="gmcn-sldr"] .gm-text,.news-cn:before{background-color:#401568} .news-cn>strong:after{border-top-color:#401568;} @media screen and (min-width: 992px){.menu>ul>li:hover>a{background-color:#401568}} .hdcn-3,.hdcn-5,.ftcn-2,[class*="gmcn-smal"] .gm-imag,[class*="gmcn-smal-2"] figure.gm-imag>a>span,[class*="gmcn-smal-3"] figure.gm-imag>a>span,[class*="gmcn-midl"] .gm-imag,.gm-cate a,[class*="gmcn-"] .gm-cate a:hover,.sdbr-cn .tagcloud a,[class*="gmcn-larg"] figure.gm-imag>a>span,.game-cn{background-color:#2D3E58} [class*="gmcn-smal"] .gm-imag>a>span,.tagcloud a:hover,.gm-cate a:hover,[class*="gmcn-"] .gm-cate a,.mt-slct-cn .selecter-item:hover,.wp-pagenavi a:hover,.wp-pagenavi span.current,.progress,.game_opts>li:hover>a:before,.game_opts>li:hover>span>a:before{background-color:#16C4BB} .titl,.lstgms{border-bottom-color:#0000;} /** Horizontal header */ #header_horizontal .cont {display: flex;justify-content: space-between;align-items: center;} #header_horizontal .cont .menu {position: static;display: inline;} #header_horizontal .cont .menu ul {display: inline;} #header_horizontal .cont .menu a#header_horizontal .cont .menu .sub-menu a#header_horizontal .cont .menu .submenu li:hover a#header_horizontal .menu-botn {color: #FFB300;} #header_horizontal .cont .menu>ul>li:hover>a {background-color: transparent;} #header_horizontal .menu-botn {width: 35px;background-color: transparent;margin: 0;padding: 0;} #header_horizontal .cont .menu ul.in {display: flex !important;flex-direction: column;} #header_horizontal .cont .menu .button-close {text-align: right;width: 100%;margin-top: 20px;} #header_horizontal ul.nav_menu li.user_panel:hover>ul{max-height:none;padding: 15px;overflow: inherit;} #header_horizontal ul.nav_menu li.user_panel:hover>ul:before{width: 0;height: 0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #fff; content: ''; position: absolute;left: 0;right: 0;top: -5px;margin: auto;} #header_horizontal ul.nav_menu li.user_panel ul {box-shadow: 0 0 5px rgba(0,0,0,.1);background-color: #fff;width: 180px;transition: all .2s;margin: auto;padding: 0 15px;max-height: 0;position: absolute;top: 60px;overflow: hidden;z-index: 1051;text-align: left;display: block;cursor: default;} #header_horizontal ul.nav_menu li.user_panel:hover ul li{height: auto;overflow:inherit;max-height: none;} #header_horizontal ul.nav_menu li.user_panel {line-height: 40px;text-transform:uppercase;cursor: pointer;} #header_horizontal ul.nav_menu li.user_panel a:before {font-size: 14px;margin-right: 10px;} #header_horizontal ul.nav_menu li.user_panel ul li a {text-align: left;font-size: 14px;line-height: 30px;text-transform: none;} @media screen and (max-width: 992px) { #header_horizontal .cont .menu {position: fixed;width: 350px;height: 100%;left: -350px;top: 0;background-color:#f0f0f0;box-shadow:1px 0 5px #c0c0c0;transition:all ease 1s;z-index: 1000;overflow-y:scroll;} #header_horizontal .cont .menu ul {display: flex;flex-direction: column;} #header_horizontal .cont .menu ul li {order: 5} #header_horizontal ul.nav_menu li.user_panel {padding-left: 20px;order: 1} #header_horizontal ul.nav_menu li.user_panel .fa-user:before { margin-right: 10px;} #header_horizontal ul.nav_menu li.user_panel ul {position: inherit;box-shadow: none;background-color: transparent;width: auto;content: initial;} #header_horizontal ul.nav_menu li.user_panel ul li.avatar-cn { display: none} #header_horizontal ul.nav_menu li.user_panel:hover>ul { padding: 0} #header_horizontal ul.nav_menu li.user_panel:hover>ul:before {position: inherit;content: initial;} /* ========================================= MODERN GAMING THEMES - Updated Color Schemes ========================================= */ /* ===== ACTIVE SCHEME: Neon Cyber (Orange/Blue) ===== */ :root { /* === GAMING SCHEME 1: Neon Cyber (Hot & Cool) === */ --primary-color: #ff6b35; /* Electric orange */ --secondary-color: #00d9ff; /* Cyber blue */ --background-dark: #0a0a0a; /* Pure dark */ --surface-dark: #1a1a2e; /* Dark blue surface */ --surface-darker: #141527; /* Deeper dark */ --footer-bg: #0d0d1a; /* Footer dark */ /* Text Colors */ --text-primary: #f8fafc; /* Clean white */ --text-secondary: #e2e8f0; /* Light gray */ --text-muted: #94a3b8; /* Muted text */ --text-light: #64748b; /* Light text */ --text-white: #ffffff; /* Pure white */ /* Gaming Accents */ --accent-glow: #00d9ff; /* Blue glow */ --warning-color: #ff4757; /* Bright red */ --success-color: #2ed573; /* Success green */ /* Effects */ --shadow-normal: 0 4px 20px rgba(255107530.3); --shadow-hover: 0 8px 32px rgba(02172550.4); --glow-effect: 0 0 20px rgba(255107530.5); /* Layout */ --border-radius: 8px; --border-radius-small: 4px; --border-radius-large: 12px; --transition-fast: 0.2s ease; --transition-normal: 0.3s ease; } /* ===== ALTERNATIVE SCHEMES (Uncomment to activate) ===== */ /* === GAMING SCHEME 2: Synthwave Retro === :root { --primary-color: #ff007f; --secondary-color: #00ffff; --background-dark: #0d0d1a; --surface-dark: #1a0d26; --surface-darker: #260d33; --footer-bg: #0f0a1a; --text-primary: #f0f8ff; --text-secondary: #e6e6fa; --accent-glow: #00ffff; --warning-color: #ff1744; --success-color: #39ff14; --shadow-normal: 0 4px 20px rgba(25501270.3); --shadow-hover: 0 8px 32px rgba(02552550.4); --glow-effect: 0 0 20px rgba(25501270.5); } */ /* === GAMING SCHEME 3: Toxic Green === :root { --primary-color: #39ff14; --secondary-color: #ff6600; --background-dark: #0a0f0a; --surface-dark: #1a2e1a; --surface-darker: #152715; --footer-bg: #0d1a0d; --text-primary: #f8fff8; --text-secondary: #e8f5e8; --accent-glow: #39ff14; --warning-color: #ff3030; --success-color: #00ff7f; --shadow-normal: 0 4px 20px rgba(57255200.3); --shadow-hover: 0 8px 32px rgba(25510200.4); --glow-effect: 0 0 20px rgba(57255200.5); } */ /* === GAMING SCHEME 4: Arctic Gaming (Blue/White) === :root { --primary-color: #00bfff; --secondary-color: #ffffff; --background-dark: #0a0f1a; --surface-dark: #1a1f2e; --surface-darker: #141927; --footer-bg: #0d111a; --text-primary: #f0f8ff; --text-secondary: #ddeeff; --accent-glow: #ffffff; --warning-color: #ff4444; --success-color: #44ffaa; --shadow-normal: 0 4px 20px rgba(01912550.3); --shadow-hover: 0 8px 32px rgba(2552552550.2); --glow-effect: 0 0 20px rgba(01912550.5); } */ /* === GAMING SCHEME 5: Blood & Gold (Red/Yellow) === :root { --primary-color: #ff1744; --secondary-color: #ffd700; --background-dark: #1a0a0a; --surface-dark: #2e1a1a; --surface-darker: #271515; --footer-bg: #1a0d0d; --text-primary: #fff8f8; --text-secondary: #ffe8e8; --accent-glow: #ffd700; --warning-color: #ff6b6b; --success-color: #4ecdc4; --shadow-normal: 0 4px 20px rgba(25523680.3); --shadow-hover: 0 8px 32px rgba(25521500.4); --glow-effect: 0 0 20px rgba(25523680.5); } */ /* === GAMING SCHEME 6: Deep Space (Purple/Teal) === :root { --primary-color: #7c3aed; --secondary-color: #14b8a6; --background-dark: #0f0a1a; --surface-dark: #1e1a2e; --surface-darker: #191527; --footer-bg: #12101a; --text-primary: #f8f5ff; --text-secondary: #e8e5f0; --accent-glow: #14b8a6; --warning-color: #ef4444; --success-color: #10b981; --shadow-normal: 0 4px 20px rgba(124582370.3); --shadow-hover: 0 8px 32px rgba(201841660.4); --glow-effect: 0 0 20px rgba(124582370.5); } */ /* ===== USAGE INSTRUCTIONS ===== */ /* TO CHANGE COLOR SCHEME: 1. Comment out the current active scheme at the top 2. Uncomment one of the alternative schemes above 3. Refresh your website to see the new colors CUSTOM COLORS: - Modify any color value in the :root section - All colors use CSS variables for easy customization - Test different combinations for unique looks POPULAR GAMING COLOR TRENDS: - Neon combinations (current default) - Synthwave purple/pink - Matrix green themes - Cyber blue aesthetics - High contrast schemes */ /* ===== 2. GLOBAL STYLES ===== */ body { background: var(--background-dark); font-family: 'Poppins'sans-serif; color: var(--text-primary); margin: 0; padding: 0; line-height: 1.9; } /* Links & Hover States */ a { text-decoration: none; transition: var(--transition-normal); } /* ===== 3. TYPOGRAPHY ===== */ /* Section Titles */ .titlh2 { color: var(--text-white); font-size: 1.1rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; border-left: 4px solid var(--primary-color); padding-left: 10px; margin: 15px 0; } .titl strong { color: var(--text-white); } /* ===== 4. HEADER & NAVIGATION ===== */ .hdcn-3 { background: var(--surface-dark); border-bottom: 2px solid var(--primary-color); } .hdcn-2.ftcn-2 { border-top: 1px solid var(--primary-color); } /* Navigation Links */ .hdcn-3 ul li a { color: var(--text-secondary); padding: 14px 20px; font-weight: 600; text-transform: uppercase; transition: var(--transition-normal); } .hdcn-3 ul li a:hover, .menu-top > li:hover > span, .menu-top > li:hover > a { color: var(--primary-color); } /* Random Game Button */ .hdcn-3 .rndgame { background: var(--primary-color); color: var(--text-white) !important; border-radius: 6px; margin: 15px; font-weight: 600; transition: var(--transition-normal); } .hdcn-3 .rndgame:hover { background: var(--secondary-color); } /* ===== 5. SIDEBAR STYLES ===== */ .sdbr-cn { background: var(--surface-dark); border-radius: var(--border-radius-large); padding: 16px; color: var(--text-secondary); } .sdbr-cn h3 { color: var(--primary-color); font-size: 1rem; margin: 0 0 12px; } .sdbr-cn .blk-cn { background: var(--surface-darker); border-radius: var(--border-radius); padding: 12px; margin-bottom: 18px; } /* Sidebar Menu Items */ .sdbr-cn .menu-item a { display: block; padding: 10px 14px; border-radius: 6px; margin-bottom: 6px; background: var(--surface-darker); color: var(--text-muted); transition: var(--transition-normal); } .sdbr-cn .menu-item a:hover { background: var(--primary-color); color: var(--text-white); } .blk-cn ul > li { font-size: 14px; color: var(--text-white); } /* Most Popular Section */ .sdbr-cn .most-popu li:hover { background: var(--primary-color); color: var(--text-white); } .sdbr-cn .most-popu li img { border-radius: var(--border-radius-small); width: 60px; height: 60px; } .sdbr-cn .most-popu .bx-controls-direction a { color: var(--text-white); } /* ===== 6. GAME MENU ICONS ===== */ /* Base styling for menu items */ #menu-sidebar-menu li a { display: flex !important; align-items: center !important; padding: 8px 12px; text-decoration: none; transition: var(--transition-normal); } #menu-sidebar-menu li a::before { content: ""; display: inline-block !important; margin-right: 10px !important; font-size: 16px; width: 20px; height: 20px; text-align: center; line-height: 20px; opacity: 0.8; font-family: Arialsans-serif; } /* Menu Icons - Game Categories */ #menu-item-11 a::before { content: "⚔️" !important; } /* Action Games */ #menu-item-12 a::before { content: "🧭" !important; } /* Adventure Games */ #menu-item-13 a::before { content: "🕹️" !important; } /* Arcade Games */ #menu-item-14 a::before { content: "🏎️" !important; } /* Car Games */ #menu-item-15 a::before { content: "🌐" !important; } /* IO Games */ #menu-item-16 a::before { content: "👥" !important; } /* Multiplayer Games */ #menu-item-17 a::before { content: "✨" !important; } /* New Games */ #menu-item-18 a::before { content: "🧩" !important; } /* Puzzle Games */ #menu-item-19 a::before { content: "🕒" !important; } /* Recently Played */ #menu-item-20 a::before { content: "🏆" !important; } /* Sports Games */ #menu-item-21 a::before { content: "🔥" !important; } /* Trending Games */ /* Menu Icons Hover Effects */ #menu-sidebar-menu li a:hover::before { opacity: 1 !important; transform: scale(1.2) !important; transition: var(--transition-normal); } #menu-sidebar-menu { list-: none !important; padding: 0; margin: 0; } #menu-sidebar-menu li { border-bottom: 1px solid rgba(0,0,0,0.1); } #menu-sidebar-menu li:last-child { border-bottom: none; } #menu-sidebar-menu li a:hover { background-color: rgba(0,0,0,0.05) !important; padding-left: 16px !important; transition: var(--transition-normal); } /* ===== 7. GAME CARDS & GRID ===== */ [class*="gmcn-"].game-cn { background: var(--surface-darker); border-radius: var(--border-radius-large); overflow: hidden; position: relative; transition: transform 0.25s easebox-shadow 0.25s ease; } [class*="gmcn-"]:hover { transform: translateY(-3px); box-shadow: var(--shadow-normal); } [class*="gmcn-"] .gm-imag { overflow: hidden; } [class*="gmcn-"] .gm-imag img { width: 100%; border-radius: var(--border-radius); transition: var(--transition-normal); } [class*="gmcn-"]:hover .gm-imag img { transform: scale(1.05); } /* Game Title Hover */ [class*="gmcn-"] .gm-titl a:hover, .widget_mabp_recent_games [class*="gmcn-"] .gm-titl a:hover, [class*="gmcn-larg"] div.gm-titl a:hover { color: var(--text-white); } /* Game Play Buttons */ .gm-play:before, .rndgame:before, div[class*="gmcn-smal-2"] .gm-imag > a > span, [class*="gmcn-smal-3"] figure.gm-imag > a > span, [class*="gmcn-larg"] figure.gm-imag > a > span:before { color: var(--text-white); } /* ===== 8. BUTTONS & INTERACTIVE ELEMENTS ===== */ button input[type="submit"] [class*="botn"] a.read-more { background: var(--primary-color); border: none; border-radius: 6px; padding: 10px 18px; font-weight: 600; text-transform: uppercase; color: var(--text-white); cursor: pointer; transition: background var(--transition-normal)transform var(--transition-fast); } button:hover .botn:hover a.read-more:hover { background: var(--secondary-color); transform: translateY(-2px); } /* Select Dropdowns */ .mt-slct-cn .selecter-item.selected:before, .mt-slct-cn .selecter-selected:after { color: var(--text-white); } /* ===== 9. COMMENTS SECTION ===== */ .cmnt-cn > div { background: var(--surface-darker); border-radius: var(--border-radius); padding: 12px; margin-bottom: 12px; color: var(--text-secondary); } .cmnt-cn > div:hover { box-shadow: var(--shadow-hover); } /* ===== 10. POSTS & CONTENT ===== */ [class^="post-"] header h1, [class^="post-"] header h2 { color: var(--text-white); } [class^="post-"] header p > a:hover { color: var(--text-white); } [class^="post-"] .lst-social > li:hover > a:before { color: var(--text-white); } .pst-shr:hover > a, .pst-shr:hover > a:before { color: var(--text-white); } /* ===== 11. SPECIAL SECTIONS ===== */ /* Hall of Fame */ #hall_of_fame .plays:before, #hall_of_fame .highscores:before, #hall_of_fame .bx-controls-direction a { color: var(--text-white); } /* News Section */ .news-cn li a, .news-cn .fa-flash:before { color: var(--text-white); } .news-cn .bx-controls-direction a:hover { color: var(--text-white); } /* Share Icons */ .shar-cnt li:hover a { color: var(--text-white); } /* Header Icons */ .hdcn-1 h1:before, .hdcn-1 > div > div[class*="fa-"]:before { color: var(--text-white); } /* ===== 12. FORMS ===== */ span.required { color: var(--text-white); } .form-allowed-tags code, abbr { color: var(--text-white); } /* ===== 13. FOOTER ===== */ footer.ftcn { background: var(--footer-bg); color: var(--text-light); text-align: center; padding: 25px 20px; border-top: 2px solid var(--primary-color); font-size: 0.9rem; position: relative; } footer::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); height: 3px; width: 60px; background: var(--primary-color); border-radius: 2px; } footer a { color: var(--primary-color); margin: 0 8px; transition: var(--transition-normal); } footer a:hover { color: var(--text-white); } /* ===== 14. SCROLLBAR CUSTOMIZATION ===== */ ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-thumb { background: var(--primary-color); border-radius: var(--border-radius-small); } ::-webkit-scrollbar-track { background: var(--surface-darker); } /* ===== 15. RESPONSIVE DESIGN ===== */ / /* Mobile */ @media (max-width: 768px) { .hdcn-3 ul { display: flex; flex-direction: column; align-items: center; padding: 0; } .hdcn-3 ul li { width: 100%; text-align: center; } .hdcn-3 ul li a { display: block; padding: 12px; } .hdcn-3 .rndgame { margin: 10px auto; display: block; } .sdbr-cn { width: 100%; margin-top: 20px; order: 2; } [class*="gmcn-"].game-cn { width: 31%; margin: 1%; display: inline-block; } } /* Small Mobile */ @media (max-width: 480px) { body { font-size: 0.9rem; } .hdcn-3 ul li a { padding: 10px; font-size: 0.85rem; } [class*="gmcn-"].game-cn { width: 100%; margin: 1%; } .sdbr-cn .most-popu li img { width: 60px; height: 60px; } .sdbr-cn .most-popu li { font-size: 0.8rem; padding: 6px; } footer { font-size: 0.8rem; padding: 15px 10px; } } } .hdcn-1.hdcn-2.ftcn-1.ftcn-2 { background-color: var(--surface-dark); } .bdcn.cmnt-cn>div .comment-reply-link.single .ui-dialog:afterspan.activity { background-color: var(--surface-dark); } /* ===== 16. CUSTOMIZATION NOTES ===== */ /* لتخصيص الثيم بسهولة، غير القيم في المتغيرات في الأعلى: الألوان الأساسية: --primary-color: اللون الأساسي (أزرق) --secondary-color: لون الهوفر (برتقالي) --background-dark: الخلفية الرئيسية --surface-dark: خلفية الكروت والهيدر --surface-darker: الخلفيات الأغمق ألوان النصوص: --text-primary: النص الأساسي --text-secondary: النص الثانوي --text-muted: النص الخافت أيقونات القائمة: لتغيير أيقونة قسم معين، غير محتوى ::before مثال: #menu-item-131 a::before { content: "🎮" !important; } الانتقالات والتأثيرات: --transition-fast: انتقال سريع --transition-normal: انتقال عادي */ /* ========================= ✅ Tablet-only FIX (769–1024px) يحافظ على كل الألوان والستايل، كينظم غير الكروت فـ Grid ========================= */ @media (min-width: 769px) and (max-width: 1024px) { /* نرجّع أي قياسات إجبارية للموبايل */ [class*="gmcn-"].game-cn { width: auto !important; margin: 0 !important; display: block !important; } /* Grids ديال أقسام الألعاب */ .widget_mabp_related_games .games, .widget_mabp_recent_games .games, .related-games, .related-games-grid, .games-grid, .gm-list, .gm-grid { display: grid !important; grid-template-columns: repeat(auto-fillminmax(200px1fr)) !important; /* مرن مع الحفاظ على حجم مزيان */ gap: 20px !important; } /* تثبيت نسبة الأبعاد ديال الكارد (ما كيمسّش الألوان) */ [class*="gmcn-"] .gm-imag, .game-cn .gm-imag { aspect-ratio: 3 / 4; overflow: hidden; } [class*="gmcn-"] .gm-imag img, .game-cn .gm-imag img { width: 100% !important; height: 100% !important; object-fit: cover !important; } /* عنوان تحت الصورة */ [class*="gmcn-"] .gm-titl, .game-cn .gm-titl { text-align: center; font-size: 15px !important; margin-top: 8px; } }

LEAVE A REPLY

Your email address will not be published.

<> :root { /* Same + colors as your new header */ --nh-bg: #050b1d; --nh-bg-gradient: radial-gradient(circle at 0 0#10163a 0#050b1d 55%#020413 100%); --nh-text-light: #f5f5fb; --nh-text-soft: #cfd2ea; --nh-purple: #8c52ff; --nh-purple-dark: #4b1ea8; --nh-pink: #ff4b8a; --nh-teal: #34e5c2; --nh-orange: #ff9b42; --nh-green: #6cf063; --nh-gray-border: rgba(2552552550.08); --nh-pill-bg: rgba(35210.85); } /* FOOTER WRAPPER */ .nerdle-footer { margin-top: 60px; background: var(--nh-bg-gradient); color: var(--nh-text-soft); padding: 50px 18px 26px; border-top: 1px solid rgba(2552552550.05); } .nf-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(01.4fr) minmax(01.2fr); gap: 30px; } /* LEFT SIDE */ .nf-left { display: flex; flex-direction: column; gap: 18px; } .nf-brand { display: flex; align-items: center; gap: 14px; } .nf-logo { height: 60px; border-radius: 14px; border: 1px solid rgba(140822550.7); box-shadow: 0 0 25px rgba(140822550.9); } .nf-title { margin: 0; font-size: 1.4rem; color: var(--nh-text-light); } .nf-subtitle { margin: 3px 0 0; font-size: 0.92rem; } .nf-text { margin: 0; max-width: 520px; line-height: 1.6; } /* SEARCH BOX */ .nf-search { margin-top: 2px; display: flex; align-items: center; padding: 8px; border-radius: 999px; background: radial-gradient(circle at 0 0rgba(255751380.2)rgba(99320.95)); border: 1px solid rgba(2552552550.16); box-shadow: 0 14px 40px rgba(0000.7); gap: 8px; } .nf-search-icon { margin-left: 12px; font-size: 1.2rem; color: var(--nh-purple); } .nf-search input { flex: 1; border: none; background: transparent; color: var(--nh-text-light); font-size: 0.96rem; padding: 10px 8px; outline: none; } .nf-search input::placeholder { color: rgba(2072102340.7); } .nf-search-btn { border: none; border-radius: 999px; padding: 10px 26px; font-weight: 700; letter-spacing: 0.04em; font-size: 0.88rem; cursor: pointer; color: var(--nh-text-light); background: linear-gradient(135degvar(--nh-pink)var(--nh-purple)); box-shadow: 0 10px 24px rgba(255751380.6); transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease; } .nf-search-btn:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 14px 32px rgba(255751380.9); } .nf-search-btn:active { transform: translateY(1px) scale(0.97); } /* TAGS */ .nf-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; } .nf-tag { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(2552552550.16); color: var(--nh-text-soft); font-size: 0.82rem; text-decoration: none; background: radial-gradient(circle at 0 0rgba(140822550.3)transparent 60%); transition: background 200ms ease, transform 140ms ease, box-shadow 200ms ease, color 180ms ease; } .nf-tag:hover { background: linear-gradient(135degvar(--nh-purple)var(--nh-pink)); color: var(--nh-text-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0000.7); } /* SOCIAL */ .nf-social { display: flex; align-items: center; gap: 10px; margin-top: 4px; } .nf-social-btn { width: 38px; height: 38px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; text-decoration: none; color: var(--nh-text-light); background: #050715; border: 1px solid rgba(2552552550.12); box-shadow: 0 8px 18px rgba(0000.7); transition: transform 160ms ease, box-shadow 160ms ease, background 180ms ease, border-color 180ms ease; } .nf-social-btn:hover { transform: translateY(-2px); background: linear-gradient(135degvar(--nh-purple)var(--nh-pink)); border-color: rgba(2552552550.5); box-shadow: 0 12px 28px rgba(0000.85); } .nf-x { font-weight: 700; } .nf-fb { font-weight: 700; } .nf-li { font-weight: 700; } .nf-ig { font-size: 1.1rem; } .nf-tt { font-size: 1.1rem; } /* RIGHT SIDE CARDS */ .nf-right { display: grid; gap: 18px; } .nf-card { background: rgba(49330.96); border-radius: 28px; border: 1px solid var(--nh-gray-border); padding: 20px 22px; box-shadow: 0 16px 40px rgba(0000.8); } .nf-card-title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 1.02rem; color: var(--nh-text-light); } .nf-card-icon { width: 26px; height: 26px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 0 0rgba(255751380.8)rgba(140822550.7)); font-size: 1rem; } /* LISTS */ .nf-list { list-: none; padding: 0; margin: 0; display: grid; gap: 8px; } .nf-list li a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 0.92rem; color: var(--nh-text-soft); transition: color 160ms easetransform 140ms ease; } .nf-list li a:hover { color: var(--nh-text-light); transform: translateX(3px); } .nf-list-icon { width: 24px; height: 24px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; } /* Category icon colors */ .nf-list-icon-word { color: var(--nh-orange); } .nf-list-icon-brain { color: var(--nh-green); } .nf-list-icon-number { color: var(--nh-teal); } .nf-list-icon-math { color: var(--nh-purple); } /* BOTTOM BAR */ .nf-bottom { max-width: 1200px; margin: 28px auto 0; padding-top: 12px; border-top: 1px solid rgba(2552552550.08); text-align: center; font-size: 0.84rem; color: rgba(2072102340.7); } /* RESPONSIVE */ @media (max-width: 960px) { .nf-inner { grid-template-columns: minmax(01fr); } .nf-right { grid-template-columns: minmax(01fr); } } @media (max-width: 640px) { .nerdle-footer { padding-inline: 14px; } .nf-brand { flex-direction: row; align-items: center; } .nf-logo { height: 52px; } }