MediaWiki:Timeless.css: відмінності між версіями

Матеріал з БатлМех-Вікі
Перейти до навігаціїПерейти до пошуку
мНемає опису редагування
мНемає опису редагування
 
(Не показані 32 проміжні версії цього користувача)
Рядок 1: Рядок 1:
// Colours; see https://design.wikimedia.org/style-guide/visual-style_colors.html
@import url("https://battletech.com.ua/wp-content/plugins/tournamatch/dist/css/fontawesome.5.14.0.css?ver=5.14.0");
@import url("https://battletech.com.ua/wp-content/uploads/useanyfont/uaf.css?ver=1719919001");


@base100: #fff;
.site--logo img { max-width: 155px !important; max-height: 100px;} .site--logo .site--description { font-size: 20px !important;} .dt-container-md,.dt__slider-main .owl-dots {
@base90: #f8f9fa;
max-width: 1340px;
@base80: #eaecf0;
}
@base70: #c8ccd1;
@media (min-width: 992px) {#dt-main {
@base30: #72777d;
max-width:67%;
@base20: #54595d;
flex-basis:67%;
@base0: #000;
}
#dt-sidebar {
max-width:33%;
flex-basis:33%;
}}


@red: #c3c33c;
@red-bright: #c3c33c;
@red-dark: #74750f;
.red-dark: #74750f;
red-dark: #74750f;


@green: #00af89;
@green-bright: #d5fdf4;
@green-dark: #14866d;


@blue: #36c;
@blue-bright: #eaf3ff;
@blue-dark: #2a4b8d;


@background: @base100;
@text: @base0;


@link: @blue;
@link-visited: @blue-dark;


@link-red: @red;
@link-red-visited: @red-dark;


@link-ext: #37a;
@link-ext-visited: darken( @link-ext, 10% );


// Flair


// Fonts are chosen for consistent metrics, not necessarily overall prettiness.
:root {
@fonts-sans: 'Segoe UI', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Lato', 'Liberation Sans', 'Noto Sans', 'Helvetica Neue', 'Helvetica', sans-serif;
    --dt-main-rgb: 41, 98, 255; /*255, 0, 61*/ /*255, 76, 96;*/
@fonts-serif: 'Linux Libertine', 'Times New Roman', 'Liberation Serif', 'Nimbus Roman', 'Noto Serif', 'Times', serif;
    --dt-main-color: rgba(var(--dt-main-rgb));
@fonts-mono: 'Menlo', 'Consolas', 'Monaco', 'Noto Mono', 'Nimbus Mono L', monospace;
    --dt-secondary-rgb: 101, 235, 231;
    --dt-secondary-color: rgba(var(--dt-secondary-rgb));
    --dt-black-color: #0a1233;
    --dt-text-color: #718096;
    --dt-title-family: "Josefin Sans", sans-serif;
    --dt-base-family: "Josefin Sans", sans-serif;
    --dt-gradient: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));
}


@fonts: @fonts-sans;
/* selection */
@fonts-secondary: @fonts-serif;
::selection {
    color: #fff;
    background: var(--dt-main-color);
}


@border: 0.2em;
/* width */
@radius: 0.2em;
::-webkit-scrollbar {
    width: 8px;
}
 
/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}
 
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--dt-main-color);
}
 
::-webkit-input-placeholder {
    color: #463838;
}
 
:-moz-placeholder {
    color: #d1d1d1;
    opacity: 1;
    transition: opacity 0.3s;
}
 
::-moz-placeholder {
    color: #d1d1d1;
    opacity: 1;
    transition: opacity 0.3s;
}
 
:-ms-input-placeholder {
    color: #d1d1d1;
    opacity: 1;
    transition: opacity 0.3s;
}
 
*:focus::-webkit-input-placeholder {
    opacity: 0;
}
 
*:focus:-moz-placeholder {
    opacity: 0;
}
 
*:focus::-moz-placeholder {
    opacity: 0;
}
 
*:focus:-ms-input-placeholder {
    opacity: 0;
}
 
*,
*::after,
*::before {
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
    word-break: break-word;
    word-wrap: break-word;
}
 
*:not(table *) {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    word-break: break-word;
}
 
@media (prefers-reduced-motion:no-preference) {
    :root {
        scroll-behavior: smooth;
    }
}
html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    box-sizing: border-box;
}
 
 
body {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.7;
    overflow-x: hidden;
    font-family: var(--dt-base-family);
    letter-spacing: .01em;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}
 
 
 
 
 
.widget_social a {
    display: inline-block;
    margin: 0 0.15rem;
}
 
.widget_social a:hover,
.widget_social a:focus {
    transform: translateY(-2px);
    box-shadow: none;
}
 
.widget_social a i {
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 50%;
    text-align: center;
    line-height: 4.4rem;
    font-size: 1.8rem;
    vertical-align: middle;
    overflow: hidden;
    background-color: var(--dt-main-color);
    color: #fff;
    box-shadow: 0 3px 5px -1px rgba(7, 10, 25, .2);
}
 
.widget_social a i.fa-facebook,
.widget_social a i.fa-facebook-f {
    background-color: #175beb;
}
 
.widget_social a i.fa-youtube {
    background-color: #CD201F;
}
 
.widget_social a i.fa-telegram {
    background-color: #0088cc;
}
 
 
.widget_social.fill-color a i {
    background: 0 0;
    color: var(--dt-main-color);
    box-shadow: none;
    width: 3rem;
}
 
.widget_social.fill-color a i.fa-facebook,
.widget_social.fill-color a i.fa-facebook-f {
    color: #175beb;
}
 
.widget_social.fill-color a i.fa-youtube {
    color: #CD201F;
}
 
.widget_social.fill-color a i.fa-telegram {
    color: #0088cc;
}
 
.widget_social a:hover i::before,
.widget_social a:focus i::before {
    display: inline-block;
    animation: dt_rubberBand 0.6s ease-in-out alternate;
}
 
@keyframes dt_rubberBand {
    from {
      -webkit-transform: scale3d(1, 1, 1);
      transform: scale3d(1, 1, 1);
    }
 
    30% {
      -webkit-transform: scale3d(1.25, 0.75, 1);
      transform: scale3d(1.25, 0.75, 1);
    }
 
    40% {
      -webkit-transform: scale3d(0.75, 1.25, 1);
      transform: scale3d(0.75, 1.25, 1);
    }
 
    50% {
      -webkit-transform: scale3d(1.15, 0.85, 1);
      transform: scale3d(1.15, 0.85, 1);
    }
 
    65% {
      -webkit-transform: scale3d(.95, 1.05, 1);
      transform: scale3d(.95, 1.05, 1);
    }
 
    75% {
      -webkit-transform: scale3d(1.05, .95, 1);
      transform: scale3d(1.05, .95, 1);
    }
 
    to {
      -webkit-transform: scale3d(1, 1, 1);
      transform: scale3d(1, 1, 1);
    }
}
 
.dt_navbar-right>ul li.dt_navbar-social-item {
    flex-shrink: 0;
}
 
.dt_navbar-right>ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
 
.dt_navbar-right>ul {
    padding-left: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}
 
.dt_mobilenav-right .dt_navbar-right .dt_navbar-list-right {
    justify-content: flex-end;
}
 
.dt_mobilenav-right .dt_navbar-list-right>li:not(:last-child) {
    margin-right: 1rem;
}
 
@media (max-width: 47.938em) {
 
    .dt_mobilenav-right .dt_navbar-right .dt_navbar-cart-item,
    .dt_mobilenav-right .dt_navbar-right .dt_navbar-button-item {
        display: none;
    }
 
    .dt_mobilenav-right .dt_navbar-list-right>li:not(:last-child).dt_navbar-search-item {
        margin-right: 0;
    }
}
 
.dt_navbar-list-right>li:not(:last-child) {
    margin-right: 1.2rem;
}
 
.dt_mobilenav-right .dt_navbar-list-right>li:not(:last-child) {
    margin-right: 1.2rem;
}
 
.dt_navbar-list-right ul.product_list_widget li {
    margin-right: 0;
}
 
    .dt-col-md-2 {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }
 
    .dt-col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
 
    .dt-col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
 
    .dt-col-md-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }
 
    .dt-col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
 
    .dt-col-md-7 {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }
 
    .dt-col-md-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
 
    .dt-col-md-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }
 
    .dt-col-md-10 {
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }
 
.dt-my-auto {
    margin-top: auto;
    margin-bottom: auto;
}
 
.site--logo img {
    width: 100%;
    max-width: 18rem;
}
 
.site--logo .site--title {
    margin: 0;
    font-weight: 700;
    line-height: 1.05;
    white-space: normal;
    color: var(--dt-black-color);
}
 
.site--logo a {
    display: inline-block;
    color: inherit;
    text-decoration: none;
}
 
.site--logo a:first-letter,
.site--logo .site--title:first-letter {
    color: var(--dt-main-color);
}
 
.site--logo a:focus {
    outline: 0.1rem dotted;
    outline-offset: 0.5rem;
}
 
.site--logo a:hover,
.site--logo a:focus {
    transform: translateY(-0.2rem);
}
 
.site--logo .site--description {
    line-height: 1.3;
    margin-bottom: 0;
    margin-top: 0.1rem;
}
 
@media (max-width: 47.938em) {
    .dt_mobilenav-menu .dt_mobilenav-logo .site--logo .site--title {
        font-size: 3.8rem;
    }
}
 
@media (max-width: 35.938em) {
    .dt_mobilenav-menu .dt_mobilenav-logo .site--logo .site--title {
        font-size: 3rem;
    }
}
 
@media (min-width: 62em) {
    .dt_header.header--one .dt_header-topbar+.dt_header-navwrapper .site--logo {
        min-height: 14rem;
    }
    .dt_header.header--one .site--logo {
        min-height: 8.6rem;
    }
}
 
.dt_header.header--one .site--logo {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
 
.footer-dark .post .post-title a,
.footer-dark .site--logo .site--title,
.footer-dark h1,
.footer-dark .h1,
.footer-dark h2,
.footer-dark .h2,
.footer-dark h3,
.footer-dark .h3,
.footer-dark h4,
.footer-dark .h4,
.footer-dark h5,
.footer-dark .h5,
.footer-dark h6,
.footer-dark .h6 {
    color: #fff;
}
 
.dt-row {
    --dt-gutter-x: 2.4rem;
    --dt-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--dt-gutter-y) * -1);
    margin-right: calc(var(--dt-gutter-x)/ -2);
    margin-left: calc(var(--dt-gutter-x)/ -2);
}
 
.dt-row>* {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--dt-gutter-x)/ 2);
    padding-left: calc(var(--dt-gutter-x)/ 2);
    margin-top: var(--dt-gutter-y);
}
 
 
.dt_header-topbar .dt-row {
    align-items: center;
}
 
.mainfeatured_section:not(.style-1, .style-7) .dt-container-md .dt-row,
.mainfeatured_section:not(.style-1, .style-7) .dt-container-md .dt-row,
.mainfeatured_section:not(.style-1, .style-7) .dt-container-md .dt-row {
--dt-gutter-x: 0.4rem;
--dt-gutter-y: 0.4rem;
}
 
.dt-py-5 {
    padding-top: 3.2rem;
    padding-bottom: 3.2rem;
}

Поточна версія на 13:23, 25 липня 2024

@import url("https://battletech.com.ua/wp-content/plugins/tournamatch/dist/css/fontawesome.5.14.0.css?ver=5.14.0");
@import url("https://battletech.com.ua/wp-content/uploads/useanyfont/uaf.css?ver=1719919001");

.site--logo img { max-width: 155px !important; max-height: 100px;} .site--logo .site--description { font-size: 20px !important;} .dt-container-md,.dt__slider-main .owl-dots {
						max-width: 1340px;
					}
	@media (min-width: 992px) {#dt-main {
					max-width:67%;
					flex-basis:67%;
				}
#dt-sidebar {
max-width:33%;
					flex-basis:33%;
				}}









:root {
    --dt-main-rgb: 41, 98, 255; /*255, 0, 61*/ /*255, 76, 96;*/
    --dt-main-color: rgba(var(--dt-main-rgb));
    --dt-secondary-rgb: 101, 235, 231;
    --dt-secondary-color: rgba(var(--dt-secondary-rgb));
    --dt-black-color: #0a1233;
    --dt-text-color: #718096;
    --dt-title-family: "Josefin Sans", sans-serif;
    --dt-base-family: "Josefin Sans", sans-serif;
    --dt-gradient: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));
}

/* selection */
::selection {
    color: #fff;
    background: var(--dt-main-color);
}

/* width */
::-webkit-scrollbar {
    width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--dt-main-color);
}

::-webkit-input-placeholder {
    color: #463838;
}

:-moz-placeholder {
    color: #d1d1d1;
    opacity: 1;
    transition: opacity 0.3s;
}

::-moz-placeholder {
    color: #d1d1d1;
    opacity: 1;
    transition: opacity 0.3s;
}

:-ms-input-placeholder {
    color: #d1d1d1;
    opacity: 1;
    transition: opacity 0.3s;
}

*:focus::-webkit-input-placeholder {
    opacity: 0;
}

*:focus:-moz-placeholder {
    opacity: 0;
}

*:focus::-moz-placeholder {
    opacity: 0;
}

*:focus:-ms-input-placeholder {
    opacity: 0;
}

*,
*::after,
*::before {
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
    word-break: break-word;
    word-wrap: break-word;
}

*:not(table *) {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    word-break: break-word;
}

@media (prefers-reduced-motion:no-preference) {
    :root {
        scroll-behavior: smooth;
    }
}
html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    box-sizing: border-box;
}


body {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.7;
    overflow-x: hidden;
    font-family: var(--dt-base-family);
    letter-spacing: .01em; 
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}





.widget_social a {
    display: inline-block;
    margin: 0 0.15rem;
}

.widget_social a:hover,
.widget_social a:focus {
    transform: translateY(-2px);
    box-shadow: none;
}

.widget_social a i {
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 50%;
    text-align: center;
    line-height: 4.4rem;
    font-size: 1.8rem;
    vertical-align: middle;
    overflow: hidden;
    background-color: var(--dt-main-color);
    color: #fff;
    box-shadow: 0 3px 5px -1px rgba(7, 10, 25, .2);
}

.widget_social a i.fa-facebook,
.widget_social a i.fa-facebook-f {
    background-color: #175beb;
}

.widget_social a i.fa-youtube {
    background-color: #CD201F;
}

.widget_social a i.fa-telegram {
    background-color: #0088cc;
}


.widget_social.fill-color a i {
    background: 0 0;
    color: var(--dt-main-color);
    box-shadow: none;
    width: 3rem;
}

.widget_social.fill-color a i.fa-facebook,
.widget_social.fill-color a i.fa-facebook-f {
    color: #175beb;
}

.widget_social.fill-color a i.fa-youtube {
    color: #CD201F;
}

.widget_social.fill-color a i.fa-telegram {
    color: #0088cc;
}

.widget_social a:hover i::before,
.widget_social a:focus i::before {
    display: inline-block;
    animation: dt_rubberBand 0.6s ease-in-out alternate;
}

@keyframes dt_rubberBand {
    from {
      -webkit-transform: scale3d(1, 1, 1);
      transform: scale3d(1, 1, 1);
    }
  
    30% {
      -webkit-transform: scale3d(1.25, 0.75, 1);
      transform: scale3d(1.25, 0.75, 1);
    }
  
    40% {
      -webkit-transform: scale3d(0.75, 1.25, 1);
      transform: scale3d(0.75, 1.25, 1);
    }
  
    50% {
      -webkit-transform: scale3d(1.15, 0.85, 1);
      transform: scale3d(1.15, 0.85, 1);
    }
  
    65% {
      -webkit-transform: scale3d(.95, 1.05, 1);
      transform: scale3d(.95, 1.05, 1);
    }
  
    75% {
      -webkit-transform: scale3d(1.05, .95, 1);
      transform: scale3d(1.05, .95, 1);
    }
  
    to {
      -webkit-transform: scale3d(1, 1, 1);
      transform: scale3d(1, 1, 1);
    }
}

.dt_navbar-right>ul li.dt_navbar-social-item {
    flex-shrink: 0;
}

.dt_navbar-right>ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dt_navbar-right>ul {
    padding-left: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

.dt_mobilenav-right .dt_navbar-right .dt_navbar-list-right {
    justify-content: flex-end;
}

.dt_mobilenav-right .dt_navbar-list-right>li:not(:last-child) {
    margin-right: 1rem;
}

@media (max-width: 47.938em) {

    .dt_mobilenav-right .dt_navbar-right .dt_navbar-cart-item,
    .dt_mobilenav-right .dt_navbar-right .dt_navbar-button-item {
        display: none;
    }

    .dt_mobilenav-right .dt_navbar-list-right>li:not(:last-child).dt_navbar-search-item {
        margin-right: 0;
    }
}

.dt_navbar-list-right>li:not(:last-child) {
    margin-right: 1.2rem;
}

.dt_mobilenav-right .dt_navbar-list-right>li:not(:last-child) {
    margin-right: 1.2rem;
}

.dt_navbar-list-right ul.product_list_widget li {
    margin-right: 0;
}

    .dt-col-md-2 {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    .dt-col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .dt-col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .dt-col-md-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .dt-col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .dt-col-md-7 {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .dt-col-md-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .dt-col-md-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .dt-col-md-10 {
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

.dt-my-auto {
    margin-top: auto;
    margin-bottom: auto;
}

.site--logo img {
    width: 100%;
    max-width: 18rem;
}

.site--logo .site--title {
    margin: 0;
    font-weight: 700;
    line-height: 1.05;
    white-space: normal;
    color: var(--dt-black-color);
}

.site--logo a {
    display: inline-block;
    color: inherit;
    text-decoration: none;
}

.site--logo a:first-letter,
.site--logo .site--title:first-letter {
    color: var(--dt-main-color);
}

.site--logo a:focus {
    outline: 0.1rem dotted;
    outline-offset: 0.5rem;
}

.site--logo a:hover,
.site--logo a:focus {
    transform: translateY(-0.2rem);
}

.site--logo .site--description {
    line-height: 1.3;
    margin-bottom: 0;
    margin-top: 0.1rem;
}

@media (max-width: 47.938em) {
    .dt_mobilenav-menu .dt_mobilenav-logo .site--logo .site--title {
        font-size: 3.8rem;
    }
}

@media (max-width: 35.938em) {
    .dt_mobilenav-menu .dt_mobilenav-logo .site--logo .site--title {
        font-size: 3rem;
    }
}

@media (min-width: 62em) {
    .dt_header.header--one .dt_header-topbar+.dt_header-navwrapper .site--logo {
        min-height: 14rem;
    }
    .dt_header.header--one .site--logo {
        min-height: 8.6rem;
    }
}

.dt_header.header--one .site--logo {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-dark .post .post-title a,
.footer-dark .site--logo .site--title,
.footer-dark h1,
.footer-dark .h1,
.footer-dark h2,
.footer-dark .h2,
.footer-dark h3,
.footer-dark .h3,
.footer-dark h4,
.footer-dark .h4,
.footer-dark h5,
.footer-dark .h5,
.footer-dark h6,
.footer-dark .h6 {
    color: #fff;
}

.dt-row {
    --dt-gutter-x: 2.4rem;
    --dt-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--dt-gutter-y) * -1);
    margin-right: calc(var(--dt-gutter-x)/ -2);
    margin-left: calc(var(--dt-gutter-x)/ -2);
}

.dt-row>* {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--dt-gutter-x)/ 2);
    padding-left: calc(var(--dt-gutter-x)/ 2);
    margin-top: var(--dt-gutter-y);
}


.dt_header-topbar .dt-row {
    align-items: center;
}

.mainfeatured_section:not(.style-1, .style-7) .dt-container-md .dt-row,
.mainfeatured_section:not(.style-1, .style-7) .dt-container-md .dt-row,
.mainfeatured_section:not(.style-1, .style-7) .dt-container-md .dt-row {
	--dt-gutter-x: 0.4rem;
	--dt-gutter-y: 0.4rem;
}

.dt-py-5 {
    padding-top: 3.2rem;
    padding-bottom: 3.2rem;
}