hacksrus.uk/style.css

124 lines
2.0 KiB
CSS
Raw Normal View History

2020-08-25 21:00:17 +01:00
@font-face { font-family: open-dyslexic; src: url('fonts/OpenDyslexic3-Regular.ttf'); }
body {
font-family: "Comic Sans MS", "open-dyslexic";
}
2020-08-26 21:30:42 +01:00
blink {
animation: blinker 0.6s linear infinite;
}
@keyframes blinker {
50% {
opacity: 0;
}
}
2018-08-10 23:59:11 +01:00
div.container {
max-width: 800px;
2018-08-10 23:59:11 +01:00
margin: 0 auto;
text-align: center;
2018-08-10 23:59:11 +01:00
}
ul.fisher-price-links {
2018-08-10 23:59:11 +01:00
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
margin: -10px;
padding: 0px;
2018-08-10 23:59:11 +01:00
}
ul.fisher-price-links>li {
margin: 10px;
padding: 3px;
2018-08-10 23:59:11 +01:00
background-color: #adadad;
list-style: none;
box-shadow: 4px 4px;
margin-right: 10px;
transition: all 0.1s ease-in-out;
}
ul.fisher-price-links>li:nth-of-type(4n+1) {
2018-08-10 23:59:11 +01:00
background-color: #ea1a5b;
}
ul.fisher-price-links>li:nth-of-type(4n+2) {
2018-08-10 23:59:11 +01:00
background-color: #f48120;
}
ul.fisher-price-links>li:nth-of-type(4n+3) {
2018-08-10 23:59:11 +01:00
background-color: #73bd45;
}
ul.fisher-price-links>li:nth-of-type(4n) {
2018-08-10 23:59:11 +01:00
background-color: #0862ad;
}
ul.fisher-price-links>li:hover {
2018-08-10 23:59:11 +01:00
transform: translate(-2px, -2px);
box-shadow: 8px 8px;
/*z-index: -1;*/
}
ul.fisher-price-links>li>a {
2018-08-10 23:59:11 +01:00
color: #fff;
text-decoration: none;
2020-08-25 21:00:17 +01:00
font-size: 18px;
}
2020-08-25 20:45:01 +01:00
.left-aligned {
text-align: left;
}
.unicorns {
animation: unicornMode 2s linear 0s infinite;
}
.nested li {
display: block;
position: relative;
}
.nested {
margin-bottom: 0;
counter-reset: number;
}
.parent .nested {
counter-reset: letter;
}
.parent .nested li::before {
content: counter(letter, lower-alpha) ".";
counter-increment: letter;
}
.nested li::before {
content: counter(number) ".";
counter-increment: number;
position: absolute;
margin-right: 100%;
right: 10px;
}
2020-08-29 16:33:55 +01:00
div.code-of-conduct>p, div.code-of-conduct>ul {
text-align: left;
}
@keyframes unicornMode {
from {
color: #6666ff;
}
10% {
color: #0099ff;
}
50% {
color: #00ff00;
}
75% {
color: #ff3399;
}
100% {
color: #6666ff;
}
}