-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c5f160e
commit 14aa5c5
Showing
2 changed files
with
92 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,92 +1,41 @@ | ||
/* style.css */ | ||
html { | ||
font-size: 10px; | ||
font-family: 'Open Sans', sans-serif; | ||
} | ||
|
||
<style> | ||
html, body { | ||
margin: 0; | ||
padding: 0; | ||
font-family: 'Open Sans', sans-serif; | ||
} | ||
|
||
.wrapper { | ||
background-color: lightpink; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
padding: 20px; | ||
} | ||
|
||
.prof-pic { | ||
border-radius: 50%; | ||
width: 150px; | ||
height: 150px; | ||
} | ||
|
||
.name { | ||
margin: 10px 0; | ||
} | ||
|
||
.subtitle { | ||
margin: 0; | ||
} | ||
|
||
.bio { | ||
text-align: center; | ||
margin-bottom: 20px; | ||
} | ||
|
||
.socials { | ||
list-style: none; | ||
padding-left: 0; | ||
display: flex; | ||
justify-content: center; | ||
gap: 10px; | ||
} | ||
|
||
.socials li { | ||
display: inline-block; | ||
} | ||
|
||
.socials a { | ||
text-decoration: none; | ||
padding: 5px 10px; | ||
border: 1px solid #ddd; | ||
border-radius: 5px; | ||
} | ||
|
||
.socials a:hover { | ||
background-color: rgba(0, 0, 0, 0.1); | ||
} | ||
h1 { | ||
font-size: 60px; | ||
text-align: center; | ||
} | ||
|
||
@media (min-width: 768px) { | ||
.wrapper { | ||
flex-direction: row; | ||
} | ||
p, li { | ||
font-size: 16px; | ||
line-height: 2; | ||
letter-spacing: 1px; | ||
} | ||
|
||
.left, .right { | ||
flex: 1; | ||
} | ||
|
||
.right { | ||
padding: 0 20px; | ||
} | ||
} | ||
|
||
@media (max-width: 600px) { | ||
.wrapper { | ||
flex-direction: column; | ||
} | ||
html { | ||
background-color: #d3ae34; | ||
} | ||
|
||
.left, .right { | ||
max-width: 100%; | ||
} | ||
body { | ||
width: 600px; | ||
margin: 0 auto; | ||
background-color: #00fff2; | ||
padding: 0 20px 20px 20px; | ||
border: 5px solid black; | ||
} | ||
|
||
.left { | ||
text-align: center; | ||
} | ||
} | ||
</style> | ||
h1 { | ||
margin: 0; | ||
padding: 20px 0; | ||
color: #00539F; | ||
text-shadow: 3px 3px 1px black; | ||
} | ||
|
||
img { | ||
display: block; | ||
margin: 0 auto; | ||
} |