Application du patch de EpicKiwi
This commit is contained in:
parent
774f9b9218
commit
f3e4293ff5
8 changed files with 660 additions and 1 deletions
|
|
@ -75,10 +75,12 @@ footer {
|
|||
text-align: center;
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
align-items: end;
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
footer {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
112
css/guide.css
Normal file
112
css/guide.css
Normal file
|
|
@ -0,0 +1,112 @@
|
|||
body {
|
||||
background-image: radial-gradient(at left top, #058C9E, #BC5180);
|
||||
background-repeat: no-repeat;
|
||||
background-attachment: fixed;
|
||||
}
|
||||
|
||||
main {
|
||||
width: 100%;
|
||||
max-width: 800px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
background: none;
|
||||
padding-bottom: 100px;
|
||||
font-family: Erika;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
main > * {
|
||||
width: 100%;
|
||||
background: linear-gradient(to top, rgba(255,255,255,0.5)), url(../assets/notebook.jpg), white;
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
background-size: 100% auto;
|
||||
padding-bottom: 1em;
|
||||
filter: drop-shadow(5px 3px 2px #000000b7);
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
z-index: 1;
|
||||
position: relative;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
main > img {
|
||||
object-fit: scale-down;
|
||||
}
|
||||
|
||||
main > .sticker {
|
||||
background: none;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
main > *.draggable:not(.sticker) {
|
||||
|
||||
&:not(h2) {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&:not(h1):not(h2):hover {
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
main ul,
|
||||
main ol,
|
||||
main dl {
|
||||
padding-left: calc(1em + 15px);
|
||||
}
|
||||
|
||||
main h1 {
|
||||
text-align: center;
|
||||
font-size: 4rem;
|
||||
}
|
||||
|
||||
main h1,
|
||||
main h2 {
|
||||
background: none;
|
||||
padding-top: 1.5em;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 800px) {
|
||||
main h2 {
|
||||
padding-left: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
main h1 + *,
|
||||
main h2 + * {
|
||||
padding-top: 1em;
|
||||
}
|
||||
|
||||
main h1 small {
|
||||
display: block;
|
||||
background: url(../assets/notebook.jpg);
|
||||
color: black;
|
||||
font-family: Erika;
|
||||
font-size: 2.5rem;
|
||||
width: fit-content;
|
||||
max-width: 90%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
transform: translateY(-0.3em) rotate(-2deg);
|
||||
}
|
||||
|
||||
main pre {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
main a {
|
||||
text-decoration: underline;
|
||||
color: teal;
|
||||
}
|
||||
|
||||
main a:visited {
|
||||
color: rebeccapurple;
|
||||
}
|
||||
|
||||
footer {
|
||||
padding: 1em;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue