Fixed the issue with the body
This commit is contained in:
parent
e8d0c8a2f5
commit
7561b6eafd
22
css/main.css
22
css/main.css
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue