mirror of
https://github.com/zyllian/webdog.git
synced 2025-05-10 02:26:42 -07:00
make the site not take up the full width of the screen
This commit is contained in:
parent
0a551c3091
commit
772764ea91
1 changed files with 15 additions and 1 deletions
|
@ -38,8 +38,17 @@ a {
|
||||||
}
|
}
|
||||||
|
|
||||||
#content {
|
#content {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
main.page {
|
main.page {
|
||||||
margin: 0 8px 8px 8px;
|
$width: 8px;
|
||||||
|
$max-width: 700px;
|
||||||
|
|
||||||
|
margin: 0 $width $width $width;
|
||||||
|
width: calc(100% - $width * 2);
|
||||||
|
max-width: $max-width;
|
||||||
}
|
}
|
||||||
|
|
||||||
.index-info {
|
.index-info {
|
||||||
|
@ -155,6 +164,11 @@ abbr {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.docs-links {
|
||||||
|
margin-top: 8px;
|
||||||
|
margin-bottom: -8px;
|
||||||
|
}
|
||||||
|
|
||||||
.float-left {
|
.float-left {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue