Browse Source

update site style

pull/1590/head
afc163 9 years ago
parent
commit
ecfcd7bcc5
  1. 2
      site/common/styles/common.less
  2. 4
      site/common/styles/demo.less

2
site/common/styles/common.less

@ -35,7 +35,7 @@ a {
} }
.main-container { .main-container {
padding: 0 6% 120px; padding: 0 8% 120px 4%;
margin-left: -1px; margin-left: -1px;
background: #fff; background: #fff;
min-height: 500px; min-height: 500px;

4
site/common/styles/demo.less

@ -29,11 +29,11 @@
width: 100%; width: 100%;
position: relative; position: relative;
margin: 0px 0 16px 0px; margin: 0px 0 16px 0px;
transition: all 0.5s ease; transition: all 0.2s ease;
} }
.code-box:hover { .code-box:hover {
border-color: #ccc; box-shadow: 0 0 6px rgba(0,0,0,.15);
} }
.code-box.code-box-target { .code-box.code-box-target {

Loading…
Cancel
Save