@import "colours.less";

.code{
	border:3px solid @control;
	background: @control2;
	border-radius:4px;
	padding:4px;
	margin:0;
	overflow:auto;

	ol{
		list-style-position: inside;
		padding:0;
		margin:0;
	}
	
	li{
		list-style-position: inside;
		background:@control;

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