| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- // home
- body {
- .blog {
- header {
- height:100vh;
- width: 100%;
- display: inline-flex;
- flex-direction: column;
- align-content: space-around;
- & > div{
- position: fixed;
- &.head{
- width: 100%;
- z-index: 999;
- padding-top: 70px;
- h2 {
- margin-left: 8px;
- position: absolute;
- }
- &::after {
- display: block;
- content: " ";
- width: 0%;
- height: 1px;
- background: black;
- }
- }
- &.works-mea {
- display: -webkit-inline-box;
- display: -ms-inline-flexbox;
- display: inline-flex;
- align-self: flex-end;
- height: calc(100% - 20px);
- align-items: flex-end;
- .card{
- &:nth-child(2){
- margin:0 10px;
- }
- &:not(:nth-child(2)){
- margin: 0;
- }
- }
- }
- &.scroll{
- width: 100%;
- bottom: 0;
- text-align: center;
- }
- }
- }
- &.down{
- header{
- height: 5rem;
- .head{
- padding:0;
- transition: all 1s 0.9s ease;
- &::after{
- animation: showborder 2.5s 1.5s ease forwards;
- }
- h2{
- opacity: 0;
- margin-left: -100px;
- transition: all 1s ease;
- left: -50%;
- }
- }
- .card{
- &:nth-child(1){
- animation: translateY 1s ease forwards;
- }
- &:nth-child(2){
- animation: translateY 1.3s ease forwards;
- }
- &:nth-child(3){
- animation: translateY 1.6s ease forwards;
- }
- }
- .scroll{
- opacity: 0;
- transition: all 1s ease;
- }
- }
- }
- }
- }
- // page
- body {
- #page-wrapper.item {
- header {
- border-bottom: 1px solid black;
- position: fixed;
- height: 112px;
- top: 0;
- left: 10px;
- right: 10px;
- background: white;
- z-index: 999;
- nav {
- margin-top: 25px;
- }
- h1 {
- color: black;
- }
- h2, .scroll {
- display: none;
- }
- }
- }
- }
|