225 lines
5.6 KiB
CSS
225 lines
5.6 KiB
CSS
@charset "utf-8";
|
||
|
||
.tags{
|
||
color: silver;
|
||
font-size:1.5vh;
|
||
line-height:1.9vh;
|
||
padding-top: 7vh;
|
||
}
|
||
|
||
/*****************************************************************
|
||
* Настройки для анимирования цвета ссылок:
|
||
* рецепт взят из: https://habr.com/ru/company/ruvds/blog/491702/
|
||
*****************************************************************/
|
||
.tags a {
|
||
text-decoration: none;
|
||
position: relative;
|
||
padding: 0 0.5ex;
|
||
display: inline-block;
|
||
color: white;
|
||
border-bottom: dotted 1px silver;
|
||
/* градиент для цвета ссылки */
|
||
background: linear-gradient(to right, rgba(255,255,255,0.9) 40%, slategray, silver, lightyellow 50%, rgba(255,255,255,0.4));
|
||
/* обрезка градиента */
|
||
background-clip: initial;
|
||
-webkit-background-clip: text;
|
||
-webkit-text-fill-color: transparent;
|
||
background-size: 250% 100%;
|
||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
|
||
background-position: 100%;
|
||
/* плавное позиионирование градиента */
|
||
transition: background-position 0.65s ease;
|
||
margin-right: 2vh;
|
||
}
|
||
|
||
.tags a:hover {
|
||
color: white;
|
||
background-position: 0 100%;
|
||
border-bottom: solid 1px white;
|
||
}
|
||
|
||
div[name="cookies_accept"] {
|
||
font-family:'Roboto', 'Lucida Grande', Verdana, Arial, sans-serif;
|
||
position:fixed;
|
||
bottom: 0; left: 0;
|
||
width: 100%;
|
||
padding: 2vh 2vw;
|
||
color: black;
|
||
background-color: gray;
|
||
text-align: center;
|
||
}
|
||
|
||
div[name="cookies_accept"] button {
|
||
padding:0.5vh 0.5vw;
|
||
background: silver;
|
||
color: black;
|
||
margin-left: 2vw;
|
||
cursor: pointer;
|
||
}
|
||
|
||
#logo {
|
||
margin-top:1vh;
|
||
filter: alpha(Opacity=75); /* Полупрозрачность для IE */
|
||
opacity: 0.75;
|
||
float: left;
|
||
}
|
||
|
||
#logo a {
|
||
border: none;
|
||
text-decoration: none;
|
||
}
|
||
|
||
table { width: 80%; }
|
||
|
||
#menu {
|
||
display: none;
|
||
color: silver;
|
||
}
|
||
|
||
#mm {
|
||
text-decoration: none;
|
||
color: silver;
|
||
}
|
||
|
||
#image {
|
||
width: 30vw;
|
||
text-align: center;
|
||
vertical-align: center;
|
||
}
|
||
|
||
#image > center > div {
|
||
width: 22vw;
|
||
height: 22vw;
|
||
padding:0.5vw;
|
||
border-radius: 50%;
|
||
}
|
||
|
||
#image > center > div > div {
|
||
border-radius:50%;
|
||
overflow: hidden;
|
||
display: flex;
|
||
justify-content: center;
|
||
align-items: center;
|
||
}
|
||
|
||
#image > center > div > div > img {
|
||
width: auto;
|
||
height: 22vw;
|
||
}
|
||
|
||
#author {
|
||
color: silver;
|
||
font-size: 3.5vh;
|
||
line-height: 4vh;
|
||
text-align: right;
|
||
padding-top: 4vh;
|
||
font-style: italic;
|
||
}
|
||
|
||
#info {
|
||
color: silver;
|
||
font-size: 2.5vh;
|
||
line-height: 3vh;
|
||
padding-bottom: 2vh;
|
||
}
|
||
|
||
#bb {
|
||
color: whitesmoke;
|
||
font-size: 4.5vh;
|
||
line-height: 5vh
|
||
}
|
||
|
||
#next { float: right; }
|
||
|
||
#next a { border-bottom: none; }
|
||
|
||
/* --- NEW STYLES for FLEXBOX LAYOUT --- */
|
||
.container {
|
||
width: 90%;
|
||
max-width: 1200px;
|
||
margin: 0 auto;
|
||
}
|
||
|
||
/* Header */
|
||
header {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
padding: 1vh 0;
|
||
}
|
||
|
||
/* Main Content Area */
|
||
.main-content {
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: center;
|
||
min-height: 80vh;
|
||
}
|
||
|
||
.content-row {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 2vw;
|
||
}
|
||
|
||
.text-col {
|
||
flex: 1;
|
||
}
|
||
|
||
.image-col {
|
||
flex: 0 0 30vw;
|
||
display: flex;
|
||
justify-content: center;
|
||
}
|
||
|
||
/* --- Icons for Header Stats (SVG in Base64) --- */
|
||
.stats-icon {
|
||
display: inline-block;
|
||
width: 0.9em;
|
||
height: 0.9em;
|
||
vertical-align: middle;
|
||
background-size: contain;
|
||
background-repeat: no-repeat;
|
||
margin-right: 0.2em;
|
||
opacity: 0.7; /* Slight transparency for subtle look */
|
||
}
|
||
|
||
/* Clock Icon (Time) */
|
||
.icon-time {
|
||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='silver' fill='none' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
|
||
}
|
||
|
||
/* Eye Icon (Views) */
|
||
.icon-views {
|
||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='silver' fill='none' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'%3E%3C/path%3E%3Ccircle cx='12' cy='12' r='3'%3E%3C/circle%3E%3C/svg%3E");
|
||
}
|
||
|
||
/* Responsive: on mobile stack columns */
|
||
@media (max-width: 768px) {
|
||
.content-row {
|
||
flex-direction: column-reverse;
|
||
}
|
||
.image-col {
|
||
flex: 0 0 auto;
|
||
margin-bottom: 2vh;
|
||
}
|
||
}
|
||
|
||
/* --- ВЫРАВНИВАНИЕ СИМВОЛОВ ВИСЯЧЕЙ ПУНКТУАЦИИ (Hanging Punctuation) ТИПОГРАФА ETPGRF --- */
|
||
/* --- ЛЕВЫЕ ВИСЯЧИЕ СИМВОЛЫ (выравнивание по левому краю) --- */
|
||
.etp-laquo { margin-left: -0.44em; } /* « */
|
||
.etp-ldquo, .etp-bdquo { margin-left: -0.4em; } /* “ „ */
|
||
.etp-lsquo { margin-left: -0.22em; } /* ‘ */
|
||
.etp-lpar, .etp-lsqb, .etp-lcub { margin-left: -0.25em; } /* ( [ { */
|
||
|
||
/* --- ПРАВЫЕ ВИСЯЧИЕ СИМВОЛЫ (выравнивание по правому краю) --- */
|
||
/* Общая механика: "вырываем" символ из потока для идеального выравнивания текста */
|
||
[class^="etp-r"], [class*=" etp-r"] { position: absolute; }
|
||
/* Точечная настройка смещения для каждого символа */
|
||
.etp-raquo { right: -0.44em; } /* » */
|
||
.etp-rdquo { right: -0.4em; } /* ” */
|
||
.etp-rsquo { right: -0.22em; } /* ’ */
|
||
.etp-rpar, .etp-rsqb, .etp-rcub { right: -0.25em; } /* ) ] } */
|
||
.etp-r-dot, .etp-r-comma, .etp-r-colon { right: -0.15em; } /* . , : */
|