Skip to content

Commit b7dd9b7

Browse files
committed
style for github pages
1 parent bc1bf7d commit b7dd9b7

File tree

1 file changed

+98
-17
lines changed

1 file changed

+98
-17
lines changed

docs/index.html

Lines changed: 98 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,104 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
66
<title>ValueMapper</title>
77
<style>
8-
body { font-family: sans-serif; max-width: 800px; margin: 2rem auto; padding: 1rem; line-height: 1.6; }
9-
header { display: flex; justify-content: space-between; align-items: center; }
10-
button {
11-
background-color: #24292e;
12-
color: white;
13-
border: none;
14-
padding: 0.5rem 1rem;
15-
cursor: pointer;
16-
border-radius: 4px;
17-
}
18-
pre {
19-
background: #f4f4f4;
20-
padding: 0.5rem;
21-
overflow-x: auto;
22-
}
23-
code { background: #f4f4f4; }
24-
</style>
8+
body {
9+
font-family: 'Segoe UI', Roboto, sans-serif;
10+
line-height: 1.6;
11+
max-width: 960px;
12+
margin: 2rem auto;
13+
padding: 1rem;
14+
background: #f9f9f9;
15+
color: #222;
16+
}
17+
18+
h1, h2, h3, h4 {
19+
color: #1a202c;
20+
margin-top: 2rem;
21+
}
22+
23+
a {
24+
color: #0366d6;
25+
text-decoration: none;
26+
}
27+
28+
a:hover {
29+
text-decoration: underline;
30+
}
31+
32+
pre {
33+
background: #2d2d2d;
34+
color: #f8f8f2;
35+
padding: 1rem;
36+
border-radius: 6px;
37+
overflow-x: auto;
38+
}
39+
40+
code {
41+
font-family: 'Fira Code', monospace;
42+
font-size: 0.95em;
43+
background: #f0f0f0;
44+
padding: 0.2em 0.4em;
45+
border-radius: 4px;
46+
}
47+
48+
table {
49+
width: 100%;
50+
border-collapse: collapse;
51+
margin-top: 1rem;
52+
margin-bottom: 2rem;
53+
background: white;
54+
border: 1px solid #ccc;
55+
border-radius: 6px;
56+
overflow: hidden;
57+
}
58+
59+
table thead {
60+
background: #4a5568;
61+
color: #fff;
62+
}
63+
64+
table th, table td {
65+
padding: 0.75rem 1rem;
66+
border: 1px solid #ddd;
67+
text-align: left;
68+
vertical-align: middle;
69+
}
70+
71+
table tbody tr:nth-child(even) {
72+
background: #f7fafc;
73+
}
74+
75+
ul, ol {
76+
margin-left: 2rem;
77+
}
78+
79+
li {
80+
margin-bottom: 0.5rem;
81+
}
82+
83+
.button-link {
84+
display: inline-block;
85+
background-color: #24292e;
86+
color: white;
87+
padding: 0.5rem 1rem;
88+
text-decoration: none;
89+
border-radius: 4px;
90+
font-weight: bold;
91+
margin-top: 1rem;
92+
}
93+
94+
.button-link:hover {
95+
background-color: #444c56;
96+
}
97+
98+
.container {
99+
padding: 2rem;
100+
background: white;
101+
border-radius: 10px;
102+
box-shadow: 0 4px 12px rgba(0,0,0,0.05);
103+
}
104+
</style>
105+
25106
</head>
26107
<body>
27108
<header>

0 commit comments

Comments
 (0)