mirror of
https://github.com/aljazceru/njump.git
synced 2026-01-13 19:44:24 +01:00
400 lines
8.4 KiB
CSS
400 lines
8.4 KiB
CSS
|
|
html {
|
|
font-family: Helvetica, sans-serif;
|
|
font-size: 20px;
|
|
font-weight: 300;
|
|
}
|
|
|
|
body {
|
|
color: #373737;
|
|
margin: 0;
|
|
margin-bottom: 4rem;
|
|
}
|
|
|
|
a {
|
|
color: #373737;
|
|
}
|
|
|
|
.background {
|
|
position: fixed;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
background-color: white;
|
|
overflow: hidden;
|
|
z-index: -1;
|
|
}
|
|
.background::after {
|
|
content: "";
|
|
position: absolute;
|
|
background-color: #FAFAFA;
|
|
width: 140%;
|
|
height: 100%;
|
|
transform: rotate(-20deg);
|
|
transform-origin: bottom;
|
|
bottom: -40%;
|
|
}
|
|
@media (max-width: 580px) {
|
|
.background::after {
|
|
width: 200%;
|
|
bottom: -40%;
|
|
}
|
|
}
|
|
|
|
.top {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin: 1rem 0;
|
|
justify-content: left;
|
|
}
|
|
@media (max-width: 580px) {
|
|
.top {
|
|
display: block;
|
|
width: 90%;
|
|
margin: 1.5rem auto 0 auto;
|
|
font-size: 0.8rem;
|
|
}
|
|
}
|
|
|
|
.container_wrapper {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
@media (max-width: 580px) {
|
|
.container_wrapper {
|
|
display: block;
|
|
padding: 0 1rem;
|
|
margin: 0 auto;
|
|
}
|
|
}
|
|
|
|
.nostr_link {
|
|
flex-basis: 15%;
|
|
text-align: right;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.container.profile {
|
|
display: flex;
|
|
width: 70%;
|
|
justify-content: space-between;
|
|
gap: 4.8vw;
|
|
}
|
|
@media (max-width: 580px) {
|
|
.container.profile {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
}
|
|
.container.profile .columnA {
|
|
flex-basis: 25%;
|
|
margin-top: 2rem;
|
|
}
|
|
@media (max-width: 580px) {
|
|
.container.profile .columnA {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-top: 0rem;
|
|
}
|
|
}
|
|
.container.profile .columnA .name {
|
|
display: none;
|
|
}
|
|
@media (max-width: 580px) {
|
|
.container.profile .columnA .name {
|
|
display: block;
|
|
flex-basis: 64%;
|
|
max-width: 64%;
|
|
overflow: hidden;
|
|
font-size: 1.6rem;
|
|
}
|
|
.container.profile .columnA .name .display {
|
|
display: block;
|
|
font-size: 1.2rem;
|
|
color: #C9C9C9;
|
|
}
|
|
}
|
|
.container.profile .columnA .pic-wrapper {
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
}
|
|
@media (max-width: 580px) {
|
|
.container.profile .columnA .pic-wrapper {
|
|
flex-basis: 40%;
|
|
}
|
|
}
|
|
.container.profile .columnA .pic-wrapper img.pic {
|
|
max-width: 100%;
|
|
width: 100%;
|
|
height: auto;
|
|
-webkit-clip-path: url(#svg-shape);
|
|
-moz-clip-path: url(#svg-shape);
|
|
-o-clip-path: url(#svg-shape);
|
|
-ms-clip-path: url(#svg-shape);
|
|
clip-path: url(#svg-shape);
|
|
}
|
|
.container.profile .columnA .last_update {
|
|
font-size: 0.8em;
|
|
margin-top: 0.5rem;
|
|
text-align: center;
|
|
color: #C9C9C9;
|
|
}
|
|
@media (max-width: 580px) {
|
|
.container.profile .columnA .last_update {
|
|
display: none;
|
|
}
|
|
}
|
|
.container.profile .columnB {
|
|
flex-basis: 50%;
|
|
max-width: 50%;
|
|
flex-grow: 0;
|
|
flex-shrink: 0;
|
|
word-wrap: break-word;
|
|
margin-right: 1vw;
|
|
}
|
|
@media (max-width: 580px) {
|
|
.container.profile .columnB {
|
|
flex-basis: 100%;
|
|
max-width: 100%;
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
.container.profile .columnB .name {
|
|
font-size: 1.6rem;
|
|
}
|
|
.container.profile .columnB .name .display {
|
|
color: #C9C9C9;
|
|
}
|
|
@media (max-width: 580px) {
|
|
.container.profile .columnB .name {
|
|
display: none;
|
|
}
|
|
}
|
|
.container.profile .columnB .separator {
|
|
height: 6px;
|
|
width: 30%;
|
|
margin-left: -0.6rem;
|
|
background-color: #F3F3F3;
|
|
}
|
|
.container.profile .columnB .separator.long {
|
|
width: 50%;
|
|
}
|
|
@media (max-width: 580px) {
|
|
.container.profile .columnB .separator {
|
|
margin-left: -1rem;
|
|
}
|
|
}
|
|
.container.profile .columnB .field {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
.container.profile .columnB .field .label {
|
|
font-size: 0.8rem;
|
|
color: #E32A6D;
|
|
}
|
|
.container.profile .columnB .field.advanced {
|
|
display: none;
|
|
}
|
|
.container.profile .columnB .field.advanced.visible {
|
|
display: block;
|
|
}
|
|
.container.profile .columnB .field.advanced .label {
|
|
padding: 0.2rem 1rem;
|
|
margin: 0 -1rem;
|
|
color: #373737;
|
|
background-color: #C9C9C9;
|
|
}
|
|
.container.profile .columnB .field .json, .container.profile .columnB .field .data {
|
|
white-space: pre-wrap;
|
|
word-break: break-all;
|
|
background-color: #F3F3F3;
|
|
padding: 1rem;
|
|
margin: 0 -1rem;
|
|
}
|
|
.container.profile .columnB .field .json .key, .container.profile .columnB .field .data .key {
|
|
display: inline-block;
|
|
margin-top: 0.5rem;
|
|
color: #E32A6D;
|
|
}
|
|
.container.profile .columnB .field .json .string, .container.profile .columnB .field .data .string {
|
|
color: #373737;
|
|
}
|
|
.container.profile .columnB .field .json .number, .container.profile .columnB .field .data .number {
|
|
color: darkorange;
|
|
}
|
|
.container.profile .columnB .field .json .boolean, .container.profile .columnB .field .data .boolean {
|
|
color: #373737;
|
|
}
|
|
.container.profile .columnB .field .json .null, .container.profile .columnB .field .data .null {
|
|
color: #373737;
|
|
}
|
|
.container.profile .columnB .field.advanced-switch-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.container.profile .columnB .field.advanced-switch-wrapper input[type=checkbox] {
|
|
height: 0;
|
|
width: 0;
|
|
visibility: hidden;
|
|
display: none;
|
|
}
|
|
.container.profile .columnB .field.advanced-switch-wrapper label:first-of-type {
|
|
cursor: pointer;
|
|
text-indent: -9999px;
|
|
width: 3rem;
|
|
height: 1.4rem;
|
|
background: grey;
|
|
display: inline-block;
|
|
border-radius: 100px;
|
|
position: relative;
|
|
margin-right: 0.5rem;
|
|
}
|
|
.container.profile .columnB .field.advanced-switch-wrapper label:first-of-type:after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 2px;
|
|
left: 2px;
|
|
width: 1.2rem;
|
|
height: 1.2rem;
|
|
background: #fff;
|
|
border-radius: 1rem;
|
|
transition: 0.5s;
|
|
}
|
|
.container.profile .columnB .field.advanced-switch-wrapper input:checked + label {
|
|
background: #E32A6D;
|
|
}
|
|
.container.profile .columnB .field.advanced-switch-wrapper input:checked + label:first-of-type:after {
|
|
left: calc(100% - 2px);
|
|
transform: translateX(-100%);
|
|
}
|
|
.container.profile .columnB .field.advanced-switch-wrapper label:first-of-type:active:after {
|
|
width: 130px;
|
|
}
|
|
.container.profile .columnC {
|
|
flex-basis: 25%;
|
|
margin-top: 2rem;
|
|
}
|
|
@media (max-width: 580px) {
|
|
.container.profile .columnC {
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
transition: all 500ms ease-in-out;
|
|
}
|
|
.container.profile .columnC.up .btn {
|
|
display: block;
|
|
}
|
|
.container.profile .columnC.up .title span.open {
|
|
display: none;
|
|
}
|
|
}
|
|
.container.profile .columnC .title {
|
|
font-size: 0.8rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
.container.profile .columnC .title span.open, .container.profile .columnC .title span.close {
|
|
display: none;
|
|
}
|
|
@media (max-width: 580px) {
|
|
.container.profile .columnC .title {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
width: 2.6rem;
|
|
height: 2.6rem;
|
|
border-left: 1px solid #bc1150;
|
|
}
|
|
.container.profile .columnC .title span.text {
|
|
display: none;
|
|
}
|
|
.container.profile .columnC .title span.open, .container.profile .columnC .title span.close {
|
|
display: inline;
|
|
}
|
|
.container.profile .columnC .title span.open svg, .container.profile .columnC .title span.close svg {
|
|
width: 50%;
|
|
height: 50%;
|
|
margin: 28% auto auto auto;
|
|
display: block;
|
|
}
|
|
}
|
|
.container.profile .columnC .btn {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 0.8rem;
|
|
}
|
|
@media (max-width: 580px) {
|
|
.container.profile .columnC .btn {
|
|
display: none;
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
.container.profile .columnC .btn a {
|
|
flex-basis: 80%;
|
|
padding: 0.4rem;
|
|
text-align: center;
|
|
font-size: 0.9rem;
|
|
color: #FFFFFF;
|
|
background-color: #5A5A5A;
|
|
border-bottom: 1px solid #373737;
|
|
text-decoration: none;
|
|
border-radius: 8px;
|
|
}
|
|
@media (max-width: 580px) {
|
|
.container.profile .columnC .btn a {
|
|
display: block;
|
|
padding: 0.8rem;
|
|
border-radius: 0px;
|
|
font-weight: 400;
|
|
text-align: left;
|
|
}
|
|
}
|
|
.container.profile .columnC .btn a span {
|
|
display: none;
|
|
}
|
|
@media (max-width: 580px) {
|
|
.container.profile .columnC .btn a span {
|
|
display: inline;
|
|
color: #FFFFFF;
|
|
}
|
|
}
|
|
.container.profile .columnC .btn a:hover {
|
|
background-color: #373737;
|
|
}
|
|
@media (max-width: 580px) {
|
|
.container.profile .columnC .btn:first-of-type {
|
|
display: block;
|
|
}
|
|
}
|
|
.container.profile .columnC .btn:first-of-type a {
|
|
background-color: #E32A6D;
|
|
border-bottom: none;
|
|
}
|
|
@media (max-width: 580px) {
|
|
.container.profile .columnC .btn:first-of-type a {
|
|
border-radius: 8px 8px 0 0;
|
|
}
|
|
}
|
|
.container.profile .columnC .btn:first-of-type a:hover {
|
|
background-color: #bc1150;
|
|
}
|
|
.container.profile .columnC .btn span {
|
|
flex-basis: 20%;
|
|
margin-left: 0.4rem;
|
|
color: #9a9a9a;
|
|
}
|
|
@media (max-width: 580px) {
|
|
.container.profile .columnC .btn span {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.footer {
|
|
font-size: 0.8rem;
|
|
text-align: center;
|
|
}
|
|
|
|
/*# sourceMappingURL=styles.css.map */
|