1
0
mirror of https://github.com/LearnOpenGL-CN/LearnOpenGL-CN.git synced 2025-08-23 04:35:28 +08:00

Fix the style of images

This commit is contained in:
Meow J
2016-07-04 21:50:04 +08:00
parent d612a6cc91
commit 39e8926238
4 changed files with 42 additions and 6 deletions

View File

@@ -43,11 +43,47 @@ div.admonition code {
}
img {
display: block;
margin-left: auto;
margin-right: auto;
display: block;
margin-left: auto;
margin-right: auto;
border-radius: 7px;
border: 3px solid #bbb;
}
img.clean {
border: 0px;
}
img.left {
float: left;
margin: 10px;
border: 2px solid #bbb;
border-radius: 3px;
margin-right: 20px;
}
img.right {
float: right;
margin: 10px;
margin-left: 20px;
}
img.small {
width: 150px;
height: auto;
}
img.medium {
width: 300px;
height: auto;
}
img.large {
width: 500px;
height: auto;
}
video {
display: block;
margin-left: auto;