Skip to content

Commit

Permalink
Fix mobile responsiveness
Browse files Browse the repository at this point in the history
  • Loading branch information
ozgurozbek committed May 11, 2023
1 parent 7aa16ff commit 6097675
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
10 changes: 10 additions & 0 deletions assets/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,14 @@ w3-button {

#books section {
padding: 2% 10% 2% 10%;
}

.page-content-responsive {
margin-left: auto; margin-right: auto; width: 70%;
}

@media (max-width: 1024px) {
.page-content-responsive {
width: 100%;
}
}
2 changes: 1 addition & 1 deletion dnd/dnd-lore.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
</div>

<div class="w3-container content pageinside">
<div style="margin-left: auto; margin-right: auto; width: 60%;">
<div class="page-content-responsive">

<!-- Intro -->
<div>
Expand Down
2 changes: 1 addition & 1 deletion dnd/dnd-map.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<div style="height: 2px; background-color: white"></div>

<div class="w3-container content pageinside" style="width: 100%;">
<div style="margin-left: auto; margin-right: auto; width: 70%;">
<div class="page-content-responsive">

<center>
<h1 id="map-resource-legend">Map Resource Legend</h1>
Expand Down
2 changes: 1 addition & 1 deletion dnd/dnd-music.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<div style="height: 2px; background-color: white"></div>

<div class="w3-container content pageinside" style="width: 100%;">
<div style="margin-left: auto; margin-right: auto; width: 70%;">
<div class="page-content-responsive">

<center><h1>Music with youtube links</h1></center>
<input type="checkbox" id="wantDiscord"> Add *p for discord?
Expand Down
2 changes: 1 addition & 1 deletion dnd/dnd-races.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<div style="height: 2px; background-color: white"></div>

<div class="w3-container content pageinside" style="width: 100%;">
<div style="margin-left: auto; margin-right: auto; width: 70%;">
<div class="page-content-responsive">

<center>
<h1>Official Races & Homebrew Addons</h1>
Expand Down

0 comments on commit 6097675

Please sign in to comment.