Skip to content

Commit

Permalink
fix phone spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
ibokuri committed Mar 6, 2024
1 parent 4eeb719 commit 981b4d9
Showing 1 changed file with 80 additions and 62 deletions.
142 changes: 80 additions & 62 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,98 +18,116 @@ nav ul, footer ul {
padding-bottom: 0px;
background-color: #ffffff;
color: #000;
white-space: pre-wrap; /* Allows text to wrap and preserve formatting */
word-wrap: break-word; /* Ensures long words do not overflow */
white-space: pre-wrap;
word-wrap: break-word;
}
}

/*==============================================================================
iPhone 13 Pro || 390 x 844 || Default, Portrait and Landscape
================================================================================ */
@media only screen and (min-width: 390px) and (max-width: 844px) {
body {
font-family: monospace;
font-size: 6pt;
max-width: 640px; /* Approximation for 80 characters per line, assuming 8px per character */
margin: 0 auto;
padding: 7.1px;
background-color: #ffffff;
color: #000;
white-space: pre-wrap; /* Allows text to wrap and preserve formatting */
word-wrap: break-word; /* Ensures long words do not overflow */
body {
font-family: monospace;
font-size: 5.7pt;
max-width: 610.5px;
margin-top: 0px;
margin-bottom: 0px;
padding: 7.1px;
padding-top: 0px;
padding-bottom: 0px;
background-color: #ffffff;
color: #000;
white-space: pre-wrap;
word-wrap: break-word;
}
}

@media only screen and (min-width: 390px) and (max-width: 844px) and (orientation: portrait) {
body {
font-family: monospace;
font-size: 6pt;
max-width: 640px; /* Approximation for 80 characters per line, assuming 8px per character */
margin: 0 auto;
padding: 7.1px;
background-color: #ffffff;
color: #000;
white-space: pre-wrap; /* Allows text to wrap and preserve formatting */
word-wrap: break-word; /* Ensures long words do not overflow */
body {
font-family: monospace;
font-size: 5.7pt;
max-width: 610.5px;
margin-top: 0px;
margin-bottom: 0px;
padding: 7.1px;
padding-top: 0px;
padding-bottom: 0px;
background-color: #ffffff;
color: #000;
white-space: pre-wrap;
word-wrap: break-word;
}
}

@media only screen and (min-width: 390px) and (max-width: 844px) and (orientation: landscape) {
body {
font-family: monospace;
font-size: 6pt;
max-width: 640px; /* Approximation for 80 characters per line, assuming 8px per character */
margin: 0 auto;
padding: 7.1px;
background-color: #ffffff;
color: #000;
white-space: pre-wrap; /* Allows text to wrap and preserve formatting */
word-wrap: break-word; /* Ensures long words do not overflow */
body {
font-family: monospace;
font-size: 5.7pt;
max-width: 610.5px;
margin-top: 0px;
margin-bottom: 0px;
padding: 7.1px;
padding-top: 0px;
padding-bottom: 0px;
background-color: #ffffff;
color: #000;
white-space: pre-wrap;
word-wrap: break-word;
}
}

/*==============================================================================
iPhone 15 Pro || 393 x 852 || Default, Portrait and Landscape
================================================================================ */
@media only screen and (min-width: 393px) and (max-width: 852px) {
body {
font-family: monospace;
font-size: 6pt;
max-width: 640px; /* Approximation for 80 characters per line, assuming 8px per character */
margin: 0 auto;
padding: 7.1px;
background-color: #ffffff;
color: #000;
white-space: pre-wrap; /* Allows text to wrap and preserve formatting */
word-wrap: break-word; /* Ensures long words do not overflow */
body {
font-family: monospace;
font-size: 5.7pt;
max-width: 610.5px;
margin-top: 0px;
margin-bottom: 0px;
padding: 7.1px;
padding-top: 0px;
padding-bottom: 0px;
background-color: #ffffff;
color: #000;
white-space: pre-wrap;
word-wrap: break-word;
}
}

@media only screen and (min-width: 393px) and (max-width: 852px) and (orientation: portrait) {
body {
font-family: monospace;
font-size: 6pt;
max-width: 640px; /* Approximation for 80 characters per line, assuming 8px per character */
margin: 0 auto;
padding: 7.1px;
background-color: #ffffff;
color: #000;
white-space: pre-wrap; /* Allows text to wrap and preserve formatting */
word-wrap: break-word; /* Ensures long words do not overflow */
body {
font-family: monospace;
font-size: 5.7pt;
max-width: 610.5px;
margin-top: 0px;
margin-bottom: 0px;
padding: 7.1px;
padding-top: 0px;
padding-bottom: 0px;
background-color: #ffffff;
color: #000;
white-space: pre-wrap;
word-wrap: break-word;
}
}

@media only screen and (min-width: 393px) and (max-width: 852px) and (orientation: landscape) {
body {
font-family: monospace;
font-size: 6pt;
max-width: 640px; /* Approximation for 80 characters per line, assuming 8px per character */
margin: 0 auto;
padding: 7.1px;
background-color: #ffffff;
color: #000;
white-space: pre-wrap; /* Allows text to wrap and preserve formatting */
word-wrap: break-word; /* Ensures long words do not overflow */
body {
font-family: monospace;
font-size: 5.7pt;
max-width: 610.5px;
margin-top: 0px;
margin-bottom: 0px;
padding: 7.1px;
padding-top: 0px;
padding-bottom: 0px;
background-color: #ffffff;
color: #000;
white-space: pre-wrap;
word-wrap: break-word;
}
}

0 comments on commit 981b4d9

Please sign in to comment.