Skip to content

Commit 76a56a3

Browse files
committed
green aesthetic
1 parent 48eacaf commit 76a56a3

3 files changed

Lines changed: 35 additions & 16 deletions

File tree

bridge.png

1.8 MB
Loading

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<div class="intro">
2323
<h1>PortableBridge</h1>
2424
<div>PortableInfobox to InfoboxNeue converter</div>
25-
<img src="tools.png" height="50">
25+
<!-- <img src="tools.png" height="50"> -->
2626
</div>
2727

2828
<ul id="notesList" aria-live="polite" aria-atomic="true"></ul>

styles.css

Lines changed: 34 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
:root {
22
color-scheme: dark;
3-
--bg: #080b12;
4-
--panel: #1a1a1a;
3+
--bg: #0c0f0a;
4+
--panel: #1D2917;
55
--line: rgba(255, 255, 255, .05);
66
--line-strong: #3d4c64;
77
--text: #ecf2ff;
88
--muted: #9eacc0;
9-
--accent: #4fd1c5;
9+
--accent: #2C4F1D;
1010
--accent-strong: #f6c85f;
1111
--danger: #ff7a90;
1212
--shadow: 0 20px 60px rgba(0, 0, 0, .42);
@@ -21,16 +21,30 @@ body {
2121
margin: 0;
2222
min-height: 100vh;
2323
color: var(--text);
24+
background: var(--bg);
2425

2526
&::before {
2627
content: '';
2728
position: absolute;
2829
inset: 0;
30+
background: url(bridge.png);
31+
background-size: cover;
32+
background-position: center;
33+
background-repeat: no-repeat;
34+
z-index: -1;
35+
height: 50vh;
36+
mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
37+
}
38+
39+
&::after {
40+
content: '';
41+
position: fixed;
42+
inset: 0;
2943
background: url(frosted-texture.png);
3044
background-repeat: repeat;
3145
background-size: 200px 200px;
3246
opacity: 0.1;
33-
z-index: -1;
47+
z-index: -2;
3448
}
3549
}
3650

@@ -43,7 +57,7 @@ textarea {
4357
button {
4458
min-height: 38px;
4559
border-radius: 7px;
46-
background: #182232;
60+
background: #2C4F1D;
4761
color: var(--text);
4862
cursor: pointer;
4963
transition: border-color .16s ease, background .16s ease, transform .16s ease;
@@ -59,7 +73,11 @@ button {
5973
}
6074

6175
a {
62-
color: var(--accent);
76+
color: #C4EFAC;
77+
}
78+
79+
a:not(:hover) {
80+
text-decoration: none;
6381
}
6482

6583
code {
@@ -93,15 +111,15 @@ code {
93111
font-variation-settings: "ROND" 100;
94112
}
95113

96-
> img {
114+
/* > img {
97115
position: absolute;
98116
z-index: -1;
99117
top: 50%;
100118
left: 50%;
101119
transform: translate(-50%, -60%);
102-
opacity: 0.15;
120+
opacity: 0.35;
103121
height: 150%;
104-
}
122+
} */
105123
}
106124

107125
.intro h1 {
@@ -122,7 +140,7 @@ h1 {
122140
font-size: clamp(2rem, 4vw, 4.2rem);
123141
line-height: .96;
124142
letter-spacing: 0;
125-
font-variation-settings: "ROND" 50;
143+
font-variation-settings: "ROND" 80;
126144
}
127145

128146
h2 {
@@ -139,8 +157,9 @@ h2 {
139157

140158
.panel {
141159
border: 1px solid var(--line);
142-
border-radius: 8px;
143-
background: var(--panel);
160+
border-radius: 16px;
161+
background: oklch(from var(--panel) l c h / 0.5);
162+
backdrop-filter: blur(12px) saturate(1.2);
144163
box-shadow: var(--shadow);
145164
overflow: hidden;
146165
}
@@ -192,7 +211,7 @@ h2 {
192211
display: flex;
193212
justify-content: center;
194213
align-items: center;
195-
background: #111;
214+
background: #3E4A36;
196215
}
197216

198217
.segmented button {
@@ -203,7 +222,7 @@ h2 {
203222

204223
&.active {
205224
background: var(--accent);
206-
color: #06110f;
225+
color: #B9E3A1;
207226
font-weight: 700;
208227
font-variation-settings: "ROND" 100;
209228
}
@@ -214,7 +233,7 @@ pre,
214233
input {
215234
border: 0;
216235
color: var(--text);
217-
background: #0c0c0c;
236+
background: #1D211A;
218237
font-family: "Cascadia Code", monospace;
219238
word-break: break-all;
220239

0 commit comments

Comments
 (0)