abdullahtarawneh.com/assets/scss/work/trilogy/index.scss

237 lines
3.7 KiB
SCSS
Raw Normal View History

2021-12-14 20:35:42 +00:00
#trilogy {
background: #002663;
color: white;
.page-header {
.container {
display: grid;
@media (min-width: 51.75em) {
grid-template-columns: auto 1fr;
}
gap: 1em;
justify-items: center;
}
}
.page-title {
color: white;
line-height: 1.4;
2021-12-15 10:00:41 +00:00
font-weight: 700;
2021-12-14 20:35:42 +00:00
font-size: 1.75em;
text-align: center;
@media (min-width: 51.75em) {
text-align: left;
}
}
.cover-image {
width: auto;
height: 100%;
}
.separator {
width: 10em;
height: 0.5em;
border-radius: 100em;
border: none;
background: white;
}
2021-12-15 10:00:41 +00:00
.title {
font-size: 2em;
font-weight: 700;
position: relative;
margin-bottom: 2em;
margin-top: 3em;
}
#about {
.title {
&:before {
content: 'intro';
position: absolute;
top: -1.5em;
left: 0;
font-size: 2em;
font-weight: 900;
2021-12-17 06:54:52 +00:00
color: #A9B7D1;
2021-12-15 10:00:41 +00:00
text-align: right;
}
}
.companies {
display: flex;
flex-flow: row wrap;
font-size: 3em;
font-family: monospace;
gap: 1em;
margin: 2em 0;
2021-12-17 06:54:52 +00:00
color: #B3BAD0;
2021-12-15 10:00:41 +00:00
}
strong {
display: block;
font-weight: 700;
2021-12-17 06:54:52 +00:00
background: #277766;
2021-12-15 10:00:41 +00:00
color: white;
white-space: pre;
padding: 0.25em 0.5em;
margin-top: 0.15em;
width: min-content;
}
}
2021-12-14 20:35:42 +00:00
#responsibilities {
display: flex;
flex-flow: column;
overflow: hidden;
.container {
display: flex;
flex-flow: column;
gap: 2em;
}
.title {
&::before {
2021-12-17 06:54:52 +00:00
content: 'what i did';
2021-12-14 20:35:42 +00:00
position: absolute;
2021-12-15 10:00:41 +00:00
top: -1.5em;
right: -.2em;
font-size: 2em;
2021-12-14 20:35:42 +00:00
font-weight: 900;
2021-12-15 10:00:41 +00:00
opacity: 0.5;
text-align: center;
2021-12-14 20:35:42 +00:00
}
}
section {
width: 100%;
max-width: 45em;
margin: auto;
}
}
.subtitle {
font-size: 1.6em;
font-weight: 700;
margin-top: 2em;
margin-bottom: 1em;
position: relative;
}
2021-12-15 10:00:41 +00:00
p {
2021-12-14 20:35:42 +00:00
line-height: 1.4;
max-width: 45ch;
font-size: 1.2em;
2021-12-15 10:00:41 +00:00
margin-bottom: 1.4em;
2021-12-14 20:35:42 +00:00
}
#quick-learning {
.subtitle {
&:before {
content: '01';
position: absolute;
2021-12-15 10:00:41 +00:00
top: -1em;
left: -0em;
2021-12-14 20:35:42 +00:00
font-size: 4em;
font-weight: 900;
2021-12-17 06:54:52 +00:00
color: #54A090;
2021-12-14 20:35:42 +00:00
}
}
}
#problem-solving {
text-align: right;
2021-12-15 10:00:41 +00:00
p {margin-left: auto;}
2021-12-14 20:35:42 +00:00
.subtitle {
2021-12-15 10:00:41 +00:00
margin-top: 5em;
2021-12-14 20:35:42 +00:00
&:before {
content: '02';
position: absolute;
2021-12-15 10:00:41 +00:00
top: -1em;
right: 0em;
2021-12-14 20:35:42 +00:00
font-size: 4em;
font-weight: 900;
2021-12-17 06:54:52 +00:00
color: #54A090;
2021-12-14 20:35:42 +00:00
}
}
}
#writing-articles {
display: flex;
flex-flow: column;
align-items: center;
.subtitle {
2021-12-15 10:00:41 +00:00
margin-top: 5em;
2021-12-14 20:35:42 +00:00
&:before {
content: '03';
position: absolute;
2021-12-15 10:00:41 +00:00
top: -1em;
2021-12-14 20:35:42 +00:00
right: calc(50% - 1ch);
font-size: 4em;
font-weight: 900;
2021-12-17 06:54:52 +00:00
color: #54A090;
2021-12-14 20:35:42 +00:00
}
}
}
#kba {
display: grid;
gap: 1em;
@media (min-width: 40em) {
grid-template-columns: 1fr 1fr;
}
section {
background: white;
color: black;
height: 100%;
padding: 1em;
border-radius: 0.375em;
}
}
.card {
&__title {
margin-top: 1em;
margin-bottom: 2em;
font-size: 1.25em;
}
&__text {
font-size: 1em;
line-height: 1.4;
}
}
#skb {
text-align: right;
.card__title {
position: relative;
&:before {
content: 'SKB';
position: absolute;
top: -0.5em;
left: 0;
font-size: 4em;
font-weight: 900;
2021-12-15 10:00:41 +00:00
opacity: 0.35;
color: #002663;
2021-12-14 20:35:42 +00:00
}
}
2021-12-15 10:00:41 +00:00
.card__text {
margin-left: auto;
}
2021-12-14 20:35:42 +00:00
}
#tkb {
2021-12-15 10:00:41 +00:00
position: relative;
2021-12-14 20:35:42 +00:00
.card__title {
position: relative;
2021-12-15 10:00:41 +00:00
z-index: 1;
2021-12-14 20:35:42 +00:00
&:before {
content: 'TKB';
position: absolute;
top: -0.5em;
right: 0;
font-size: 4em;
font-weight: 900;
2021-12-15 10:00:41 +00:00
opacity: 0.35;
color: #002663;
z-index: -1;
2021-12-14 20:35:42 +00:00
}
}
}
#tnc {
.subtitle {
2021-12-15 10:00:41 +00:00
margin-top: 5em;
2021-12-14 20:35:42 +00:00
&:before {
content: '04';
position: absolute;
2021-12-15 10:00:41 +00:00
top: -1em;
left: 0;
2021-12-14 20:35:42 +00:00
font-size: 4em;
font-weight: 900;
2021-12-17 06:54:52 +00:00
color: #54A090;
2021-12-14 20:35:42 +00:00
}
}
}
}