Skip to content

Commit 1b64e1a

Browse files
authored
Merge pull request #129 from Hrnjez/feature/local-fix
assets updates and mobile responsiveness fixes
2 parents 2f6f362 + 606a98d commit 1b64e1a

File tree

3 files changed

+30
-14
lines changed

3 files changed

+30
-14
lines changed

src/components/HomepageFeatures/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,9 @@ export default function HomepageFeatures(): JSX.Element {
146146
))}
147147
</div>
148148
<div className="row" style={{ overflow: 'visible', display: 'flex', justifyContent: 'center', marginTop: '130px', marginBottom: '80px'}}>
149-
<Heading as="h1" className="text--center orb-font" style={{ overflow: 'visible', position: 'relative', fontSize: 40, fontWeight: 'normal'}}>
149+
<Heading as="h1" className="text--center bg-img-text orb-font" style={{ overflow: 'visible', position: 'relative', fontSize: 40, fontWeight: 'normal'}}>
150150
Connect With US
151-
<div style={{
151+
<div className='bg-img' style={{
152152
position: 'absolute',
153153
top: '-88px',
154154
left: '-82%',

src/components/HomepageFeatures/styles.module.css

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
transition: box-shadow .3s, background .3s;
3030
width: 100%;
3131
/* background: var(--ifm-color-background); */
32-
/* border: 1.5px solid var(--ifm-color-text); */
32+
border: 1.5px solid rgb(188 190 192);
3333
/* box-shadow: 0px 0px 25px 0px rgba(255, 255, 255, 0.10); */
3434
border-radius: 20.2632px;
3535
/* justify-content: center; */
@@ -48,7 +48,7 @@ html[data-theme='dark'] .custom__card {
4848
.custom__card_1 {
4949
/* Rectangle 39 */
5050
background: #fff;
51-
51+
border: 1.5px solid rgb(188 190 192);
5252
height: 308px;
5353
box-sizing: border-box;
5454
/* transition: box-shadow .3s; */
@@ -81,8 +81,6 @@ html[data-theme='dark'] {
8181
}
8282

8383

84-
85-
8684
@media (max-width: 1440px) {
8785
.custom__card {
8886
height: 400px;

src/css/custom.css

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -339,8 +339,13 @@ pre code {
339339
text-decoration: none;
340340
}
341341

342-
.tutorial-button img {
343-
filter: brightness(0) saturate(100%) invert(6%) sepia(31%) saturate(5266%) hue-rotate(181deg) brightness(93%) contrast(52%);
342+
343+
.tutorial-button:hover img {
344+
filter: brightness(0) saturate(100%) invert(100%) sepia(4%) saturate(2%) hue-rotate(351deg) brightness(103%) contrast(100%);
345+
}
346+
347+
html[data-theme='dark'] .tutorial-button img {
348+
filter: brightness(0) saturate(100%) invert(100%) sepia(4%) saturate(2%) hue-rotate(351deg) brightness(103%) contrast(100%);
344349
}
345350

346351
.tutorial-button.minimum {
@@ -537,21 +542,23 @@ html[data-theme='dark'] .header-discord-link:before {
537542

538543
.header-twitter-link:before {
539544
content: '';
540-
width: 28px;
541-
height: 28px;
545+
width: 26px;
546+
height: 26px;
542547
display: flex;
543-
background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22.46 6c-.77.35-1.6.58-2.46.69.88-.53 1.56-1.37 1.88-2.38-.83.5-1.75.85-2.72 1.05C18.37 4.5 17.26 4 16 4c-2.35 0-4.27 1.92-4.27 4.29 0 .34.04.67.11.98C8.28 9.09 5.11 7.38 3 4.79c-.37.63-.58 1.37-.58 2.15 0 1.49.75 2.81 1.91 3.56-.71 0-1.37-.2-1.95-.5v.03c0 2.08 1.48 3.82 3.44 4.21a4.22 4.22 0 0 1-1.93.07 4.28 4.28 0 0 0 4 2.98 8.521 8.521 0 0 1-5.33 1.84c-.34 0-.68-.02-1.02-.06C3.44 20.29 5.7 21 8.12 21 16 21 20.33 14.46 20.33 8.79c0-.19 0-.37-.01-.56.84-.6 1.56-1.36 2.14-2.23z'/%3E%3C/svg%3E")
548+
background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.244 2H21.5l-7.6 8.651L22 22h-6.531l-5.15-6.748L4.3 22H1l8.043-9.146L2 2h6.64l4.73 6.188L18.244 2z' fill='black'/%3E%3C/svg%3E")
544549
no-repeat;
545550
filter: brightness(0) saturate(100%) invert(14%) sepia(58%) saturate(2629%) hue-rotate(194deg) brightness(94%) contrast(101%);
546551
}
547552

548553
html[data-theme='dark'] .header-twitter-link:before {
549-
width: 28px;
550-
height: 28px;
554+
width: 26px;
555+
height: 26px;
551556
display: flex;
552-
background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M22.46 6c-.77.35-1.6.58-2.46.69.88-.53 1.56-1.37 1.88-2.38-.83.5-1.75.85-2.72 1.05C18.37 4.5 17.26 4 16 4c-2.35 0-4.27 1.92-4.27 4.29 0 .34.04.67.11.98C8.28 9.09 5.11 7.38 3 4.79c-.37.63-.58 1.37-.58 2.15 0 1.49.75 2.81 1.91 3.56-.71 0-1.37-.2-1.95-.5v.03c0 2.08 1.48 3.82 3.44 4.21a4.22 4.22 0 0 1-1.93.07 4.28 4.28 0 0 0 4 2.98 8.521 8.521 0 0 1-5.33 1.84c-.34 0-.68-.02-1.02-.06C3.44 20.29 5.7 21 8.12 21 16 21 20.33 14.46 20.33 8.79c0-.19 0-.37-.01-.56.84-.6 1.56-1.36 2.14-2.23z'/%3E%3C/svg%3E")
557+
background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.244 2H21.5l-7.6 8.651L22 22h-6.531l-5.15-6.748L4.3 22H1l8.043-9.146L2 2h6.64l4.73 6.188L18.244 2z' fill='white'/%3E%3C/svg%3E")
553558
no-repeat;
559+
filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%);
554560
}
561+
555562
html[data-theme='dark'] .header-twitter-link:before {
556563
filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%);
557564
}
@@ -1181,4 +1188,15 @@ pre code[class*="language-"]{
11811188
.markdown table:has(> tbody > tr > td > table) > tbody > tr{
11821189
grid-template-columns: 1fr;
11831190
}
1191+
1192+
.bg-img{
1193+
width: 180% !important;
1194+
left: -40% !important;
1195+
top: -90px !important;
1196+
}
1197+
1198+
.bg-img-text {
1199+
font-size: 24px !important;
1200+
1201+
}
11841202
}

0 commit comments

Comments
 (0)