abdullahtarawneh.com/assets/scss/content/index.scss

107 lines
1.6 KiB
SCSS
Raw Normal View History

2021-12-20 11:27:10 +00:00
#index {
.title {
font-size: 1.5em;
2021-12-20 11:27:10 +00:00
font-weight: 700;
line-height: 1.2;
&:before {
font-size: 3em;
font-weight: 700;
color: #ddd;
position: absolute;
top: -0.5em;
left: -0.3em;
2021-12-20 11:27:10 +00:00
z-index: -1;
}
position: relative;
margin-bottom: 2em;
}
.subtitle {
font-size: 1.5em;
line-height: 1.2;
margin-bottom: 0.5em;
margin-top: 2em;
}
2022-07-04 03:53:08 +00:00
.quotes {
color: #555;
padding: 2rem;
font-size: 1.25rem;
display: flex;
flex-flow: column;
justify-content: space-around;
line-height: 1.5;
gap: 4rem;
font-family: monospace;
}
#summary .container {
display: grid;
grid-template-columns: 1fr;
@media (min-width: 40rem) {
grid-template-columns: 18rem 1fr;
2021-12-20 11:27:10 +00:00
}
}
2022-07-04 03:53:08 +00:00
#birdsounds {
background: black;
color: white;
text-align: center;
2022-07-04 07:39:32 +00:00
.container {
display: flex;
flex-flow: column;
align-items: center;
}
.photo {
2022-07-04 03:53:08 +00:00
max-height: 100vh;
height: 100%;
max-width: 100%;
object-fit: contain;
object-position: center bottom;
2021-12-20 11:27:10 +00:00
}
2022-07-04 07:39:32 +00:00
.info {
2022-07-04 03:53:08 +00:00
display: flex;
flex-flow: column;
align-items: center;
2021-12-20 11:27:10 +00:00
}
2022-07-04 07:39:32 +00:00
.logo {
2022-07-04 03:53:08 +00:00
margin: 2rem 0;
}
@media (min-width: 40rem) {
2022-07-04 07:39:32 +00:00
.photo {
2022-07-04 03:53:08 +00:00
height: 20rem;
2021-12-20 11:27:10 +00:00
}
2022-07-04 07:39:32 +00:00
.container {
2022-07-04 08:23:11 +00:00
flex-flow: row;
2022-07-04 07:39:32 +00:00
justify-content: space-between;
}
2022-07-04 08:23:11 +00:00
.info {
flex-grow: 1;
}
2022-07-04 03:53:08 +00:00
}
a {
color: white;
position: relative;
&:after {
content: '';
position: absolute;
right: -1em;
top: -1em;
color: white;
2021-12-20 11:27:10 +00:00
}
}
}
2022-07-04 03:53:08 +00:00
#updates {
line-height: 1.5;
font-size: 1.25rem;
2022-07-04 07:39:32 +00:00
.heading {
font-size: 1.5em;
font-weight: 700;
margin-bottom: 1em;
}
p + p {
margin: 1em 0;
}
p {
max-width: 55ch;
}
2021-12-20 11:27:10 +00:00
}
2020-10-25 05:15:18 +00:00
}