diff --git a/Website/wwwroot/css/blog.less b/Website/wwwroot/css/blog.less index b4a6676..005c1c3 100644 --- a/Website/wwwroot/css/blog.less +++ b/Website/wwwroot/css/blog.less @@ -1,24 +1,44 @@ -.ng-leave { - opacity: 1; -} -.ng-leave.ng-leave-active { - opacity: 0; -} -.ng-enter { - opacity: 0; -} -.ng-enter.ng-enter-active { - opacity: 1; -} -.ng-hide-add { - opacity: 1; -} -.ng-hide-add.ng-hide-add-active { - opacity: 0; -} -.ng-hide-remove { - opacity: 0; -} -.ng-hide-remove.ng-hide-remove-active { - opacity: 1; +@import "colours.less"; + +.code { + border: 4px solid @control; + background: @control2; + border-radius: 4px; + margin: 0; + overflow: auto; + + ol { + list-style-position: inside; + padding: 0; + margin: 0; + } + + li { + background: @control; + padding: 1px; + + >div { + display: inline; + } + + &:nth-child(2n) { + background: @control2; + } + } } + +.image { + padding: 5px; + background: @control2; + display: inline-block; + text-align: center; + max-width: 100%; + + img { + display: block; + } + + span { + font-size: 0.8em; + } +} \ No newline at end of file