- changed tabs width from 4 to 2 in CSS.

- cleaned type-range styles in CSS.
- updated sitemaps.
- updated version.
This commit is contained in:
Eugene Serb 2022-08-28 13:32:48 +03:00
parent a0544622ff
commit a62b50785b
4 changed files with 310 additions and 310 deletions

View File

@ -2,7 +2,7 @@
"name": "wavelovers", "name": "wavelovers",
"description": "Wavelovers. Use your device vibration correctly. Make a massager out of a gamepad.", "description": "Wavelovers. Use your device vibration correctly. Make a massager out of a gamepad.",
"keywords": [ "wavelovers", "gamepad-vibrator", "gamepad-test-tool", "gamepad-vibration-test-tool" ], "keywords": [ "wavelovers", "gamepad-vibrator", "gamepad-test-tool", "gamepad-vibration-test-tool" ],
"version": "1.0.4", "version": "1.0.5",
"license": "GNU GPL v3", "license": "GNU GPL v3",
"homepage": "https://wavelovers.ru/", "homepage": "https://wavelovers.ru/",
"author": { "author": {

View File

@ -1,6 +1,6 @@
/* ------------------------------ */ /* ------------------------------ */
/* Wavelovers styles */ /* Wavelovers styles */
/* version: dated 2022.08.12 */ /* version: dated 2022.08.28 */
/* author: Eugene Serb */ /* author: Eugene Serb */
/* ------------------------------ */ /* ------------------------------ */
@ -12,124 +12,124 @@
/* ------------------------------ */ /* ------------------------------ */
:root { :root {
/* Simple colors */ /* Simple colors */
--color-white: #FFFFFF; --color-white: #FFFFFF;
--color-black: #000000; --color-black: #000000;
--color-milk: #F5F5F5; --color-milk: #F5F5F5;
--color-coal: #3C3C3C; --color-coal: #3C3C3C;
/* ---------------------- */ /* ---------------------- */
/* Palette of five colors */ /* Palette of five colors */
--color-a: #E27396; --color-a: #E27396;
--color-b: #EA9AB2; --color-b: #EA9AB2;
--color-c: #EFCFE3; --color-c: #EFCFE3;
--color-d: #EAF2D7; --color-d: #EAF2D7;
--color-e: #B3DEE2; --color-e: #B3DEE2;
} }
:root { :root {
/* Base numbers */ /* Base numbers */
--number-border-radius: 8px; --number-border-radius: 8px;
--number-border-size: 2px; --number-border-size: 2px;
} }
@media (prefers-color-scheme: light) { @media (prefers-color-scheme: light) {
:root { :root {
/* Base colors */ /* Base colors */
--color-border: var(--color-a); --color-border: var(--color-a);
--color-background: var(--color-white); --color-background: var(--color-white);
--color-text: var(--color-coal); --color-text: var(--color-coal);
--color-text-header: var(--color-coal); --color-text-header: var(--color-coal);
--color-link: var(--color-b); --color-link: var(--color-b);
--color-link-hover: var(--color-a); --color-link-hover: var(--color-a);
--color-selection: var(--color-b); --color-selection: var(--color-b);
--color-fieldset-border: var(--color-c); --color-fieldset-border: var(--color-c);
--color-table-header-background: var(--color-b); --color-table-header-background: var(--color-b);
--color-table-header-text: var(--color-white); --color-table-header-text: var(--color-white);
--color-table-item: var(--color-c); --color-table-item: var(--color-c);
/* Components colors */ /* Components colors */
--color-header-background: var(--color-b); --color-header-background: var(--color-b);
--color-header-borderline: var(--color-a); --color-header-borderline: var(--color-a);
--color-header-selection: var(--color-a); --color-header-selection: var(--color-a);
--color-header-logo: var(--color-white); --color-header-logo: var(--color-white);
--color-header-navigation-link: var(--color-white); --color-header-navigation-link: var(--color-white);
--color-header-navigation-link-hover: var(--color-white); --color-header-navigation-link-hover: var(--color-white);
--color-footer-borderline: var(--color-a); --color-footer-borderline: var(--color-a);
--color-footer-text: var(--color-coal); --color-footer-text: var(--color-coal);
--color-content-item-background: var(--color-milk); --color-content-item-background: var(--color-milk);
--color-pattern-button: var(--color-c); --color-pattern-button: var(--color-c);
--color-pattern-text: var(--color-white); --color-pattern-text: var(--color-white);
} }
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
:root { :root {
/* Base colors */ /* Base colors */
--color-border: var(--color-a); --color-border: var(--color-a);
--color-background: var(--color-coal); --color-background: var(--color-coal);
--color-text: var(--color-coal); --color-text: var(--color-coal);
--color-text-header: var(--color-coal); --color-text-header: var(--color-coal);
--color-link: var(--color-b); --color-link: var(--color-b);
--color-link-hover: var(--color-a); --color-link-hover: var(--color-a);
--color-selection: var(--color-b); --color-selection: var(--color-b);
--color-fieldset-border: var(--color-c); --color-fieldset-border: var(--color-c);
--color-table-header-background: var(--color-b); --color-table-header-background: var(--color-b);
--color-table-header-text: var(--color-white); --color-table-header-text: var(--color-white);
--color-table-item: var(--color-c); --color-table-item: var(--color-c);
/* Components colors */ /* Components colors */
--color-header-background: var(--color-a); --color-header-background: var(--color-a);
--color-header-borderline: var(--color-b); --color-header-borderline: var(--color-b);
--color-header-selection: var(--color-b); --color-header-selection: var(--color-b);
--color-header-logo: var(--color-white); --color-header-logo: var(--color-white);
--color-header-navigation-link: var(--color-white); --color-header-navigation-link: var(--color-white);
--color-header-navigation-link-hover: var(--color-white); --color-header-navigation-link-hover: var(--color-white);
--color-footer-borderline: var(--color-a); --color-footer-borderline: var(--color-a);
--color-footer-text: var(--color-milk); --color-footer-text: var(--color-milk);
--color-content-item-background: var(--color-c); --color-content-item-background: var(--color-c);
--color-pattern-button: var(--color-milk); --color-pattern-button: var(--color-milk);
--color-pattern-text: var(--color-black); --color-pattern-text: var(--color-black);
} }
} }
*, ::after, ::before { *, ::after, ::before {
margin: 0; margin: 0;
padding: 0; padding: 0;
box-sizing: border-box; box-sizing: border-box;
} }
html { html {
font-family: 'Roboto', sans-serif; font-family: 'Roboto', sans-serif;
direction: ltr; direction: ltr;
font-size: 16px; font-size: 16px;
line-height: 1.382em; line-height: 1.382em;
} }
body { body {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
min-height: 100vh; min-height: 100vh;
background: var(--color-background); background: var(--color-background);
} }
::selection { ::selection {
background: var(--color-selection); background: var(--color-selection);
} }
:focus { :focus {
border-bottom: 2px solid var(--color-selection); border-bottom: 2px solid var(--color-selection);
} }
:focus-visible { :focus-visible {
outline: 2px solid var(--color-selection); outline: 2px solid var(--color-selection);
border-color: transparent; border-color: transparent;
} }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
color: var(--color-text-header); color: var(--color-text-header);
font-weight: 500; font-weight: 500;
margin-block-start: 0.382em; margin-block-start: 0.382em;
margin-block-end: 0.618em; margin-block-end: 0.618em;
line-height: 1.382em; line-height: 1.382em;
} }
h1 { font-size: 2em; } h1 { font-size: 2em; }
@ -142,47 +142,47 @@ big { font-size: larger; }
small { font-size: smaller; } small { font-size: smaller; }
span, p, article, blockquote { span, p, article, blockquote {
color: var(--color-text); color: var(--color-text);
font-weight: 300; font-weight: 300;
} }
ul { ul {
padding: 16px; padding: 16px;
list-style-type: circle; list-style-type: circle;
} }
a { a {
background-color: transparent; background-color: transparent;
border-bottom: 2px solid transparent; border-bottom: 2px solid transparent;
font-weight: 500; font-weight: 500;
color: var(--color-link); color: var(--color-link);
text-decoration: none; text-decoration: none;
} }
a:hover { a:hover {
border-bottom: 2px solid var(--color-link-hover); border-bottom: 2px solid var(--color-link-hover);
color: var(--color-link-hover); color: var(--color-link-hover);
transition: all 0.5s ease; transition: all 0.5s ease;
text-decoration: none; text-decoration: none;
} }
dl dd:last-child { dl dd:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
dt { dt {
margin-bottom: 4px; margin-bottom: 4px;
font-size: 18px; font-size: 18px;
font-weight: 500; font-weight: 500;
font-style: oblique; font-style: oblique;
} }
dd { dd {
margin-bottom: 16px; margin-bottom: 16px;
padding-left: 16px; padding-left: 16px;
font-size: 16px; font-size: 16px;
font-weight: 300; font-weight: 300;
font-style: normal; font-style: normal;
} }
/* ----- */ /* ----- */
@ -190,189 +190,190 @@ dd {
/* ----- */ /* ----- */
hr { hr {
margin-block-start: 0.5em; margin-block-start: 0.5em;
margin-block-end: 0.5em; margin-block-end: 0.5em;
} }
legend { legend {
padding: 2px 4px; padding: 2px 4px;
text-align: left; text-align: left;
} }
fieldset { fieldset {
border: 2px solid var(--color-border-alpha); border: 2px solid var(--color-border-alpha);
border-radius: var(--number-border-radius); border-radius: var(--number-border-radius);
padding: 8px; padding: 8px;
} }
button, textarea, select, input { button, textarea, select, input {
padding: 4px 8px; padding: 4px 8px;
border: 2px solid var(--color-link); border: 2px solid var(--color-link);
border-radius: var(--number-border-radius); border-radius: var(--number-border-radius);
background: var(--color-milk); background: var(--color-milk);
color: var(--color-text); color: var(--color-text);
font-size: 16px; font-size: 16px;
line-height: 1.382em; line-height: 1.382em;
white-space: nowrap; white-space: nowrap;
} }
button:hover, input:hover,
textarea:hover, select:hover { button:hover, input:hover,
border: 2px solid var(--color-link-hover); textarea:hover, select:hover {
transition: all 0.5s ease; border: 2px solid var(--color-link-hover);
} transition: all 0.5s ease;
}
option { option {
background: var(--color-background); background: var(--color-background);
color: var(--color-text); color: var(--color-text);
font-size: 16px; font-size: 16px;
line-height: 1.382em; line-height: 1.382em;
} }
option:hover { option:hover {
background-color: var(--color-selection); background-color: var(--color-selection);
color: var(--color-white); color: var(--color-white);
} }
input[type=range] { input[type=range] {
width: 100%; width: 100%;
margin: 8px 0; margin: 8px 0;
padding: 4px 0; padding: 4px 0;
border: 0px solid var(--color-link); border: 0px solid var(--color-link);
-webkit-appearance: none; -webkit-appearance: none;
} }
input[type=range]:hover { input[type=range]:hover {
margin: 8px 0; margin: 8px 0;
padding: 4px 0; padding: 4px 0;
border: 0px solid var(--color-link-hover); border: 0px solid var(--color-link-hover);
} }
input[type=range]:focus { input[type=range]:focus {
outline: none; outline: none;
} }
input[type=range]::-webkit-slider-runnable-track { input[type=range]::-webkit-slider-runnable-track {
width: 100%; width: 100%;
height: 8px; height: 8px;
cursor: pointer; border: 0px solid #000101;
box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d; border-radius: 8px;
background: var(--color-b); box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
border-radius: 8px; background: var(--color-b);
border: 0px solid #000101; cursor: pointer;
} }
input[type=range]::-webkit-slider-thumb { input[type=range]::-webkit-slider-thumb {
box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d; -webkit-appearance: none;
border: 0px solid #000000; width: 16px;
height: 16px; height: 16px;
width: 16px; margin-top: -4px;
border-radius: 8px; border: 0px solid #000000;
background: var(--color-a); border-radius: 8px;
cursor: pointer; box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
-webkit-appearance: none; background: var(--color-a);
margin-top: -4px; cursor: pointer;
} }
input[type=range]:focus::-webkit-slider-runnable-track { input[type=range]:focus::-webkit-slider-runnable-track {
background: var(--color-b); background: var(--color-b);
} }
input[type=range]::-moz-range-track { input[type=range]::-moz-range-track {
width: 100%; width: 100%;
height: 8px; height: 8px;
cursor: pointer; border: 0px solid #000101;
animate: 0.2s; border-radius: 8px;
box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d; box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
background: var(--color-b); background: var(--color-b);
border-radius: 8px; cursor: pointer;
border: 0px solid #000101; animate: 0.2s;
} }
input[type=range]::-moz-range-thumb { input[type=range]::-moz-range-thumb {
box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d; width: 16px;
border: 0px solid #000000; height: 16px;
height: 16px; border: 0px solid #000000;
width: 16px; border-radius: 8px;
border-radius: 8px; box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
background: var(--color-a); background: var(--color-a);
cursor: pointer; cursor: pointer;
} }
input[type=range]::-ms-track { input[type=range]::-ms-track {
width: 100%; width: 100%;
height: 8px; height: 8px;
cursor: pointer; border-width: 8px 0;
animate: 0.2s; border-color: transparent;
background: transparent; background: transparent;
border-color: transparent; color: transparent;
border-width: 8px 0; cursor: pointer;
color: transparent; animate: 0.2s;
} }
input[type=range]::-ms-fill-lower { input[type=range]::-ms-fill-lower {
background: var(--color-b); border: 0px solid #000101;
border: 0px solid #000101; border-radius: 8px;
border-radius: 8px; box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d; background: var(--color-b);
} }
input[type=range]::-ms-fill-upper { input[type=range]::-ms-fill-upper {
background: var(--color-b); border: 0px solid #000101;
border: 0px solid #000101; border-radius: 8px;
border-radius: 8px; box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d; background: var(--color-b);
} }
input[type=range]::-ms-thumb { input[type=range]::-ms-thumb {
box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d; width: 16px;
border: 0px solid #000000; height: 16px;
height: 16px; border: 0px solid #000000;
width: 16px; border-radius: 8px;
border-radius: 8px; box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
background: var(--color-a); background: var(--color-a);
cursor: pointer; cursor: pointer;
} }
input[type=range]:focus::-ms-fill-lower { input[type=range]:focus::-ms-fill-lower {
background: var(--color-b); background: var(--color-b);
} }
input[type=range]:focus::-ms-fill-upper { input[type=range]:focus::-ms-fill-upper {
background: var(--color-b); background: var(--color-b);
} }
/* ------ */ /* ------ */
/* TABLES */ /* TABLES */
/* ------ */ /* ------ */
table, th, td { table, th, td {
width: 100%; width: 100%;
padding: 8px; padding: 8px;
border-collapse: collapse; border-collapse: collapse;
table-layout: fixed; table-layout: fixed;
font-weight: 400; font-weight: 400;
} }
.table_pink thead { .table_pink thead {
border-bottom: 4px solid var(--color-table-item); border-bottom: 4px solid var(--color-table-item);
} }
.table_pink thead > tr { .table_pink thead > tr {
background-color: var(--color-table-header-background); background-color: var(--color-table-header-background);
color: var(--color-table-header-text); color: var(--color-table-header-text);
}
.table_pink thead > tr > th {
font-weight: 500;
} }
.table_pink thead > tr > th {
font-weight: 500;
}
.table_pink tbody > tr:nth-child(even) { .table_pink tbody > tr:nth-child(even) {
background-color: var(--color-table-item); background-color: var(--color-table-item);
color: var(--color-white); color: var(--color-white);
} }
.table_pink tfoot { .table_pink tfoot {
border-top: 4px solid var(--color-table-header-background); border-top: 4px solid var(--color-table-header-background);
} }
/* ------------- */ /* ------------- */
@ -380,28 +381,28 @@ table, th, td {
/* ------------- */ /* ------------- */
.hidden { .hidden {
display: none !important; display: none !important;
} }
.visually-hidden { .visually-hidden {
position: absolute; position: absolute;
width: 1px; width: 1px;
height: 1px; height: 1px;
margin: -1px; margin: -1px;
border: 0; border: 0;
padding: 0; padding: 0;
white-space: nowrap; white-space: nowrap;
clip-path: inset(100%); clip-path: inset(100%);
clip: rect(0 0 0 0); clip: rect(0 0 0 0);
overflow: hidden; overflow: hidden;
} }
.container { .container {
width: 100%; width: 100%;
max-width: 1080px; max-width: 1080px;
margin: 0 auto; margin: 0 auto;
padding-left: 16px; padding-left: 16px;
padding-right: 16px; padding-right: 16px;
} }
/* ----------------- */ /* ----------------- */
@ -413,10 +414,10 @@ table, th, td {
/* --- */ /* --- */
.app { .app {
min-height: 100vh; min-height: 100vh;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
} }
/* ---- */ /* ---- */
@ -424,16 +425,16 @@ table, th, td {
/* ---- */ /* ---- */
.page { .page {
flex-grow: 1; flex-grow: 1;
margin-top: 32px; margin-top: 32px;
margin-bottom: 32px; margin-bottom: 32px;
} }
@media only screen and (min-width: 540px) { @media only screen and (min-width: 540px) {
.page { .page {
margin-top: 64px; margin-top: 64px;
margin-bottom: 64px; margin-bottom: 64px;
} }
} }
/* ---- */ /* ---- */
@ -441,12 +442,12 @@ table, th, td {
/* ---- */ /* ---- */
.post { .post {
margin: 0 auto; margin: 0 auto;
} }
.post__header { .post__header {
text-align: center; text-align: center;
margin-block-end: 32px; margin-block-end: 32px;
} }
/* ------- */ /* ------- */
@ -455,35 +456,35 @@ table, th, td {
.content { .content {
margin-bottom: 64px; margin-bottom: 64px;
} }
.content__header { .content__header {
margin-top: 0; margin-top: 0;
margin-bottom: 32px; margin-bottom: 32px;
padding-left: 16px; padding-left: 16px;
border: 2px solid var(--color-content-borderline); border: 2px solid var(--color-content-borderline);
border-radius: var(--number-border-radius); border-radius: var(--number-border-radius);
color: var(--color-text-header); color: var(--color-text-header);
font-size: 1.8em; font-size: 1.8em;
} }
.content-item { .content-item {
margin-bottom: 16px; margin-bottom: 16px;
padding: 16px; padding: 16px;
border-radius: var(--number-border-radius); border-radius: var(--number-border-radius);
background: var(--color-content-item-background); background: var(--color-content-item-background);
} }
.content-item__header { .content-item__header {
margin-bottom: 16px; margin-bottom: 16px;
text-align: center; text-align: center;
} }
@media only screen and (min-width: 540px) { @media only screen and (min-width: 540px) {
.content-item { .content-item {
padding: 32px; padding: 32px;
} }
} }
/* ----- */ /* ----- */
@ -491,6 +492,5 @@ table, th, td {
/* ----- */ /* ----- */
.link_hash { .link_hash {
word-break: break-all; word-break: break-all;
} }

View File

@ -2,43 +2,43 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url> <url>
<loc>https://wavelovers.ru/</loc> <loc>https://wavelovers.ru/</loc>
<lastmod>2022-08-27</lastmod> <lastmod>2022-08-28</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>1.0</priority> <priority>1.0</priority>
</url> </url>
<url> <url>
<loc>https://wavelovers.ru/custom</loc> <loc>https://wavelovers.ru/custom</loc>
<lastmod>2022-08-27</lastmod> <lastmod>2022-08-28</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>1.0</priority> <priority>1.0</priority>
</url> </url>
<url> <url>
<loc>https://wavelovers.ru/manual</loc> <loc>https://wavelovers.ru/manual</loc>
<lastmod>2022-08-27</lastmod> <lastmod>2022-08-28</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>1.0</priority> <priority>1.0</priority>
</url> </url>
<url> <url>
<loc>https://wavelovers.ru/diagnostic</loc> <loc>https://wavelovers.ru/diagnostic</loc>
<lastmod>2022-08-27</lastmod> <lastmod>2022-08-28</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>1.0</priority> <priority>1.0</priority>
</url> </url>
<url> <url>
<loc>https://wavelovers.ru/faq</loc> <loc>https://wavelovers.ru/faq</loc>
<lastmod>2022-08-27</lastmod> <lastmod>2022-08-28</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>1.0</priority> <priority>1.0</priority>
</url> </url>
<url> <url>
<loc>https://wavelovers.ru/about</loc> <loc>https://wavelovers.ru/about</loc>
<lastmod>2022-08-27</lastmod> <lastmod>2022-08-28</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>1.0</priority> <priority>1.0</priority>
</url> </url>
<url> <url>
<loc>https://wavelovers.ru/donate</loc> <loc>https://wavelovers.ru/donate</loc>
<lastmod>2022-08-27</lastmod> <lastmod>2022-08-28</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>1.0</priority> <priority>1.0</priority>
</url> </url>

View File

@ -2,7 +2,7 @@
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap> <sitemap>
<loc>https://wavelovers.ru/sitemap-internal.xml</loc> <loc>https://wavelovers.ru/sitemap-internal.xml</loc>
<lastmod>2022-08-27</lastmod> <lastmod>2022-08-28</lastmod>
</sitemap> </sitemap>
</sitemapindex> </sitemapindex>