Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6d66b2a

Browse files
committed
fix: update colors and theme inerror.html
1 parentca560d3 commit6d66b2a

File tree

1 file changed

+54
-34
lines changed

1 file changed

+54
-34
lines changed

‎site/static/error.html‎

Lines changed: 54 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -24,84 +24,103 @@
2424
box-sizing: border-box;
2525
}
2626

27+
:root {
28+
--color-black:#090B0B;
29+
--color-white:#FFFFFF;
30+
--color-dark-gray:#18181B;
31+
--color-light-gray:#A1A1AA;
32+
--color-orange:#F3722C;
33+
}
34+
2735
html,
2836
body {
29-
background-color:#05060b;
30-
color:#a1a1aa;
3137
display: flex;
3238
align-items: center;
3339
justify-content: center;
34-
font-family: sans-serif;
35-
font-size:16px;
3640
height:100%;
41+
42+
background:var(--color-black);
43+
color:var(--color-light-gray);
44+
45+
font-family: system-ui, sans-serif;
46+
font-size:16px;
3747
}
3848

3949
header {
4050
text-align: center;
4151
}
4252

4353
.container {
44-
--side-padding:24px;
54+
--side-padding:1.5rem;
4555
width:100%;
46-
max-width:calc(500px+var(--side-padding)*2);
56+
max-width:calc(31.25+var(--side-padding)*2);
4757
padding:0var(--side-padding);
4858
}
4959

5060
.coder-svg {
51-
width:80px;
52-
margin-bottom:24px;
61+
width:5rem;
62+
margin-bottom:1.5rem;
5363
}
5464

5565
h1 {
56-
font-size:24px;
57-
margin-bottom:8px;
66+
font-size:1.5rem;
5867
font-weight:400;
59-
color: white;
68+
color:var(--color-white);
69+
70+
margin-bottom:0.5rem;
6071
}
6172

6273
p,
6374
li {
6475
line-height:140%;
65-
font-size:14px;
76+
font-size:1rem;
6677
}
6778

68-
6979
.button-group {
7080
display: flex;
7181
align-items: center;
7282
justify-content: center;
73-
gap:12px;
74-
margin-top:24px;
83+
gap:0.75rem;
84+
85+
margin-top:1.5rem;
7586
}
7687

7788
.button-groupa,
7889
.button-groupbutton {
7990
display: inline-flex;
8091
align-items: center;
8192
justify-content: center;
82-
padding:6px16px;
83-
border-radius:4px;
84-
border:1px solid#2c3854;
85-
text-decoration: none;
93+
94+
padding:0.5rem1rem;
95+
96+
border-radius:0.375rem;
97+
border:1px solid#27272a;
8698
background: none;
87-
font-size: inherit;
88-
color: inherit;
89-
width:200px;
90-
height:42px;
99+
100+
color:#ffffff;
101+
text-decoration: none;
102+
font-size:0.875rem;
103+
font-weight:400;
104+
105+
width:12.5rem;
106+
height:2.5rem;
107+
91108
cursor: pointer;
92109
}
93110

94111
.button-groupa:hover,
95112
.button-groupbutton:hover {
96-
border-color:hsl(222,31%,40%);
113+
background-color:var(--color-dark-gray);
114+
border-color:#27272a;
97115
}
98116

99117
.warning {
100-
margin-top:24px;
101-
border:1px solidrgb(243,140,89);
102-
background:rgb(13,19,33);
118+
border:1px solidvar(--color-orange);
119+
background:var(--color-dark-gray);
103120
width:100%;
104-
padding:24px;
121+
122+
margin:1.5rem00;
123+
padding:1.5rem;
105124
}
106125

107126
.warning-title {
@@ -111,15 +130,16 @@
111130
}
112131

113132
.warning-titleh3 {
114-
margin-left:12px;
115-
font-size:16px;
116-
font-weight:500;
117-
color: white;
133+
font-size:1rem;
134+
font-weight:400;
135+
color:var(--color-white);
136+
137+
margin-left:0.75rem;
118138
}
119139

120140
.warningli {
121-
padding-top:10px;
122-
margin-left:30px;
141+
padding-top:0.625rem;
142+
margin-left:1.875rem;
123143
}
124144
</style>
125145
</head>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp