diff --git a/public/css/gogs.css b/public/css/gogs.css index 6f4979c26..48c3d4052 100644 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -4,14 +4,14 @@ display: inline-block; background-size: contain; } -body { +body:not(.full-width) { font-family: "PingFang SC", "Helvetica Neue", "Microsoft YaHei", Arial, Helvetica, sans-serif !important; background-color: #fff; overflow-y: scroll; overflow-x: auto; min-width: 1020px; } -.ui.container { +.ui.container:not(.fluid) { width: 980px !important; } h1, diff --git a/public/less/_base.less b/public/less/_base.less index 92a0081f2..2c5ee4071 100644 --- a/public/less/_base.less +++ b/public/less/_base.less @@ -1,13 +1,13 @@ @footer-margin: 40px; -body { +body:not(.full-width) { font-family: "PingFang SC", "Helvetica Neue", "Microsoft YaHei", Arial, Helvetica, sans-serif !important; background-color: #fff; overflow-y: scroll; overflow-x: auto; min-width: 1020px; } -.ui.container { +.ui.container:not(.fluid) { width: 980px !important; } h1, h2, h3, h4, h5,