521 lines
13 KiB
CSS
521 lines
13 KiB
CSS
@import url("/css/fontawesome-min.css");
|
|
|
|
@font-face {
|
|
font-family : 'Source Sans Pro';
|
|
font-style : normal;
|
|
font-weight : 400;
|
|
src : url('/fonts/source-sans-pro-v9-latin-regular.eot');
|
|
src : local('Source Sans Pro'), local('SourceSansPro-Regular'),
|
|
url('/fonts/source-sans-pro-v9-latin-regular.eot?#iefix') format('embedded-opentype'),
|
|
url('/fonts/source-sans-pro-v9-latin-regular.woff2') format('woff2'),
|
|
url('/fonts/source-sans-pro-v9-latin-regular.woff') format('woff'),
|
|
url('/fonts/source-sans-pro-v9-latin-regular.ttf') format('truetype');
|
|
}
|
|
|
|
@font-face {
|
|
font-family : 'Source Sans Pro';
|
|
font-style : italic;
|
|
font-weight : 400;
|
|
src : url('/fonts/source-sans-pro-v9-latin-italic.eot');
|
|
src : local('Source Sans Pro Italic'), local('SourceSansPro-It'),
|
|
url('/fonts/source-sans-pro-v9-latin-italic.eot?#iefix') format('embedded-opentype'),
|
|
url('/fonts/source-sans-pro-v9-latin-italic.woff2') format('woff2'),
|
|
url('/fonts/source-sans-pro-v9-latin-italic.woff') format('woff'),
|
|
url('/fonts/source-sans-pro-v9-latin-italic.ttf') format('truetype');
|
|
}
|
|
|
|
@font-face {
|
|
font-family : 'Source Sans Pro';
|
|
font-style : normal;
|
|
font-weight : 700;
|
|
src : url('/fonts/source-sans-pro-v9-latin-700.eot');
|
|
src : local('Source Sans Pro Bold'), local('SourceSansPro-Bold'),
|
|
url('/fonts/source-sans-pro-v9-latin-700.eot?#iefix') format('embedded-opentype'),
|
|
url('/fonts/source-sans-pro-v9-latin-700.woff2') format('woff2'),
|
|
url('/fonts/source-sans-pro-v9-latin-700.woff') format('woff'),
|
|
url('/fonts/source-sans-pro-v9-latin-700.ttf') format('truetype');
|
|
}
|
|
|
|
:root {
|
|
color-scheme : light;
|
|
|
|
/* Light theme (default) */
|
|
--bg : #FFFFFF;
|
|
--text : #333333;
|
|
--text-strong : #000000;
|
|
--muted : #999999;
|
|
--border : #DDDDDD;
|
|
--accent : #186196;
|
|
--accent-border : #186196;
|
|
--header-bg : #BEE0FF;
|
|
--header-link : #186196;
|
|
--header-hover : #000055;
|
|
--code : #186196;
|
|
--pre-bg : #3C3C3C;
|
|
--pre-border : #3D3D3D;
|
|
--pre-text : #ECECEC;
|
|
--th-bg : #BEE0FF;
|
|
--th-text : #186196;
|
|
--row-bg : #FFFFFF;
|
|
--row-alt-bg : #F2F2F2;
|
|
--row-hover-bg : #E0E0E0;
|
|
--link : #0000EE;
|
|
--link-visited : #551A8B;
|
|
--copyright : #404040;
|
|
--brand-line : linear-gradient(90deg, #7B2A9E 0%, #4A5FC0 50%, #17B6EE 100%);
|
|
--toggle-track : rgba(255, 255, 255, 0.55);
|
|
--toggle-border : rgba(24, 97, 150, 0.35);
|
|
--toggle-icon : #186196;
|
|
--toggle-glow : rgba(23, 182, 238, 0.25);
|
|
}
|
|
|
|
/* Dark theme - palette derived from the logo gradient (purple -> blue -> cyan) */
|
|
:root[data-theme="dark"] {
|
|
color-scheme : dark;
|
|
|
|
--bg : #0B1220;
|
|
--text : #D6DEE8;
|
|
--text-strong : #EEF3F8;
|
|
--muted : #8B98A9;
|
|
--border : #24324A;
|
|
--accent : #5CC8F5;
|
|
--accent-border : #17B6EE;
|
|
--header-bg : #111C2E;
|
|
--header-link : #8FD3F7;
|
|
--header-hover : #FFFFFF;
|
|
--code : #5CC8F5;
|
|
--pre-bg : #060B14;
|
|
--pre-border : #1E2A3D;
|
|
--pre-text : #E2E8F0;
|
|
--th-bg : #16243A;
|
|
--th-text : #8FD3F7;
|
|
--row-bg : #0F1828;
|
|
--row-alt-bg : #131F33;
|
|
--row-hover-bg : #1B2A44;
|
|
--link : #5CC8F5;
|
|
--link-visited : #B48AE0;
|
|
--copyright : #8B98A9;
|
|
--brand-line : linear-gradient(90deg, #7B2A9E 0%, #4A5FC0 50%, #17B6EE 100%);
|
|
--toggle-track : #0B1220;
|
|
--toggle-border : #2A3A55;
|
|
--toggle-icon : #8FD3F7;
|
|
--toggle-glow : rgba(23, 182, 238, 0.25);
|
|
}
|
|
|
|
html {
|
|
color : var(--text);
|
|
background-color : var(--bg);
|
|
margin : 0;
|
|
padding : 0;
|
|
}
|
|
|
|
body {
|
|
font-family : "Source Sans Pro", "Trebuchet MS", "Verdana", sans-serif;
|
|
margin : 0;
|
|
padding : 0;
|
|
}
|
|
|
|
a {
|
|
color : var(--link);
|
|
}
|
|
|
|
a:visited {
|
|
color : var(--link-visited);
|
|
}
|
|
|
|
code {
|
|
color : var(--code);
|
|
font-weight : bold;
|
|
}
|
|
|
|
h1 {
|
|
font-size : 28px;
|
|
margin-top : 8px;
|
|
padding : 1px;
|
|
vertical-align : middle;
|
|
}
|
|
|
|
h2 {
|
|
border-bottom : 1px solid var(--border);
|
|
font-size : 30px;
|
|
margin-left : -1em;
|
|
margin-right : -1em;
|
|
text-decoration : bold;
|
|
}
|
|
|
|
h3 {
|
|
font-size : 18px;
|
|
margin-left : -1em;
|
|
margin-right : -1em;
|
|
text-decoration : bold;
|
|
}
|
|
|
|
img {
|
|
border : 0px;
|
|
vertical-align : middle;
|
|
}
|
|
|
|
pre {
|
|
background-color : var(--pre-bg);
|
|
border : 1px solid var(--pre-border);
|
|
border-radius : 4px;
|
|
color : var(--pre-text);
|
|
display : block;
|
|
font-size : 13px;
|
|
line-height : 1.42857143;
|
|
margin : 0 0 10px;
|
|
overflow : auto;
|
|
padding : 9.5px;
|
|
word-break : break-all;
|
|
word-wrap : break-word;
|
|
}
|
|
|
|
pre code {
|
|
color : var(--pre-text);
|
|
font-weight : normal;
|
|
}
|
|
|
|
table {
|
|
border-collapse : collapse;
|
|
font-family : "trebuchet ms", verdana, sans-serif;
|
|
font-size : 14px;
|
|
margin : 1em auto;
|
|
width : 90%;
|
|
}
|
|
|
|
td, th {
|
|
border-bottom : 1px solid var(--border);
|
|
padding : 6px 15px;
|
|
text-align : left;
|
|
}
|
|
|
|
td.nick-cell .avatar {
|
|
border-radius : 50%;
|
|
display : inline-block;
|
|
flex-shrink : 0;
|
|
height : 25px;
|
|
margin : 0;
|
|
margin-right : 10px;
|
|
object-fit : cover;
|
|
width : 25px;
|
|
}
|
|
|
|
thead th {
|
|
background-color : var(--th-bg);
|
|
border-bottom : 2px solid var(--accent-border);
|
|
color : var(--th-text);
|
|
font-size : 1.1em;
|
|
}
|
|
|
|
tbody tr {
|
|
background-color : var(--row-bg);
|
|
}
|
|
|
|
tbody tr:nth-of-type(even) {
|
|
background-color : var(--row-alt-bg);
|
|
}
|
|
|
|
tbody tr:hover {
|
|
background-color : var(--row-hover-bg);
|
|
}
|
|
|
|
.content {
|
|
box-sizing : border-box;
|
|
font-size : 15px;
|
|
margin : 1.5em auto 0 auto;
|
|
max-width : 1060px;
|
|
padding : 0 20px;
|
|
}
|
|
|
|
.content img {
|
|
border : 0px;
|
|
display : block;
|
|
margin : auto;
|
|
vertical-align : middle;
|
|
text-align : center;
|
|
}
|
|
|
|
.content li {
|
|
list-style-type : square;
|
|
}
|
|
|
|
.copyright {
|
|
color : var(--copyright);
|
|
font-family : "Source Sans Pro", "Trebuchet MS", "Verdana", sans-serif;
|
|
font-size : 10px;
|
|
text-align : center;
|
|
text-decoration : none;
|
|
}
|
|
|
|
.copyright a {
|
|
color : var(--copyright);
|
|
text-decoration : none;
|
|
}
|
|
|
|
.copyright a:hover {
|
|
color : var(--copyright);
|
|
text-decoration : none;
|
|
}
|
|
|
|
.footer {
|
|
background : var(--bg);
|
|
color : var(--text-strong);
|
|
clear : both;
|
|
font-family : sans-serif, verdana, Helvetica;
|
|
font-size : 12px;
|
|
margin-left : 10px;
|
|
margin-top : 0.4em;
|
|
padding : 0;
|
|
width : 100%
|
|
}
|
|
|
|
.footer-left {
|
|
position : absolute;
|
|
text-align : left;
|
|
width : 50%;
|
|
}
|
|
|
|
.footer-right {
|
|
left : 50%;
|
|
position : absolute;
|
|
text-align : right;
|
|
width : 50%;
|
|
}
|
|
|
|
.header {
|
|
background : var(--header-bg);
|
|
border-bottom : 2px solid var(--accent-border);
|
|
color : var(--header-link);
|
|
clear : both;
|
|
font-size : 14px;
|
|
padding-left : 1em;
|
|
position : relative;
|
|
padding-top : 1px;
|
|
text-align : center;
|
|
vertical-align : middle;
|
|
}
|
|
|
|
.header a {
|
|
color : var(--header-link);
|
|
padding-left : 5px;
|
|
padding-right : 5px;
|
|
padding-top : 1px;
|
|
text-decoration : none;
|
|
}
|
|
|
|
.header a:hover {
|
|
color : var(--header-hover);
|
|
padding-left : 5px;
|
|
padding-right : 5px;
|
|
padding-top : 1px;
|
|
}
|
|
|
|
.header img {
|
|
margin : 0px;
|
|
padding : 0px;
|
|
}
|
|
|
|
.header li {
|
|
display : inline;
|
|
margin-left : 2em;
|
|
}
|
|
|
|
.header ul {
|
|
margin : 0px;
|
|
padding : 0px;
|
|
text-align : center;
|
|
}
|
|
|
|
.news_author {
|
|
color : var(--muted);
|
|
float : left;
|
|
}
|
|
|
|
.news_date {
|
|
color : var(--muted);
|
|
float : right;
|
|
}
|
|
|
|
.news_info {
|
|
margin-top : -1em;
|
|
margin-bottom : 3em;
|
|
}
|
|
|
|
.news_intro {
|
|
margin-bottom : 50px;
|
|
margin-left : -1em;
|
|
text-align : justify;
|
|
}
|
|
|
|
.nick-cell {
|
|
align-items : center;
|
|
display : flex;
|
|
}
|
|
|
|
.pagination {
|
|
margin : 0px;
|
|
padding : 0 0 0 0;
|
|
text-align : center;
|
|
}
|
|
|
|
.pagination a {
|
|
text-decoration : none;
|
|
}
|
|
|
|
.pagination li {
|
|
display : inline;
|
|
margin-left : 100px;
|
|
}
|
|
|
|
.pagination ul {
|
|
margin : 0px;
|
|
padding : 0px;
|
|
text-align : center;
|
|
}
|
|
|
|
.wrapper_content {
|
|
margin-bottom : 2.5em;
|
|
padding : 6em 0 0 0;
|
|
}
|
|
|
|
.wrapper_header {
|
|
background : var(--bg);
|
|
color : var(--text-strong);
|
|
height : 6em;
|
|
left : 0;
|
|
position : absolute;
|
|
position : fixed;
|
|
top : 0;
|
|
width : 100%;
|
|
}
|
|
|
|
.wrapper_footer {
|
|
background : var(--bg);
|
|
border-top : 2px solid var(--accent-border);
|
|
bottom : 0;
|
|
color : var(--text-strong);
|
|
height : 1.5em;
|
|
left : 0;
|
|
position : absolute;
|
|
position : fixed;
|
|
width : 100%
|
|
}
|
|
|
|
/* Brand line (logo gradient) separating header and footer from the content */
|
|
.header,
|
|
.wrapper_footer {
|
|
border-image : var(--brand-line) 1;
|
|
}
|
|
|
|
/* Theme switch (right side of the header, vertically centered) */
|
|
.theme-toggle {
|
|
background : var(--toggle-track);
|
|
border : 1px solid var(--toggle-border);
|
|
border-radius : 999px;
|
|
box-sizing : border-box;
|
|
cursor : pointer;
|
|
height : 32px;
|
|
padding : 0;
|
|
position : absolute;
|
|
right : 1.25em;
|
|
top : 50%;
|
|
transform : translateY(-50%);
|
|
transition : background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
|
|
width : 62px;
|
|
}
|
|
|
|
.theme-toggle:hover {
|
|
box-shadow : 0 0 0 3px var(--toggle-glow);
|
|
}
|
|
|
|
.theme-toggle:focus-visible {
|
|
outline : 2px solid var(--accent);
|
|
outline-offset : 3px;
|
|
}
|
|
|
|
.theme-toggle svg {
|
|
display : block;
|
|
fill : none;
|
|
stroke : currentColor;
|
|
stroke-linecap : round;
|
|
stroke-linejoin : round;
|
|
stroke-width : 2;
|
|
}
|
|
|
|
.theme-toggle-track-icon {
|
|
color : var(--toggle-icon);
|
|
height : 14px;
|
|
position : absolute;
|
|
top : 50%;
|
|
transform : translateY(-50%);
|
|
width : 14px;
|
|
}
|
|
|
|
.theme-toggle-track-icon.sun {
|
|
left : 8px;
|
|
}
|
|
|
|
.theme-toggle-track-icon.moon {
|
|
right : 8px;
|
|
}
|
|
|
|
.theme-toggle-thumb {
|
|
background : var(--brand-line);
|
|
border-radius : 50%;
|
|
box-shadow : 0 1px 4px rgba(0, 0, 0, 0.35);
|
|
color : #FFFFFF;
|
|
height : 24px;
|
|
left : 3px;
|
|
position : absolute;
|
|
top : 3px;
|
|
transition : transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
width : 24px;
|
|
}
|
|
|
|
.theme-toggle-thumb svg {
|
|
height : 14px;
|
|
left : 5px;
|
|
position : absolute;
|
|
top : 5px;
|
|
transition : opacity 0.3s, transform 0.3s;
|
|
width : 14px;
|
|
}
|
|
|
|
.theme-toggle-thumb .moon {
|
|
opacity : 0;
|
|
transform : rotate(-90deg) scale(0.5);
|
|
}
|
|
|
|
:root[data-theme="dark"] .theme-toggle-thumb {
|
|
transform : translateX(30px);
|
|
}
|
|
|
|
:root[data-theme="dark"] .theme-toggle-thumb .sun {
|
|
opacity : 0;
|
|
transform : rotate(90deg) scale(0.5);
|
|
}
|
|
|
|
:root[data-theme="dark"] .theme-toggle-thumb .moon {
|
|
opacity : 1;
|
|
transform : none;
|
|
}
|
|
|
|
/* Dark theme refinements */
|
|
:root[data-theme="dark"] .header h1 a {
|
|
color : var(--text-strong);
|
|
}
|
|
|
|
:root[data-theme="dark"] .header h1 a:hover {
|
|
color : var(--header-link);
|
|
}
|
|
|
|
:root[data-theme="dark"] .content img {
|
|
border-radius : 4px;
|
|
filter : brightness(0.92);
|
|
}
|
|
|
|
:root[data-theme="dark"] ::selection {
|
|
background : #4A5FC0;
|
|
color : #FFFFFF;
|
|
}
|