css + правила

This commit is contained in:
Arsen Mirzaev Tatyano-Muradovich 2023-04-13 17:13:44 +10:00
parent 4b66a8cf7d
commit 91a08c1b66
2 changed files with 125 additions and 118 deletions

View File

@ -1,49 +1,45 @@
@font-face {
font-family: comissioner;
src: url('/fonts/commissioner.ttf') format('ttf');
src: url("/fonts/commissioner.ttf") format("ttf");
font-weight: normal;
font-style: normal;
}
:root {
--button-light-red-active: #eee4e4;
--button-light-red-hover: #ddcbcb;
--button-light-red: #eadada;
--background-light : #fff;
--background : #f00;
--background-dark : #000;
--text : #020202;
--text-light : #fafafa;
--text-hover : #fff;
--text-active : #d0d0d0;
--red-light-1 : #dc4343;
--red-light : #bf3737;
--red : #a43333;
--red-dark : #8d2a2a;
--background-light: #fff;
--background: #f00;
--background-dark: #000;
--text: #020202;
--text-light: #fafafa;
--text-hover: #fff;
--text-active: #d0d0d0;
--red-light-1: #dc4343;
--red-light: #bf3737;
--red: #a43333;
--red-dark: #8d2a2a;
}
* {
text-decoration: none;
outline : none;
border : none;
color : var(--text);
font-family : commissioner, Roboto, sans-serif;
transition : 0.1s ease-out;
outline: none;
border: none;
color: var(--text);
font-family: commissioner, Roboto, sans-serif;
transition: 0.1s ease-out;
}
.unselectable {
-webkit-touch-callout: none;
-webkit-user-select : none;
-khtml-user-select : none;
-moz-user-select : none;
-ms-user-select : none;
user-select : none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
a {
color: var(--red-light);
}
@ -75,16 +71,16 @@ button[disabled]:is(:hover, :active) {
}
body {
margin : 0;
margin: 0;
padding-top: calc(20vh + 394px);
padding-bottom: 10vh;
display: flex;
flex-direction: column;
background-color : var(--background);
background-color: var(--background);
}
aside {
z-index : 500;
z-index: 500;
}
div#wrap {
@ -93,7 +89,7 @@ div#wrap {
position: absolute;
}
div#wrap>a>img#masha {
div#wrap > a > img#masha {
z-index: 800;
left: 0;
bottom: 0;
@ -101,28 +97,28 @@ div#wrap>a>img#masha {
height: 394px;
position: relative;
cursor: pointer;
animation-direction : alternate;
animation-name : koshka_dancing;
animation-direction: alternate;
animation-name: koshka_dancing;
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;
}
div#wrap>a>#masha_hand {
div#wrap > a > #masha_hand {
left: 0;
bottom: 0;
position: absolute;
cursor: pointer;
animation-direction : alternate;
animation-name : hand_dancing;
animation-direction: alternate;
animation-name: hand_dancing;
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;
left: -30px;
bottom: -5px;
@ -131,7 +127,7 @@ div#wrap>a>#masha_hand>img#hand{
position: absolute;
}
div#wrap>a>#masha_hand>img#knife {
div#wrap > a > #masha_hand > img#knife {
z-index: 100500;
left: calc(-112px + 70px - 40px);
bottom: calc(-273px + 88px + 35px);
@ -141,45 +137,52 @@ div#wrap>a>#masha_hand>img#knife {
}
header {
z-index : 5000;
z-index: 5000;
width: 800px;
height: 100px;
margin: 0 auto;
display : flex;
display: flex;
border-radius: 3px 3px 0 0;
background-color: var(--background-dark);
}
header>h1 {
header > h1 {
margin: auto;
font-size: 2.5rem;
color: var(--text-light);
}
main {
z-index : 1000;
z-index: 1000;
width: 800px;
margin: 0 auto;
border-radius: 0 0 3px 3px;
background-color: var(--background-light)
background-color: var(--background-light);
}
main>ol {
main > ol {
margin: 50px 100px;
font-size: 1.2rem;
}
main>ol>li {
main > ol > small {
margin-left: 10px;
margin-top: 20px;
margin-bottom: 8px;
display: block;
}
main > ol > li {
padding-left: 40px;
margin-bottom: 8px;
}
main>ol>li::marker {
main > ol > li::marker {
/* font-size: 1.3rem; */
}
footer {
z-index : 3000;
z-index: 3000;
}
@media (max-width: 800px) {

View File

@ -187,4 +187,8 @@
<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>