sireoja's profile picture

Published by

published
updated

Category: Web, HTML, Tech

My layout (old)

I made this layout and I thought I'd share it but the function is currently unavailable (after a bit of digging it looks like people were posting gore) so I'm posting it here. Feel free to use it, modify it etc. For anyone new here: to use it simply copy the code (see below) and paste it in the "about me" section.

<style>
body {
    background-image: url(https://preview.redd.it/is-there-any-way-to-find-the-backgrounds-of-loading-screen-v0-n7qhiq8dm45a1.jpg?auto=webp&s=6d04795e1400c69a7410ef3071a8924a1c848f1d);
    font-family: verdana, arial, sans-serif, helvetica;
    background-size: 100% 100%;
    background-attachment: fixed;
}

main {
    background: transparent;
    color: grey;
    padding: 6px 0px;
    font-size: 80%;
}

nav {
    color: grey;
    font-size: max(72%, 12px);
}

nav .top {
    background: black;
    padding: 15px 10px 14px 10px;
    display: flex;
    position: relative;
}

nav .links {
    background-color: black;
    padding: 3.5px 16px;
}

nav .top a,
nav .links a,
.logout-btn,
.logout-form,
a,
.text-link {
    color: #bd0202;
    text-decoration: none;
}

nav .top a:hover,
nav .links a:hover,
.logout-btn:hover,
.logout-btn:active,
a:hover,
a:active,
.blog-entry .kudos-btn:hover,
.blog-entry .kudos-btn:active {
    color: white;
    text-decoration: none;
}

nav .links a {
    text-shadow: none;
    font-size: max(0.98em, 12px);
}

.logout-btn,
.logout-form {
    display: inline-block;
    font-size: 100%;
}

footer {
    text-align: center;
    font-size: 70%;
    margin: 10px 0 10px;
    padding: 10px 5px;
    background-color: black;
}

footer p {
    font-size: 90%;
    color: grey;
}

.profile .contact,
.profile .url-info,
.profile .table-section,
.setting-section,
.home-actions {
    width: 100%;
    border: 2px solid black;
    margin: 10px 0;
    background-color: black;
}

.profile .contact .heading,
.profile .table-section .heading,
.setting-section .heading,
.home-actions .heading,
.profile .blurbs .heading,
.profile .friends .heading {
    background: black;
    color: grey;
    padding: 2px 7px;
}

.details-table td:first-child,
.comments-table td:first-child,
.music-table td:first-child {
    background: black;
    color: grey;
    font-weight: bold;
    width: 33%;
}

.comments-table td:first-child,
.music-table td:first-child {
    text-align: center;
    width: 38%;
}

.details-table td,
.comments-table td,
.music-table td {
    background: black;
    vertical-align: top;
}

.profile .blurbs .section h4 {
    margin: 0;
    color: grey;
}

.profile h1 {
    font-size: 1.5em;
    margin: 0 0 10px 0;
    background-color: black;
}

.profile .blurbs .inner,
.profile .friends .inner,
.blog-entry .comments .inner,
.bulletin .comments .inner,
.setting-section .inner {
    padding: 7px;
    background-color: black;
}

.profile .mood p {
    margin: 0 0 8px 0;
    background-color: black;
}

.profile-info {
    border: 2px solid rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 5px;
    margin-bottom: 10px;
    background-color: black;
}

.blog-preview {
    background-color: black;
}

p,
ol li,
ul:not(nav .links):not(footer .links) li {
    font-size: max(0.875em, 12px);
    background-color: black;
}

.icon,
.award img {
    display: none;
    height: 1.4em;
    width: 1.4em;
    aspect-ratio: 1/1;
    margin: 0 .05em 0 .1em;
    vertical-align: -0.3em;
    color: rgba(0, 0, 0, 0);
}

.profile .friends .person p {
    color: #bd0202;
    font-weight: bold;
    width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    font-size: 100%;
    text-align: center;
}

.count {
    color: yellowgreen;
}

.online {
    color: yellowgreen;
    font-weight: bold;
    font-size: 95%;
}

.online img {
    height: 1.5em;
    margin-right: 5px;
    animation-name: blink;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(1.0, 0, 0, 1.0);
    animation-duration: 0.08s;
}
.details-table td:first-child{
color: grey;
}

.table, th, td {

border: 0px solid;
}

:root {
--topic1: "Hobbies";
--topic2: "Music";
--topic3: "Content";
--topic4: "Games";
--topic5: "Food/Drinks";
--topic6: "The sh!tbox (mentioned above) in all of it's glory";

}

.table-section:not(:last-child) .details-table tr td:first-child p{color:transparent !important;text-shadow: none !important;letter-spacing: -100px;}

.details-table tr td:first-child p::after{
color:white !important;
letter-spacing:normal !important;
text-shadow: 2px 2px black !important;
filter: brightness(95%) !important;
}

.details-table tr:nth-child(1) td:first-child p:first-child {
display: none;
}

.details-table tr:nth-child(1) td:first-child::after {
content: var(--topic1);
}

.details-table tr:nth-child(2) td:first-child p:first-child {
display: none;
}

.details-table tr:nth-child(2) td:first-child::after {
content: var(--topic2);
}

.details-table tr:nth-child(3) td:first-child p:first-child {
display: none;
}

.details-table tr:nth-child(3) td:first-child::after {
content: var(--topic3);
}

.details-table tr:nth-child(4) td:first-child p:first-child {
display: none;
}

.details-table tr:nth-child(4) td:first-child::after {
content: var(--topic4);
}

.details-table tr:nth-child(5) td:first-child p:first-child {
display: none;
}

.details-table tr:nth-child(5) td:first-child::after {
content: var(--topic5);
}

.details-table tr:nth-child(6) td:first-child p:first-child {
display: none;
}

.details-table tr:nth-child(6) td:first-child::after {
content: var(--topic6);


2 Kudos

Comments

Displaying 0 of 0 comments ( View all | Add Comment )