Skip to content

Commit 59959f5

Browse files
committed
improved design
1 parent b7dd9b7 commit 59959f5

1 file changed

Lines changed: 43 additions & 13 deletions

File tree

docs/index.html

Lines changed: 43 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
66
<title>ValueMapper</title>
7+
<link href="https://fonts.googleapis.com/css2?family=Fira+Code&display=swap" rel="stylesheet">
8+
79
<style>
810
body {
911
font-family: 'Segoe UI', Roboto, sans-serif;
@@ -30,20 +32,24 @@
3032
}
3133

3234
pre {
33-
background: #2d2d2d;
34-
color: #f8f8f2;
35-
padding: 1rem;
36-
border-radius: 6px;
37-
overflow-x: auto;
38-
}
35+
background-color: #1e1e1e;
36+
color: #dcdcdc;
37+
font-family: 'Fira Code', monospace;
38+
font-size: 14px;
39+
line-height: 1.5;
40+
padding: 1rem;
41+
border-radius: 8px;
42+
overflow-x: auto;
43+
white-space: pre;
44+
margin-bottom: 1.5rem;
45+
border: 1px solid #444;
46+
}
47+
48+
code {
49+
background: none;
50+
color: inherit;
51+
}
3952

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-
}
4753

4854
table {
4955
width: 100%;
@@ -101,6 +107,30 @@
101107
border-radius: 10px;
102108
box-shadow: 0 4px 12px rgba(0,0,0,0.05);
103109
}
110+
button, .button-link {
111+
background-color: #2d3748;
112+
color: #ffffff;
113+
padding: 0.6rem 1.2rem;
114+
font-size: 15px;
115+
font-weight: 600;
116+
border: none;
117+
border-radius: 6px;
118+
cursor: pointer;
119+
text-decoration: none;
120+
display: inline-block;
121+
transition: background-color 0.25s ease, transform 0.1s ease;
122+
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
123+
}
124+
125+
button:hover, .button-link:hover {
126+
background-color: #4a5568;
127+
transform: translateY(-1px);
128+
}
129+
130+
button:active, .button-link:active {
131+
transform: translateY(0);
132+
}
133+
104134
</style>
105135

106136
</head>

0 commit comments

Comments
 (0)