1
0
mirror of https://github.com/LearnOpenGL-CN/LearnOpenGL-CN.git synced 2025-08-23 12:45:29 +08:00

Fix the style of images

This commit is contained in:
Meow J
2016-07-04 22:02:19 +08:00
parent 4a75ca8eb6
commit e36bb6ec2e
4 changed files with 42 additions and 7 deletions

View File

@@ -46,10 +46,45 @@ div.admonition code {
font-family: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
}
.rst-content img {
display: block;
margin-left: auto;
margin-right: auto;
img {
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 {