Minor style & blockquote fixes

This commit is contained in:
Crom (Thibaut CHARLES) 2018-05-17 12:01:21 +02:00
parent 2f6a5cd09c
commit 5e426340c2
Signed by: tcharles
GPG Key ID: 45A3D5F880B9E6D0
3 changed files with 53 additions and 32 deletions

View File

@ -389,7 +389,14 @@ nav#top:hover, nav#top:active {
padding-bottom: 20px; padding-bottom: 20px;
border-radius: 0 0 20px 20px; border-radius: 0 0 20px 20px;
} }
#section-main article .markdown > div.content > pre { #section-main article code {
font-size: 0.9em;
padding: 0 0.45em;
border-radius: 5px;
background-color: #ccc;
border: 1px solid #888;
}
#section-main article pre {
margin: 0; margin: 0;
margin-left: -23px; margin-left: -23px;
width: 100%; width: 100%;
@ -400,7 +407,7 @@ nav#top:hover, nav#top:active {
background-image: url("/img/ui/bggray.png"); background-image: url("/img/ui/bggray.png");
box-shadow: 0px 0px 10px #000 inset; box-shadow: 0px 0px 10px #000 inset;
} }
#section-main article .markdown > div.content > pre code, #section-main article .markdown > div.content > pre pre { #section-main article pre code, #section-main article pre pre {
margin-bottom: 0px; margin-bottom: 0px;
} }
#section-main article figure { #section-main article figure {

View File

@ -401,12 +401,14 @@ Ludum Dare is an online community best known for “Ludum Dare”, the Accelerat
For the Ludum Dare 32 (April 2015), _Thomas Abot_ and I developed a little game on the theme _"An Unconventional Weapon"_, using the Unity 3D game engine. For the Ludum Dare 32 (April 2015), _Thomas Abot_ and I developed a little game on the theme _"An Unconventional Weapon"_, using the Unity 3D game engine.
>Adventurers are coming to get your treasure, you are controlling your ultimate weapon to protect it : the Boss. <blockquote>
> Adventurers are coming to get your treasure, you are controlling your ultimate weapon to protect it : the Boss.<br/>
>You are controlling the Boss and you need to end up with as much waves of enemies as possible. To help you, you can place walls to block enemies, traps (who can be activated by clicking on it) to damage enemies, and hire goblins to help you (but beware not hurting them!). <br/>
You can get gold by killing enemies (by attacking them or by activating traps while enemies are on it). You are controlling the Boss and you need to end up with as much waves of enemies as possible. To help you, you can place walls to block enemies, traps (who can be activated by clicking on it) to damage enemies, and hire goblins to help you (but beware not hurting them!).<br/>
> You can get gold by killing enemies (by attacking them or by activating traps while enemies are on it).<br/>
>How long will you resist ? <br/>
How long will you resist ?
</blockquote>
### Used skills ### Used skills
- Unity 3D game engine - Unity 3D game engine

View File

@ -244,39 +244,51 @@ $ArticleMaxWidth: 800px;
} }
} }
} &:first-child{
.cinema:first-child{ margin-top: -23px;
margin-top: -23px; padding-top: 20px;
padding-top: 20px; border-radius: 20px 20px 0 0;
border-radius: 20px 20px 0 0; }
} &:last-child{
.cinema:last-child{ margin-bottom: -23px;
margin-bottom: -23px; padding-bottom: 20px;
padding-bottom: 20px; border-radius: 0 0 20px 20px;
border-radius: 0 0 20px 20px; }
} }
.markdown>div.content{ code {
>pre{ font-size: 0.9em;
margin: 0; padding: 0 0.45em;
margin-left: -23px; border-radius: 5px;
width: 100%;
padding: 10px 23px;
border-top: 1px solid #000; background-color: #ccc;
border-bottom: 1px solid #000; border: 1px solid #888;
}
color: $ClrWhite; // Code blocks
pre{
margin: 0;
margin-left: -23px;
width: 100%;
padding: 10px 23px;
background-image: url("#{$ImgPath}/ui/bggray.png"); border-top: 1px solid #000;
box-shadow: 0px 0px 10px #000 inset; border-bottom: 1px solid #000;
code, pre{ color: $ClrWhite;
margin-bottom: 0px;
} background-image: url("#{$ImgPath}/ui/bggray.png");
box-shadow: 0px 0px 10px #000 inset;
code, pre{
margin-bottom: 0px;
} }
} }
figure{ figure{
margin-bottom: 15px; margin-bottom: 15px;