431 lines
7.9 KiB
CSS
431 lines
7.9 KiB
CSS
@import "electrolize/style.css";
|
|
|
|
:root {
|
|
--accent-colour: #4a3650;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
outline-style: none;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
html {
|
|
scrollbar-color: var(--accent-colour) #111;
|
|
}
|
|
|
|
body {
|
|
background-color: #111;
|
|
color: #fff;
|
|
font-size: 12px;
|
|
line-height: 20px;
|
|
font-family: Tahoma, Geneva, 'Dejavu Sans', Arial, Helvetica, sans-serif;
|
|
}
|
|
|
|
img {
|
|
border-width: 0;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-family: Verdana, 'Dejavu Sans', Arial, Helvetica, sans-serif;
|
|
}
|
|
h1 {
|
|
font-size: 20px;
|
|
line-height: 24px;
|
|
}
|
|
|
|
p {
|
|
margin: .5em 0;
|
|
}
|
|
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
.wrapper {
|
|
padding-top: 1px;
|
|
max-width: 1000px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
}
|
|
@media(max-width: 700px) {
|
|
.wrapper { flex-direction: column; }
|
|
}
|
|
|
|
.sidebar {
|
|
width: 300px;
|
|
flex: 0 0 auto;
|
|
margin: 5px 0;
|
|
}
|
|
.sidebar .sidebar-inner {
|
|
padding: 1px;
|
|
background-color: #1a1a1a;
|
|
border-radius: 5px;
|
|
overflow: hidden;
|
|
}
|
|
@media(max-width: 700px) {
|
|
.sidebar { width: 100%; margin: 0; }
|
|
.sidebar .sidebar-inner { border-radius: 0; }
|
|
}
|
|
|
|
.sidebar .copyright {
|
|
font-size: 11px;
|
|
text-align: center;
|
|
padding: 2px 5px;
|
|
color: #555;
|
|
}
|
|
.sidebar .copyright a {
|
|
color: #555;
|
|
text-decoration: none;
|
|
}
|
|
.sidebar .copyright a:hover,
|
|
.sidebar .copyright a:focus,
|
|
.sidebar .copyright a:active {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.sidebar .header {
|
|
line-height: 80px;
|
|
height: 80px;
|
|
width: 300px;
|
|
margin: 0 auto;
|
|
}
|
|
.sidebar .header-avatar {
|
|
box-shadow: 0 1px 5px #111;
|
|
width: 60px;
|
|
height: 60px;
|
|
margin: 10px;
|
|
border-radius: 5px;
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
}
|
|
.sidebar .header-text {
|
|
width: 214px;
|
|
display: inline-block;
|
|
padding: 10px 15px;
|
|
vertical-align: top;
|
|
}
|
|
.sidebar .header-title {
|
|
font-family: 'Electrolize', Verdana, 'Dejavu Sans', Arial, Helvetica, sans-serif;
|
|
font-size: 3em;
|
|
line-height: 1.2em;
|
|
text-shadow: 0 1px 5px #111;
|
|
}
|
|
.sidebar .header-title-hilight {
|
|
color: var(--accent-colour);
|
|
}
|
|
.sidebar .header-slogan {
|
|
text-shadow: 0 1px 5px #111;
|
|
font-size: .9em;
|
|
line-height: 1em;
|
|
}
|
|
|
|
.sidebar .account {
|
|
width: 138px;
|
|
display: inline-block;
|
|
margin: 4px;
|
|
height: 35px;
|
|
line-height: 31px;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
border-radius: 5px;
|
|
transition: background-color .2s;
|
|
}
|
|
.sidebar .account:hover,
|
|
.sidebar .account:focus {
|
|
background-color: #414141;
|
|
}
|
|
.sidebar .account:active {
|
|
background-color: #292929;
|
|
}
|
|
.sidebar .account-icon {
|
|
width: 25px;
|
|
height: 25px;
|
|
display: inline-block;
|
|
margin: 4px 5px;
|
|
vertical-align: middle;
|
|
}
|
|
.sidebar .account-name {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
font-size: 16px;
|
|
font-family: Verdana, 'Dejavu Sans', Arial, Helvetica, sans-serif;
|
|
}
|
|
|
|
.sidebar .link {
|
|
color: #fff;
|
|
text-decoration: none;
|
|
display: block;
|
|
margin: 4px;
|
|
padding: 4px 8px;
|
|
border-radius: 5px;
|
|
transition: background-color .2s;
|
|
}
|
|
.sidebar .link:hover,
|
|
.sidebar .link:focus {
|
|
background-color: #292929;
|
|
}
|
|
.sidebar .link:active {
|
|
background-color: #1c1c1c;
|
|
}
|
|
.sidebar .link-title {
|
|
font-size: 16px;
|
|
line-height: 25px;
|
|
font-family: Verdana, 'Dejavu Sans', Arial, Helvetica, sans-serif;
|
|
}
|
|
.sidebar .link-desc {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.sidebar .music {
|
|
margin: 4px auto;
|
|
width: 300px;
|
|
}
|
|
.sidebar .music a {
|
|
color: #fff;
|
|
text-decoration: none;
|
|
}
|
|
.sidebar .music a:hover,
|
|
.sidebar .music a:focus,
|
|
.sidebar .music a:active {
|
|
text-decoration: underline;
|
|
}
|
|
.sidebar .music-header {
|
|
font-size: 16px;
|
|
line-height: 25px;
|
|
padding: 4px 8px 0;
|
|
}
|
|
.sidebar .music-wrap {
|
|
}
|
|
.sidebar .music-cover {
|
|
box-shadow: 0 1px 5px #111;
|
|
width: 50px;
|
|
height: 50px;
|
|
margin: 7px 0;
|
|
border-radius: 5px;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
}
|
|
.sidebar .music-meta {
|
|
width: 232px;
|
|
display: inline-block;
|
|
padding: 4px 8px;
|
|
line-height: 20px;
|
|
vertical-align: middle;
|
|
}
|
|
.sidebar .music-title {
|
|
font-family: Verdana, 'Dejavu Sans', Arial, Helvetica, sans-serif;
|
|
font-size: 16px;
|
|
display: block;
|
|
}
|
|
.sidebar .music-album {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.blog {
|
|
margin: 10px;
|
|
}
|
|
.blog * {
|
|
user-select: text;
|
|
}
|
|
.blog h1 a {
|
|
color: #fff;
|
|
text-decoration: none;
|
|
}
|
|
.blog p {
|
|
font-size: 14px;
|
|
line-height: 22px;
|
|
}
|
|
.blog p a {
|
|
color: #55c;
|
|
text-decoration: none;
|
|
}
|
|
.blog p a:hover,
|
|
.blog p a:focus {
|
|
text-decoration: underline;
|
|
}
|
|
.blog p a:active {
|
|
color: #c22;
|
|
}
|
|
.blog time {
|
|
font-size: 11px;
|
|
}
|
|
.blog.preview p {
|
|
color: #ccc;
|
|
margin: .2em 0;
|
|
font-size: 12px;
|
|
line-height: 20px;
|
|
}
|
|
.blogs .blog:not(:last-child) {
|
|
margin-bottom: 1.5em;
|
|
}
|
|
.blog .continue {
|
|
display: block;
|
|
text-align: center;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
padding: 5px;
|
|
margin: 3px 0;
|
|
background-color: #161616;
|
|
border-radius: 5px;
|
|
transition: background-color .2s;
|
|
}
|
|
.blog .continue:hover,
|
|
.blog .continue:focus {
|
|
background-color: #1f1f1f;
|
|
}
|
|
.blog .continue:active {
|
|
background-color: #191919;
|
|
}
|
|
|
|
.notfound {
|
|
height: 100%;
|
|
width: 100%;
|
|
text-align: center;
|
|
align-self: center;
|
|
}
|
|
|
|
.projects {
|
|
margin: 10px 0;
|
|
width: 100%;
|
|
}
|
|
.projects h1 {
|
|
text-align: center;
|
|
}
|
|
|
|
.project {
|
|
padding: 1px;
|
|
margin: 10px;
|
|
border-radius: 5px;
|
|
}
|
|
.project .project-name {
|
|
padding: 5px 10px;
|
|
text-shadow: 0 1px 2px #111;
|
|
}
|
|
.project .project-inner {
|
|
background-color: #212121;
|
|
background-color: rgba(0, 0, 0, .7);
|
|
border-radius: 5px;
|
|
padding: 10px;
|
|
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .4);
|
|
}
|
|
.project .project-inner p {
|
|
margin: 0;
|
|
margin-bottom: .5em;
|
|
}
|
|
.project .project-languages,
|
|
.project .project-links {
|
|
margin-top: 8px;
|
|
line-height: 22px;
|
|
}
|
|
.project .project-language {
|
|
border-radius: 15px;
|
|
padding: 1px;
|
|
display: inline-block;
|
|
}
|
|
.project .project-language div {
|
|
background-color: rgba(42, 42, 42, .9);
|
|
border-radius: 15px;
|
|
text-align: center;
|
|
padding: 0 8px;
|
|
}
|
|
.project .project-links a {
|
|
border-radius: 15px;
|
|
padding: 1px;
|
|
display: inline-block;
|
|
background-color: #2a2a2a;
|
|
border-radius: 15px;
|
|
text-align: center;
|
|
padding: 0 8px;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
transition: background-color .2s;
|
|
}
|
|
.project .project-links a:hover,
|
|
.project .project-links a:focus {
|
|
background-color: #393939;
|
|
}
|
|
.project .project-links a:active {
|
|
background-color: #202020;
|
|
}
|
|
.project .project-links img {
|
|
vertical-align: middle;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.banner {
|
|
margin: 5px;
|
|
border-radius: 5px;
|
|
overflow: hidden;
|
|
height: 100px;
|
|
box-shadow: 0 1px 5px #111;
|
|
}
|
|
.banner img {
|
|
display: block;
|
|
max-width: 100%;
|
|
margin-top: -50px;
|
|
z-index: 10;
|
|
}
|
|
.banner h1 {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 100;
|
|
margin: 38px;
|
|
text-shadow: 0 1px 2px #111;
|
|
}
|
|
|
|
.nintendo {
|
|
width: 100%;
|
|
}
|
|
.nintendo-fc {
|
|
padding: 1px;
|
|
margin: 10px;
|
|
border-radius: 5px;
|
|
}
|
|
.nintendo-fc.nintendo-fc-switch {
|
|
box-shadow: 0 1px 2px #e60012;
|
|
background-color: #e60012;
|
|
}
|
|
.nintendo-fc.nintendo-fc-3ds {
|
|
box-shadow: 0 1px 2px #ce171f;
|
|
background-color: #ce171f;
|
|
}
|
|
.nintendo-fc.nintendo-fc-wiiu {
|
|
box-shadow: 0 1px 2px #00acca;
|
|
background-color: #00acca;
|
|
}
|
|
.nintendo-fc.nintendo-fc-wii {
|
|
box-shadow: 0 1px 2px #8c8c8c;
|
|
background-color: #8c8c8c;
|
|
}
|
|
.nintendo-fc-title {
|
|
padding: 5px 10px;
|
|
text-shadow: 0 1px 2px #111;
|
|
}
|
|
.nintendo-fc-code {
|
|
background-color: #212121;
|
|
border-radius: 5px;
|
|
padding: 10px;
|
|
background-color: rgba(0, 0, 0, .7);
|
|
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .4);
|
|
}
|
|
.nintendo-fc-code code {
|
|
font-size: 16px;
|
|
font-family: Consolas, monospace;
|
|
}
|
|
.nintendo-notice {
|
|
padding: 1px 10px;
|
|
background-color: #1a1a1a;
|
|
border-radius: 5px;
|
|
margin: 10px;
|
|
margin-top: 5px;
|
|
}
|