Fixed the issue with the body

This commit is contained in:
Justin Frasier 2025-11-13 10:47:36 -06:00
parent e8d0c8a2f5
commit 7561b6eafd
2 changed files with 23 additions and 8 deletions

View File

@ -15,11 +15,25 @@ body{
font-weight: 600; font-weight: 600;
} }
.off-white{ .off-white-title{
background-color: rgb(245,245,245,0.8); background-color: rgb(245,245,245,0.8);
width: 80%; width: 80%;
margin: 0.5em auto;
padding: 0.5em;
border-radius: 0.25em;
max-width: 10em; max-width: 10em;
margin: 0.5em auto; /* Center the box horizontally and add top/bottom margin */ }
padding: 0.5em; /* Add some padding inside the box */
border-radius: 0.25em; /* Optional: Rounded corners */ .off-white-body{
background-color: rgb(245,245,245,0.8);
width: 80%;
margin: 0.5em auto;
padding: 0.5em;
border-radius: 0.25em;
max-width: 50em;
}
.intro{
text-align: center;
font-size: 1.2em;
} }

View File

@ -9,13 +9,14 @@
</head> </head>
<body> <body>
<div class="title"> <div class="title">
<div class="off-white"> <div class="off-white-title">
K5BSS K5BSS
</div> </div>
</div> </div>
<div class="intro"> <div class="intro">
<div class="off-white"> <div class="off-white-body">
I am a ham radio operator. I am a ham radio operator.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</div> </div>
</div> </div>
</body> </body>