-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcssOnlySite.css
More file actions
38 lines (35 loc) · 921 Bytes
/
cssOnlySite.css
File metadata and controls
38 lines (35 loc) · 921 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/* Basic Reset */
body {
margin: 0;
font-family: Arial, sans-serif;
background-color: #f4f4f4;
}
/* Container for content */
.content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
text-align: center;
color: #333;
}
/* Using ::before and ::after to add content */
.content::before {
content: "Welcome to My Personal Information Page";
display: block;
font-size: 2rem;
margin-bottom: 1rem;
color: #4CAF50;
}
.content::after {
content: "My name is Martin Otis. \a Currently I live in Covington, Kentucky but I'm originally from Minnesota. \a I am 52 years old.";
display: block;
white-space: pre-wrap; /* Preserves line breaks */
font-size: 1.2rem;
background-color: white;
padding: 1rem;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
margin-top: 1rem;
}