clean code
This commit is contained in:
parent
a659bb98ae
commit
338bf3f007
6 changed files with 72 additions and 60 deletions
|
|
@ -8,24 +8,6 @@ section {
|
|||
box-shadow: 2px 0px 2px 0px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
/*------------- ANIMATION -------------*/
|
||||
|
||||
.animation-coming-in {
|
||||
animation: coming-in 250ms ease-in-out;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
@keyframes coming-in {
|
||||
0% {
|
||||
opacity: 0;
|
||||
transform: translateX(100vw);
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
transform: translateX(0);
|
||||
}
|
||||
}
|
||||
|
||||
.headerline {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
@ -111,25 +93,51 @@ section {
|
|||
}
|
||||
}
|
||||
|
||||
/* Custom transition */
|
||||
@keyframes rotate-out {
|
||||
to {
|
||||
transform: rotate(90deg);
|
||||
.contact {
|
||||
margin-top: 48px;
|
||||
.headline {
|
||||
font-size: 20px;
|
||||
font-weight: 400;
|
||||
}
|
||||
.info {
|
||||
margin-top: 16px;
|
||||
p {
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
padding: 24px 0 12px 0;
|
||||
}
|
||||
a {
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
text-decoration: none;
|
||||
color: var(--light-blue);
|
||||
cursor: pointer;
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
@keyframes rotate-in {
|
||||
from {
|
||||
transform: rotate(-90deg);
|
||||
}
|
||||
}
|
||||
::view-transition-old(count),
|
||||
::view-transition-new(count) {
|
||||
animation-duration: 200ms;
|
||||
animation-name: -ua-view-transition-fade-in, rotate-in;
|
||||
|
||||
/*------------- ANIMATION -------------*/
|
||||
|
||||
.animation-coming-in {
|
||||
animation: coming-in 250ms ease-in-out;
|
||||
opacity: 1;
|
||||
}
|
||||
::view-transition-old(count) {
|
||||
animation-name: -ua-view-transition-fade-out, rotate-out;
|
||||
|
||||
@keyframes coming-in {
|
||||
0% {
|
||||
opacity: 0;
|
||||
transform: translateX(100vw);
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
transform: translateX(0);
|
||||
}
|
||||
}
|
||||
|
||||
/*------------- RESPONSIVE -------------*/
|
||||
|
||||
@media screen and (max-width: 1300px) {
|
||||
.headerline {
|
||||
|
|
@ -165,32 +173,6 @@ section {
|
|||
}
|
||||
}
|
||||
|
||||
.contact {
|
||||
margin-top: 48px;
|
||||
.headline {
|
||||
font-size: 20px;
|
||||
font-weight: 400;
|
||||
}
|
||||
.info {
|
||||
margin-top: 16px;
|
||||
p {
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
padding: 24px 0 12px 0;
|
||||
}
|
||||
a {
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
text-decoration: none;
|
||||
color: var(--light-blue);
|
||||
cursor: pointer;
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1150px) {
|
||||
section {
|
||||
display: none;
|
||||
|
|
|
|||
|
|
@ -116,6 +116,8 @@ section {
|
|||
color: var(--light-blue);
|
||||
}
|
||||
|
||||
/*------------- RESPONSIVE -------------*/
|
||||
|
||||
@media screen and (max-width: 1150px) {
|
||||
.left-frame {
|
||||
position: fixed;
|
||||
|
|
|
|||
|
|
@ -56,6 +56,8 @@ section {
|
|||
display: none;
|
||||
}
|
||||
|
||||
/*------------- RESPONSIVE -------------*/
|
||||
|
||||
@media screen and (max-width: 910px) {
|
||||
.headline {
|
||||
display: none;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
section {
|
||||
width: 100%;
|
||||
padding-right: 64px;
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: var(--gray);
|
||||
|
|
@ -61,6 +61,14 @@ h3 {
|
|||
color: var(--light-blue);
|
||||
}
|
||||
|
||||
/*------------- RESPONSIVE -------------*/
|
||||
|
||||
@media screen and (max-width: 910px) {
|
||||
section {
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 634px) {
|
||||
h1 {
|
||||
font-size: 36px;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
section {
|
||||
word-wrap: break-word;
|
||||
padding-right: 64px;
|
||||
}
|
||||
|
||||
.header {
|
||||
|
|
@ -52,3 +53,11 @@ a {
|
|||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
/*------------- RESPONSIVE -------------*/
|
||||
|
||||
@media screen and (max-width: 910px) {
|
||||
section {
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
section {
|
||||
word-wrap: break-word;
|
||||
padding-right: 64px;
|
||||
}
|
||||
|
||||
.header {
|
||||
|
|
@ -58,3 +59,11 @@ a {
|
|||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
/*------------- RESPONSIVE -------------*/
|
||||
|
||||
@media screen and (max-width: 910px) {
|
||||
section {
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue