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

118 lines
1.8 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 {
2022-07-04 11:31:42 +00:00
2022-07-04 03:53:08 +00:00
padding: 2rem;
font-size: 1.25rem;
display: flex;
flex-flow: column;
2022-07-04 11:31:42 +00:00
justify-content: space-between;
2022-07-04 03:53:08 +00:00
line-height: 1.5;
2022-07-04 11:31:42 +00:00
gap: 2em;
2022-07-04 03:53:08 +00:00
font-family: monospace;
2022-07-04 11:31:42 +00:00
.heading {
font-weight: 700;
font-family: initial;
}
}
.quotes-container {
color: #555;
display: flex;
flex-flow: column;
justify-content: space-around;
flex-grow: 1;
gap: 3rem;
2022-07-04 03:53:08 +00:00
}
#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 {
2022-07-04 08:36:30 +00:00
content: '';
2022-07-04 03:53:08 +00:00
position: absolute;
right: -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
}