diff --git a/css/main.css b/css/main.css index 5ac63e7..41b523c 100644 --- a/css/main.css +++ b/css/main.css @@ -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 { diff --git a/pages/projects.md b/pages/projects.md index 6823dcb..62866e0 100644 --- a/pages/projects.md +++ b/pages/projects.md @@ -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 ? +
+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 ? +
### Used skills - Unity 3D game engine diff --git a/scss/section.scss b/scss/section.scss index a90c650..dbb59e4 100644 --- a/scss/section.scss +++ b/scss/section.scss @@ -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;