123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- @charset "UTF-8";
-
- .passport {
- width: 100%;
- min-height: 100%;
- background: url(../images/passport-bg.png) no-repeat bottom center/contain, linear-gradient(to bottom, rgba(191,230,246,1) 0%,rgba(191,230,246,0) 100%);;
- .photo {
- .load {
- width: 50%;
- height: 50%;
- &-wrapp {
- width: 11em;
- height: 11em;
- }
- }
- .bubble-1, .bubble-2 {
- width: 2em;
- height: 2em;
- }
- }
- &__container {
- width: 100%;
- }
- &__intro {
- position: relative;
- width: 100%;
- &__bg {
- img {
- width: 100%;
- height: auto;
- }
- }
- &__container {
- position: absolute;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- display: flex;
- justify-content: center;
- align-items: center;
- flex-direction: column;
- }
- .photo {
- margin-bottom: 0.8em;
- &__img {
- width: 11em;
- height: 11em;
- }
- &__icon {
- left: 78%;
- }
- }
- &__content {
- color: $c-white;
- }
- &__nickname {
- margin-bottom: 0.1em;
- h2 {
- width: 100%;
- text-align: center;
- font-size: 2.4em;
- font-weight: 600;
- text-shadow: 0 0.1em 0.1em rgba(#000, 0.15);
- margin-bottom: 0;
- }
- }
- &__info {
- p {
- width: 100%;
- text-align: center;
- font-size: 1.6em;
- text-shadow: 0 0.1em 0.1em rgba(#000, 0.2);
- margin-bottom: 0;
- }
- }
- }
- &__toggle {
- width: 89%;
- margin: 0 auto 2em;
- box-shadow: 0 0.2em 0.5em rgba(#000, 0.2);
- border-radius: 1.5em;
- overflow: hidden;
- &.toggleClose {
- .passport__toggle__head {
- &::before {
- transform: translateY(-50%) rotate(0);
- }
- }
- .passport__toggle__body {
- display: none;
- }
- }
- &__head {
- position: relative;
- background-color: $c-blue-bright;
- padding: 1.5em;
- &::before {
- content: "";
- display: block;
- width: 2.5em;
- height: 2.5em;
- position: absolute;
- right: 1.5em;
- top: 50%;
- transform: translateY(-50%) rotate(-180deg);
- background: url(../images/arrow-down.png) no-repeat center center/contain;
- }
- p {
- color: $c-white;
- text-align: center;
- margin-bottom: 0;
- font-size: 1.6em;
- font-weight: 300;
- letter-spacing: 0.07em;
- }
- }
- &__body {
- background-color: $c-white;
- padding: 1.5em 1.5em 0;
- .tags {
- &__item {
- margin-bottom: 1.5em;
- padding: 0.5em 0.55em;
- }
- }
- }
- }
- &__edit {
- position: fixed;
- left: 50%;
- transform: translateX(-50%);
- bottom: 5em;
- width: 89%;
- margin: 0 auto;
- box-shadow: 0 0.2em 0.5em rgba(#000, 0.2);
- background-color: rgba($c-white, 0.8);
- border: 0.25em solid $c-blue-bright;
- p {
- color: $c-blue-bright;
- font-weight: 500;
- letter-spacing: 0.15em;
- }
- }
- }
|