/* ===== BODY (DSi/3DS SAFE) ===== */ body { background: url("http://www.veltron.net/images/wallpaper.png") no-repeat center top; background-size: cover; font-family: "Roboto", Arial, serif; margin: 0; padding: 0; text-align: center; min-height: 100%; } /* ===== CONSOLE FRAME ===== */ #console { display: block; margin: 0 auto; width: 100%; } /* ===== SCREENS ===== */ .screen { width: 95%; max-width: 360px; border: 2px solid #6f2020; border-radius: 14px; overflow: hidden; margin: 0 auto; } /* ===== TOP SCREEN (FIXED RED BACKGROUND) ===== */ .top-screen { height: 160px; /* fallback base color */ background-color: #da3636; /* safer separation of layers */ background-image: url("http://www.veltron.net/images/dots.png"); background-repeat: repeat; } /* HEADER */ #header { display: block; height: 100%; text-align: center; line-height: 160px; /* vertical centering fallback */ } #header h1 { display: inline-block; background: linear-gradient(to bottom, #ff8080 0%, #da3636 70%, #e04343 100%); border: 1px solid #8d2727; text-shadow: #2d459e 2px 2px 4px; color: white; padding: 6px 20px; line-height: normal; } /* ===== HINGE ===== */ .hinge { width: 95%; max-width: 380px; height: 16px; background: #6f2020; margin: 4px auto; border-radius: 4px; } /* ===== BOTTOM SCREEN (SAFE GRADIENT) ===== */ .bottom-screen { height: auto; min-height: 280px; padding: 8px; background-color: #eb4949; background-image: linear-gradient(to bottom, #f15a5a, #eb4949); background-repeat: no-repeat; } /* ===== NAVIGATION (NO FLEX / NO GRID) ===== */ .nav-categories { background-color: #da3e3e; border: 1px solid #6f2020; border-radius: 8px; padding: 5px; margin-bottom: 8px; } .nav-categories span { display: block; text-align: center; background: linear-gradient(to bottom, #e4d16b 0%, #c28435 60%, #d87d2c 100%); border: 1px solid #6f2020; color: #fff; margin-bottom: 5px; } /* FLOAT GRID (DSI SAFE) */ .nav-grid { display: block; overflow: hidden; } .nav-grid a { display: block; float: left; width: 48%; margin: 1%; padding: 6px; text-align: center; color: #e5e5f5; text-shadow: #2a2969 2px 2px 4px; background: rgba(0,0,0,0.15); border-radius: 6px; text-decoration: none; box-sizing: border-box; } .nav-grid a:hover { text-decoration: underline; } /* CLEAR FLOATS */ .nav-grid::after { content: ""; display: block; clear: both; } /* ===== CONTENT ===== */ .content-box { padding: 8px; height: auto; max-height: 140px; overflow: auto; -webkit-overflow-scrolling: touch; } /* ===== PATTERN BOX (SIMPLIFIED FOR OLD WEBKIT) ===== */ .text-containers-main-bg { background-color: #aabdff; background-image: repeating-linear-gradient( 45deg, #faa0a0 25%, transparent 25%, transparent 75%, #faa0a0 75% ); background-size: 40px 40px; border: 1px solid #a14c4c; } /* ===== DSI MODE ===== */ body.console-dsi { font-size: 12px; } body.console-dsi .screen { width: 300px; } body.console-dsi .nav-grid a { float: none; width: 100%; margin: 4px 0; }