@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;
	}
}