Skip to content

Commit 01314a7

Browse files
committed
Make home page look less broken on smartphones
1 parent 0ef9d71 commit 01314a7

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

assets/css/style.css

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -905,9 +905,14 @@ html, body {
905905
z-index: 0;
906906
}
907907

908+
.index-shader-container {
909+
display: block;
910+
}
911+
908912
.index-shader {
909-
max-width: 890px;
910-
width: 100%;
913+
width: 45%;
914+
float: left;
915+
min-width: fit-content;
911916
margin-bottom: 50px;
912917
margin-left: -20px;
913918
margin-right: -20px;
@@ -925,16 +930,10 @@ html, body {
925930
}
926931

927932
.index-reimagined {
928-
float: left;
929-
max-width: 45%;
930-
min-width: fit-content;
931933
background: url(../img/reimage.jpg) no-repeat top / cover;
932934
}
933935

934936
.index-v4 {
935-
float: left;
936-
max-width: 45%;
937-
min-width: fit-content;
938937
background: url(../img/v4image.jpg) no-repeat top / cover;
939938
}
940939

@@ -953,7 +952,6 @@ html, body {
953952
position: relative;
954953
margin: 30px 0 30px;
955954
font-size: 20px;
956-
line-height: 50%;
957955
color: var(--VeryLightGray);;
958956
max-width: 100%;
959957
}
@@ -966,6 +964,8 @@ html, body {
966964
font-size: 16px;
967965
color: var(--VeryLightGray);;
968966
max-width: 55%;
967+
min-width: 340px;
968+
margin-bottom: 50px;
969969
}
970970

971971
.index-shader .btn {

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,21 +82,21 @@ <h1>Complementary Development</h1>
8282
<div class="hero-text section-features">
8383
<h2>Complementary Shaders</h2>
8484
</div>
85-
<div class="container">
85+
<div class="container index-shader-container">
8686
<div class="index-shader index-reimagined" onclick="location.href='reimagined';" style="--ThemeColor: var(--ReimaginedColor);">
8787
<h2>Complementary<br><span style="color: var(--ReimaginedColor);">Reimagined</span></h2>
88-
<p style="margin: -20px 0 20px">Aiming for perfection and reimagining Minecraft.</p>
88+
<p style="margin: -20px 0 2px">Aiming for perfection and reimagining Minecraft.</p>
8989
</div><!-- /.hero-text -->
9090
<div class="index-shader-desc">
9191
<p>
9292
Complementary Reimagined is a high quality Minecraft Java Edition shader pack that aims for perfection. It was released in 2022 as the alternative option in the Complementary lineup, but the massive potential of the codebase started to get utilised over time to make Reimagined the main focus of development. It preserves the unique style of Minecraft, with options to customise everything ranging from clouds to water. Reimagined offers a ton of high quality effects, incredible attention to detail, an issueless experience, and top tier optimization. It aims to please everyone who loves Minecraft, and there is no better summary for Reimagined other than that it is a shader pack that aims to be the ultimate choice. Complementary Reimagined still gets regular updates to this day.
9393
</p>
9494
</div>
9595
</div>
96-
<div class="container">
96+
<div class="container index-shader-container">
9797
<div class="index-shader index-v4" onclick="location.href='shaders-v4';" style="--ThemeColor: var(--VersionFourColor);">
9898
<h2>Complementary<br><span style="color: var(--VersionFourColor);">Version 4</span></h2>
99-
<p style="margin: -20px 0 20px">Shader pack that aims to be good at everything.</p>
99+
<p style="margin: -20px 0 2px">Shader pack that aims to be good at everything.</p>
100100
</div><!-- /.hero-text -->
101101
<div class="index-shader-desc">
102102
<p>

0 commit comments

Comments
 (0)