summaryrefslogtreecommitdiff
path: root/gaming/stepmania/style.css
blob: 20bca04ca9af7442ac474a3894db7cb71de7b9bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
/* Base */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #ffd;         /* light yellow */
  color: #111;
  font-family: system-ui, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

/* Header */
header {
  padding: 16px;
  background: #fff6c7;
  border-bottom: 2px solid #e6d27a;
  text-align: center;
}
h1 {
  margin: 0 0 8px;
  font-family: "Comic Sans MS","Chalkboard SE","Comic Neue",sans-serif;
  font-size: 1.6rem;
}

/* Nav */
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-auto-flow: column;
  gap: 8px;
  justify-content: center;
}
nav a {
  display: inline-block;
  padding: 6px 8px;
  text-decoration: none;
  color: #002;
  border-radius: 4px;
  transition: background .15s, color .15s;
}
nav a:hover, nav a.is-active {
  background: red;
  color: #000;
}

/* Layout */
main {
  max-width: 900px;
  margin: 20px auto;
  padding: 0 16px;
}
section { margin: 24px 0; }
h2 { margin: 0 0 8px; }

/* Hero image */
.hero-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 2px solid #e6d27a;
  background: #fffbe3;
}

/* Lists */
#song-list { padding-left: 18px; }

/* Scoreboard (minimal) */
#score-board {
  margin-top: 8px;
  border: 2px solid #e6d27a;
  border-radius: 8px;
  background: #fffbe3;
  overflow: hidden;
}
#score-board table { width: 100%; border-collapse: collapse; }
#score-board th, #score-board td { padding: 8px; text-align: left; }
#score-board thead th { background: #ffe06d; }
#score-board tbody tr:nth-child(odd) { background: #fff6c7; }

/* Button */
button {
  padding: 10px 14px;
  border: 2px solid #e6d27a;
  border-radius: 8px;
  background: #ffd;
  color: #111;
  cursor: pointer;
  transition: background .15s, color .15s;
}
button:hover { background: red; color: #fff; }

/* Gallery (simple responsive) */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.gallery img {
  width: calc(33.333% - 7px);
  min-width: 160px;
  flex: 1 1 auto;
  border: 2px solid #e6d27a;
  border-radius: 8px;
  background: #fffbe3;
}

/* Form */
form {
  display: grid;
  gap: 8px;
  max-width: 600px;
}
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 10px;
  border: 2px solid #e6d27a;
  border-radius: 8px;
  background: #fffef0;
  font: inherit;
  color: #111;
}
textarea { min-height: 120px; resize: vertical; }

/* Footer */
footer {
  text-align: center;
  color: #444;
  margin: 32px 0 24px;
}

/* Small screens */
@media (max-width: 640px) {
  nav ul { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery img { width: calc(50% - 5px); }
}