Layout CSS
/* =====================================================
EMO × Y2K × MCBLING
black / white / silver edition
===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Special+Elite&display=swap');
* {
box-sizing: border-box;
cursor: crosshair;
}
html {
background: #000;
}
body {
margin: 0;
color: #fff;
/* PUT YOUR ANIME IMAGE URL HERE */
background:
linear-gradient(
rgba(0,0,0,0.58),
rgba(0,0,0,0.78)
),
url("YOUR-ANIME-BACKGROUND-URL");
background-size: cover;
background-position: center;
background-attachment: fixed;
font-family: "Special Elite", monospace;
}
/* =========================
MAIN BLOG BOX
========================= */
#container {
width: 900px;
margin: 45px auto;
padding: 18px;
background:
linear-gradient(
135deg,
rgba(255,255,255,0.08),
rgba(0,0,0,0.94)
);
border: 1px solid #fff;
box-shadow:
0 0 5px #fff,
0 0 25px rgba(255,255,255,0.15),
inset 0 0 30px rgba(255,255,255,0.04);
}
/* =========================
HEADER
========================= */
h1 {
font-family: "Press Start 2P", monospace;
font-size: 30px;
text-align: center;
color: #fff;
text-shadow:
3px 3px #555,
6px 6px #000;
letter-spacing: -2px;
}
.subtitle {
text-align: center;
color: #aaa;
font-size: 10px;
letter-spacing: 5px;
text-transform: uppercase;
}
/* =========================
Y2K NAV
========================= */
nav {
margin: 25px 0;
padding: 10px;
text-align: center;
background:
linear-gradient(
#444,
#111 45%,
#000 50%,
#333
);
border: 1px solid #aaa;
box-shadow:
inset 0 1px #fff,
0 0 10px rgba(255,255,255,0.15);
}
nav a {
display: inline-block;
color: #fff;
text-decoration: none;
margin: 0 12px;
padding: 5px 10px;
font-family: "Press Start 2P", monospace;
font-size: 8px;
border: 1px solid transparent;
}
nav a:hover {
color: #000;
background: #fff;
border: 1px solid #000;
box-shadow:
2px 2px #777,
4px 4px #000;
}
/* =========================
BLOG POSTS
========================= */
.post {
position: relative;
margin-bottom: 25px;
padding: 20px;
background:
linear-gradient(
135deg,
rgba(255,255,255,0.08),
rgba(0,0,0,0.95)
);
border: 1px solid #777;
box-shadow:
4px 4px #000,
6px 6px rgba(255,255,255,0.15);
}
.post h2 {
color: #fff;
font-family: "Press Start 2P", monospace;
font-size: 15px;
border-bottom: 1px dotted #aaa;
padding-bottom: 10px;
}
.post p {
color: #ddd;
line-height: 1.7;
}
.post-date {
color: #777;
font-family: "Press Start 2P", monospace;
font-size: 7px;
letter-spacing: 2px;
}
/* =========================
MCBLING DECORATIONS
========================= */
.post::before {
content: "☆";
position: absolute;
right: 12px;
top: 8px;
color: #fff;
font-size: 25px;
text-shadow:
0 0 5px #fff,
0 0 12px #aaa;
}
.post::after {
content: "♡";
position: absolute;
left: 8px;
bottom: 5px;
color: #777;
font-size: 18px;
}
/* =========================
SIDEBAR
========================= */
.sidebar {
padding: 15px;
background: rgba(0,0,0,0.92);
border: 1px solid #777;
box-shadow:
inset 0 0 15px rgba(255,255,255,0.05);
}
.sidebar h3 {
font-family: "Press Start 2P", monospace;
font-size: 11px;
color: #fff;
letter-spacing: 2px;
border-bottom: 1px dotted #888;
padding-bottom: 8px;
}
.sidebar ul {
list-style: "♡ ";
padding-left: 20px;
}
.sidebar li {
margin: 9px 0;
}
/* =========================
LINKS
========================= */
a {
color: #fff;
}
a:hover {
color: #000;
background: #fff;
text-shadow: none;
}
/* =========================
IMAGES
========================= */
img {
max-width: 100%;
border: 2px solid #fff;
filter:
grayscale(100%)
contrast(115%);
box-shadow:
4px 4px #555,
6px 6px #000;
}
img:hover {
filter: grayscale(0%);
}
/* =========================
Y2K QUOTE BOX
========================= */
blockquote {
margin: 20px 0;
padding: 15px;
background:
linear-gradient(
135deg,
#222,
#050505
);
border: 1px solid #aaa;
color: #ccc;
box-shadow:
inset 0 0 10px rgba(255,255,255,0.1),
3px 3px #000;
}
/* =========================
FOOTER
========================= */
footer {
margin-top: 30px;
padding: 15px;
text-align: center;
border-top: 1px dotted #777;
color: #777;
font-family: "Press Start 2P", monospace;
font-size: 7px;
}
/* =========================
SCROLLBAR
========================= */
::-webkit-scrollbar {
width: 9px;
}
::-webkit-scrollbar-track {
background: #000;
}
::-webkit-scrollbar-thumb {
background:
linear-gradient(
#fff,
#444,
#fff
);
border: 1px solid #000;
}
/* =========================
TEXT SELECTION
========================= */
::selection {
background: #fff;
color: #000;
}
Comments (0)
No comments yet. Be the first!
Log in to leave a comment.