Skip to content

Commit 44f20b8

Browse files
Refactor styles in ReferenceList, SorteoMundial, and MarkDownComponents: update font sizes, colors, and padding; remove unnecessary borders for improved aesthetics and consistency
1 parent 43aa518 commit 44f20b8

3 files changed

Lines changed: 11 additions & 12 deletions

File tree

app/components/MdCompos/ReferenceList.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,25 +27,25 @@ const RefNumbers = styled.ol`
2727
text-align: right;
2828
}
2929
}
30+
font-size: small;
3031
`;
3132

3233
const RefTex = styled.a`
3334
:hover {
34-
color: var(--fg);
35+
color: var(--emphasis-bg);
3536
}
3637
38+
color: var(--link-fg);
39+
font-size: smaller;
3740
svg {
38-
color: var(--link-fg);
3941
font-size: 1.5em;
40-
font-weight: bold;
42+
font-weight: bolder;
4143
}
4244
`;
4345
const RefUrl = styled.a`
44-
color: var(--link-fg);
45-
font-size: 0.5rem;
46-
font-size: medium;
46+
color: var(--emphasis-bg);
4747
:hover {
48-
color: var(--strong-fg);
48+
color: var(--link-fg);
4949
cursor: pointer;
5050
}
5151
`;
@@ -67,6 +67,7 @@ export const ReferenceList = ({ references }) => {
6767
)}{" "}
6868
<RefTex href={`#cite-${id}`}>
6969
<IoReturnDownBack />
70+
(volver)
7071
</RefTex>
7172
</li>
7273
))}

app/components/MdCompos/SorteoMundial.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,12 @@ const GruposContainer = styled.div`
9797
@media (min-width: 768px) {
9898
grid-template-columns: 1fr 1fr;
9999
}
100-
border: 1px solid red;
101100
`;
102101

103102
const ItinerarioSection = styled.div`
104103
display: flex;
105104
flex-direction: column;
106105
gap: 1rem;
107-
border-color: 2px solid red;
108106
`;
109107

110108
const ItinerarioHeader = styled.h2`

app/ui/MarkDownComponents.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ export const MdOrderedList = styled.ol`
6161
export const MdBlockQuote = styled.blockquote`
6262
background-color: var(--quote-bg);
6363
color: var(--quote-fg);
64-
padding: 2px 8px;
65-
margin: 3px auto;
64+
padding: 6px 12px;
65+
margin: 12px auto;
6666
border-radius: 12px;
6767
min-width: 85%;
6868
`;
@@ -93,7 +93,7 @@ export const MdSubHeadA = styled.h2`
9393
}
9494
`;
9595
export const MdSubHeadB = styled.h3`
96-
color: var(--emphasis-bg);
96+
color: var(--quote-fg);
9797
margin-top: 2rem;
9898
font-size: larger;
9999
a {

0 commit comments

Comments
 (0)