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;
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-left: -23px;
width: 100%;
@ -400,7 +407,7 @@ nav#top:hover, nav#top:active {
background-image: url("/img/ui/bggray.png");
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;
}
#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.
>Adventurers are coming to get your treasure, you are controlling your ultimate weapon to protect it : the Boss.
>
>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!).
You can get gold by killing enemies (by attacking them or by activating traps while enemies are on it).
>
>How long will you resist ?
<blockquote>
Adventurers are coming to get your treasure, you are controlling your ultimate weapon to protect it : the Boss.<br/>
<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).<br/>
<br/>
How long will you resist ?
</blockquote>
### Used skills
- Unity 3D game engine

View File

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