188 lines
3.2 KiB
CSS
188 lines
3.2 KiB
CSS
/* ===== 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 */
|
|
.top-screen {
|
|
height: 160px;
|
|
|
|
background:
|
|
url("http://www.veltron.net/images/dots.png"),
|
|
linear-gradient(to bottom, #ff8080 0%, #da3636 40%, #e04343 100%);
|
|
background-repeat: repeat, no-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 */
|
|
.bottom-screen {
|
|
height: auto;
|
|
min-height: 280px;
|
|
|
|
padding: 8px;
|
|
|
|
background:
|
|
url("http://www.veltron.net/images/dots.png"),
|
|
linear-gradient(200deg, #f15a5a 60%, #eb4949 90%);
|
|
background-repeat: repeat, no-repeat;
|
|
}
|
|
|
|
/* ===== NAVIGATION (NO GRID, NO FLEX) ===== */
|
|
.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;
|
|
}
|
|
|
|
/* SAFE 2-COLUMN LAYOUT (FLOATS) */
|
|
.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 BACKGROUND (SIMPLIFIED SAFE VERSION) ===== */
|
|
.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 OVERRIDES ===== */
|
|
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;
|
|
}
|