Шаблон:Main page/header/styles.css: различия между версиями

Нет описания правки
Нет описания правки
 
(не показана 1 промежуточная версия этого же участника)
Строка 1: Строка 1:
.home-header {
.home-header {
margin-top: 1.6rem;
position: relative;
margin-top: -1rem;
margin-bottom: 2rem;
padding-top: 1rem;
line-height: var( --line-height-sm );
    text-align: left;
 
 
}
 
.home-header:before {
    content: "";
    position: absolute;
    top: 1rem;
    bottom: 4.75rem;
    left: 0;
    right: 0;
    opacity: 0.1;
    /* background-image: url("https://orlec.wiki/orlec_logo_new_classic.png"); */ 
    background-repeat: no-repeat;
    background-position: right;
    pointer-events: none;
}
 
.home-header__pretitle {
margin-bottom: var( --space-xs );
    color: var( --color-base--subtle );
font-size: 0.875rem;
text-transform: uppercase;
letter-spacing: 0.05em;
}
}


.home-header__title {
.home-header__title {
margin-top: 0;
margin: 0;
font-size: 1.5rem;
font-size: 3rem;
text-transform: uppercase;
letter-spacing: 0.025em;
line-height: 1;
}
}


.home-header .home-header__subtitle {
.home-header__subtitle {
margin-top: 0.4rem;
margin-top: var( --space-xs );
color: var( --color-base--subtle );
font-size: 0.875rem;
font-size: 0.875rem;
}
}




.home-header .home-header__subtitle2 {
.home-header__search:hover {
margin-top: 0.4rem;
background-color: var( --background-color-quiet--hover );
color: var( --color-base--subtle );
font-size: 1rem;
}
}


.home-header__search {
.home-header__searchIcon img {
max-width: 600px;
margin-right: var( --space-md );
padding: 0.6rem 0.8rem;
    opacity: var( --opacity-icon-base );
border: 1px solid;
border-color: var( --border-color-base );
margin: 0.8rem auto 0 auto;
background: var( --background-color-dp-04 );
border-radius: 100px;
box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.04 ), 0 3px 6px rgba( 0, 0, 0, 0.0575 );
color: var( --color-base--subtle );
cursor: pointer;
font-size: 0.875rem;
}
}


.keyboard-text {
/* Fix vertical alignment problem */
padding: 0 5px;
.home-header__search .keyboard-key {
border: 1px solid;
display: inline;
margin: 0 2px;
padding-top: 0.1em;
border-radius: 4px;
padding-bottom: 0.1em;
}
}


@media ( min-width: 682px ) {
html.skin-citizen-dark .home-header:before,
.home-header {
html.skin-citizen-dark .home-header__searchIcon img {
text-align: center;
filter: invert( 1 );
}
}
}



Текущая версия от 06:53, 8 ноября 2023

.home-header {
	position: relative;
	margin-top: -1rem;
	margin-bottom: 2rem;
	padding-top: 1rem;
	line-height: var( --line-height-sm );
    text-align: left;


}

.home-header:before {
    content: "";
    position: absolute;
    top: 1rem;
    bottom: 4.75rem;
    left: 0;
    right: 0;
    opacity: 0.1;
    /* background-image: url("https://orlec.wiki/orlec_logo_new_classic.png"); */   
    background-repeat: no-repeat;
    background-position: right;
    pointer-events: none;
}

.home-header__pretitle {
	margin-bottom: var( --space-xs );
    color: var( --color-base--subtle );
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.home-header__title {
	margin: 0;
	font-size: 3rem;
	text-transform: uppercase;
	letter-spacing: 0.025em;
	line-height: 1;
}

.home-header__subtitle {
	margin-top: var( --space-xs );
	font-size: 0.875rem;
}


.home-header__search:hover {
	background-color: var( --background-color-quiet--hover );
}

.home-header__searchIcon img {
	margin-right: var( --space-md );
    opacity: var( --opacity-icon-base );
}

/* Fix vertical alignment problem */
.home-header__search .keyboard-key {
	display: inline;
	padding-top: 0.1em;
	padding-bottom: 0.1em;
}

html.skin-citizen-dark .home-header:before,
html.skin-citizen-dark .home-header__searchIcon img {
	filter: invert( 1 );
}

@media ( hover: none ) {
	.desktoponly {
		display: none;
	}
}