First about version and rescaling
This commit is contained in:
parent
e717b4b8dd
commit
b0fc3a05c5
11 changed files with 63 additions and 13 deletions
src/components
53
src/components/aboutText.astro
Normal file
53
src/components/aboutText.astro
Normal file
|
@ -0,0 +1,53 @@
|
|||
---
|
||||
|
||||
---
|
||||
|
||||
<div>
|
||||
<p>
|
||||
I'm a 23 year old software developer from Germany. Even if my roots are with Electrical Engineering,
|
||||
I am currently pursuing a Masters Degree in Computer Science after starting to code more during my studies.
|
||||
I am mostly programming in Python, but I'm also confident in writing Javascript.
|
||||
</p>
|
||||
<p>
|
||||
I enjoy biking and hiking, as well as visiting different anime conventions.
|
||||
I am a huge fan of the Fate franchise, specifically Fate/Grand Order, which I am playing since the end of 2019.
|
||||
I also enjoy other games, mainly Honkai: Star Rail and theHunter: Call of the Wild.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
div {
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
line-height: 24px;
|
||||
font-family: 'Work Sans Variable', sans-serif;
|
||||
max-width: min(87.5%, 360px);
|
||||
background-color: var(--c-primary-background);
|
||||
color: var(--c-primary-text);
|
||||
border-radius: 1rem;
|
||||
padding: 1rem 1rem;
|
||||
margin-top: -0.75rem;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
div > p:first-of-type {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
div > p:last-of-type {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
@media (min-width: 512px) {
|
||||
div {
|
||||
max-width: 75%;
|
||||
text-align: justify;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1000px) {
|
||||
div {
|
||||
max-width: 65%;
|
||||
}
|
||||
}
|
||||
</style>
|
Loading…
Add table
Add a link
Reference in a new issue