Skip to content

Commit 9ba9c87

Browse files
committed
style tweaks
1 parent 807c475 commit 9ba9c87

File tree

5 files changed

+35
-28
lines changed

5 files changed

+35
-28
lines changed

src/features/web3/components/CopyAddress.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ const { address }: Props = Astro.props
1717

1818
.code code {
1919
display: block;
20-
padding: var(--space-s);
20+
padding: var(--space-xs) var(--space-s);
2121
padding-right: 2rem;
2222
font-size: var(--fs--2);
23+
line-height: var(--fs-0);
2324
}
2425
</style>
2526

src/features/web3/components/Input/InputGroup.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export function InputGroup({
4848
onFocus={() => setIsFocus(true)}
4949
onBlur={() => setIsFocus(false)}
5050
className={styles.inputInput}
51+
disabled={isDisabled}
5152
/>
5253
<button
5354
type="button"

src/pages/thanks.astro

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,18 +80,19 @@ import Wallet from '@/images/wallet.svg'
8080
}
8181

8282
.subTitle {
83-
font-size: var(--fs-3);
83+
font-size: var(--fs-1);
8484
border-bottom: 1px solid var(--border-color);
8585
margin: 0;
86-
padding: var(--space-s) 0;
86+
padding: var(--space-2xs) 0;
8787
}
8888

8989
.box .subTitle {
90-
padding: var(--space-s);
90+
padding: var(--space-2xs) var(--space-s);
9191
}
9292

9393
.titleCoin {
94-
font-size: var(--fs-1);
94+
font-size: var(--fs-0);
95+
line-height: var(--fs-1);
9596
margin-top: 0;
9697
margin-bottom: var(--space-2xs);
9798
display: flex;
@@ -108,17 +109,18 @@ import Wallet from '@/images/wallet.svg'
108109
}
109110

110111
.section {
111-
padding: var(--space-s) 0;
112+
padding: var(--space-xs) 0;
112113
}
113114

114115
.box .section {
115116
padding: var(--space-s);
116117
}
117118

118-
.section.highlight {
119+
.box .section.highlight {
119120
background-color: var(--box-background-color);
120121
border-top: 1px solid var(--border-color);
121122
border-bottom: 1px solid var(--border-color);
123+
padding-bottom: 0;
122124
}
123125

124126
.metaText {

src/styles/_markdown.css

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,28 @@
1515
border-radius: var(--border-radius);
1616
}
1717

18+
blockquote,
19+
blockquote > p {
20+
font-style: italic;
21+
color: var(--text-color);
22+
}
23+
24+
blockquote {
25+
margin: var(--space-l) 0;
26+
position: relative;
27+
padding-left: var(--space-2xl);
28+
}
29+
30+
/* quotation mark */
31+
blockquote::before {
32+
content: '“';
33+
font-size: 300%;
34+
color: var(--text-color-light);
35+
position: absolute;
36+
left: var(--space-l);
37+
top: 0;
38+
}
39+
1840
hr {
1941
position: relative;
2042
border-bottom: var(--border-width) dashed var(--border-color);

src/styles/global.css

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -282,27 +282,8 @@ cite {
282282
text-transform: uppercase;
283283
}
284284

285-
blockquote,
286-
blockquote > p {
287-
font-style: italic;
288-
color: var(--text-color);
289-
}
290-
291-
blockquote {
292-
margin: 0 0 var(--space-m);
293-
position: relative;
294-
padding-left: var(--space-l);
295-
}
296-
297-
/* quotation marks */
298-
blockquote::before {
299-
content: '“';
300-
font-size: 300%;
301-
color: var(--text-color-light);
302-
position: absolute;
303-
left: 0;
304-
top: 0;
305-
}
285+
/* Tables
286+
///////////////////////////////////// */
306287

307288
table {
308289
border-spacing: 0;

0 commit comments

Comments
 (0)