forked from mirzaev/ff
css + правила
This commit is contained in:
parent
4b66a8cf7d
commit
91a08c1b66
|
@ -1,189 +1,192 @@
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: comissioner;
|
font-family: comissioner;
|
||||||
src: url('/fonts/commissioner.ttf') format('ttf');
|
src: url("/fonts/commissioner.ttf") format("ttf");
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--button-light-red-active: #eee4e4;
|
--button-light-red-active: #eee4e4;
|
||||||
--button-light-red-hover: #ddcbcb;
|
--button-light-red-hover: #ddcbcb;
|
||||||
--button-light-red: #eadada;
|
--button-light-red: #eadada;
|
||||||
--background-light : #fff;
|
--background-light: #fff;
|
||||||
--background : #f00;
|
--background: #f00;
|
||||||
--background-dark : #000;
|
--background-dark: #000;
|
||||||
--text : #020202;
|
--text: #020202;
|
||||||
--text-light : #fafafa;
|
--text-light: #fafafa;
|
||||||
--text-hover : #fff;
|
--text-hover: #fff;
|
||||||
--text-active : #d0d0d0;
|
--text-active: #d0d0d0;
|
||||||
--red-light-1 : #dc4343;
|
--red-light-1: #dc4343;
|
||||||
--red-light : #bf3737;
|
--red-light: #bf3737;
|
||||||
--red : #a43333;
|
--red: #a43333;
|
||||||
--red-dark : #8d2a2a;
|
--red-dark: #8d2a2a;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
* {
|
* {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
outline : none;
|
outline: none;
|
||||||
border : none;
|
border: none;
|
||||||
color : var(--text);
|
color: var(--text);
|
||||||
font-family : commissioner, Roboto, sans-serif;
|
font-family: commissioner, Roboto, sans-serif;
|
||||||
transition : 0.1s ease-out;
|
transition: 0.1s ease-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
.unselectable {
|
.unselectable {
|
||||||
-webkit-touch-callout: none;
|
-webkit-touch-callout: none;
|
||||||
-webkit-user-select : none;
|
-webkit-user-select: none;
|
||||||
-khtml-user-select : none;
|
-khtml-user-select: none;
|
||||||
-moz-user-select : none;
|
-moz-user-select: none;
|
||||||
-ms-user-select : none;
|
-ms-user-select: none;
|
||||||
user-select : none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: var(--red-light);
|
color: var(--red-light);
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover {
|
a:hover {
|
||||||
color: var(--red-light-1);
|
color: var(--red-light-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
a:active {
|
a:active {
|
||||||
color: var(--red-dark);
|
color: var(--red-dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
background-color: var(--button-light-red);
|
background-color: var(--button-light-red);
|
||||||
}
|
}
|
||||||
|
|
||||||
button:hover {
|
button:hover {
|
||||||
background-color: var(--button-light-red-hover);
|
background-color: var(--button-light-red-hover);
|
||||||
}
|
}
|
||||||
|
|
||||||
button:active {
|
button:active {
|
||||||
background-color: var(--button-light-red-active);
|
background-color: var(--button-light-red-active);
|
||||||
}
|
}
|
||||||
|
|
||||||
button[disabled]:is(:hover, :active) {
|
button[disabled]:is(:hover, :active) {
|
||||||
cursor: unset;
|
cursor: unset;
|
||||||
background-color: var(--button-light-red);
|
background-color: var(--button-light-red);
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin : 0;
|
margin: 0;
|
||||||
padding-top: calc(20vh + 394px);
|
padding-top: calc(20vh + 394px);
|
||||||
padding-bottom: 10vh;
|
padding-bottom: 10vh;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
background-color : var(--background);
|
background-color: var(--background);
|
||||||
}
|
}
|
||||||
|
|
||||||
aside {
|
aside {
|
||||||
z-index : 500;
|
z-index: 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
div#wrap {
|
div#wrap {
|
||||||
margin-top: -394px;
|
margin-top: -394px;
|
||||||
margin-left: 50vw;
|
margin-left: 50vw;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
|
||||||
div#wrap>a>img#masha {
|
div#wrap > a > img#masha {
|
||||||
z-index: 800;
|
z-index: 800;
|
||||||
left: 0;
|
left: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
width: 333px;
|
width: 333px;
|
||||||
height: 394px;
|
height: 394px;
|
||||||
position: relative;
|
position: relative;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
animation-direction : alternate;
|
animation-direction: alternate;
|
||||||
animation-name : koshka_dancing;
|
animation-name: koshka_dancing;
|
||||||
animation-iteration-count: infinite;
|
animation-iteration-count: infinite;
|
||||||
animation-timing-function: cubic-bezier(.65,.05,.36,1);
|
animation-timing-function: cubic-bezier(0.65, 0.05, 0.36, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
:is(div#wrap>a>img#masha, div#wrap>a>#masha_hand):hover {
|
:is(div#wrap > a > img#masha, div#wrap > a > #masha_hand):hover {
|
||||||
animation-play-state: paused;
|
animation-play-state: paused;
|
||||||
}
|
}
|
||||||
|
|
||||||
div#wrap>a>#masha_hand {
|
div#wrap > a > #masha_hand {
|
||||||
left: 0;
|
left: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
animation-direction : alternate;
|
animation-direction: alternate;
|
||||||
animation-name : hand_dancing;
|
animation-name: hand_dancing;
|
||||||
animation-iteration-count: infinite;
|
animation-iteration-count: infinite;
|
||||||
animation-timing-function: cubic-bezier(.65,.05,.36,1);
|
animation-timing-function: cubic-bezier(0.65, 0.05, 0.36, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
div#wrap>a>#masha_hand>img#hand{
|
div#wrap > a > #masha_hand > img#hand {
|
||||||
z-index: 500;
|
z-index: 500;
|
||||||
left: -30px;
|
left: -30px;
|
||||||
bottom: -5px;
|
bottom: -5px;
|
||||||
width: 70px;
|
width: 70px;
|
||||||
height: 88px;
|
height: 88px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
|
||||||
div#wrap>a>#masha_hand>img#knife {
|
div#wrap > a > #masha_hand > img#knife {
|
||||||
z-index: 100500;
|
z-index: 100500;
|
||||||
left: calc(-112px + 70px - 40px);
|
left: calc(-112px + 70px - 40px);
|
||||||
bottom: calc(-273px + 88px + 35px);
|
bottom: calc(-273px + 88px + 35px);
|
||||||
width: 112px;
|
width: 112px;
|
||||||
height: 273px;
|
height: 273px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
|
||||||
header {
|
header {
|
||||||
z-index : 5000;
|
z-index: 5000;
|
||||||
width: 800px;
|
width: 800px;
|
||||||
height: 100px;
|
height: 100px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
display : flex;
|
display: flex;
|
||||||
border-radius: 3px 3px 0 0;
|
border-radius: 3px 3px 0 0;
|
||||||
background-color: var(--background-dark);
|
background-color: var(--background-dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
header>h1 {
|
header > h1 {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
font-size: 2.5rem;
|
font-size: 2.5rem;
|
||||||
color: var(--text-light);
|
color: var(--text-light);
|
||||||
}
|
}
|
||||||
|
|
||||||
main {
|
main {
|
||||||
z-index : 1000;
|
z-index: 1000;
|
||||||
width: 800px;
|
width: 800px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
border-radius: 0 0 3px 3px;
|
border-radius: 0 0 3px 3px;
|
||||||
background-color: var(--background-light)
|
background-color: var(--background-light);
|
||||||
}
|
}
|
||||||
|
|
||||||
main>ol {
|
main > ol {
|
||||||
margin: 50px 100px;
|
margin: 50px 100px;
|
||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
main>ol>li {
|
main > ol > small {
|
||||||
padding-left: 40px;
|
margin-left: 10px;
|
||||||
margin-bottom: 8px;
|
margin-top: 20px;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
main>ol>li::marker {
|
main > ol > li {
|
||||||
/* font-size: 1.3rem; */
|
padding-left: 40px;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
main > ol > li::marker {
|
||||||
|
/* font-size: 1.3rem; */
|
||||||
}
|
}
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
z-index : 3000;
|
z-index: 3000;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 800px) {
|
@media (max-width: 800px) {
|
||||||
body {
|
body {
|
||||||
padding-bottom: unset;
|
padding-bottom: unset;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -187,4 +187,8 @@
|
||||||
<li>мозг данила</li>
|
<li>мозг данила</li>
|
||||||
<li>декоммунизация декапитализация + дековидизация</li>
|
<li>декоммунизация декапитализация + дековидизация</li>
|
||||||
<li>мы скоро закроемся</li>
|
<li>мы скоро закроемся</li>
|
||||||
|
<small>2023.04.13</small>
|
||||||
|
<li>мелкий здарова</li>
|
||||||
|
<li><a href="https://vk.com/id214547089">даниил_богданов</a> разрабатывает госуслуги бля</li>
|
||||||
|
<li>ванда привет)</li>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
Loading…
Reference in New Issue