Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Minor style updates

  • Loading branch information...
commit b155ed2d553a729752f9869c9b0537adb0061fda 1 parent 3d5743a
@ZhangYiJiang ZhangYiJiang authored
Showing with 20 additions and 2 deletions.
  1. +20 −2 site/style/garden.css
View
22 site/style/garden.css
@@ -90,11 +90,12 @@ nav > div li a, #top, #hide_menu {
padding: 8px 6px 7px;
cursor: pointer;
font-size: 12px;
+ font-weight: bold;
}
nav > div li.active a {
border-top: 4px solid #0D2E4C;
- padding-top: 3px;
+ padding-top: 4px;
color: #FFC76D;
}
@@ -113,6 +114,7 @@ nav > div li.active a {
#nav_main > div ul {
float: left;
+ width: 200px;
}
nav li {
@@ -186,6 +188,9 @@ nav a:hover, nav ul.active a:hover, nav a, nav li {
-o-transition-property: background-color, color;
-o-transition-duration: 0.3s;
+
+ transition-property: background-color, color;
+ transition-duration: 0.3s;
}
#nav_mobile {
@@ -445,6 +450,19 @@ a abbr {
margin-left: 30px;
margin-right: 0;
}
+
+ #nav_main > div ul {
+ width: auto;
+ }
+
+ nav > div li a, #top, #hide_menu {
+ font-size: 14px;
+ padding: 12px 12px 10px;
+ }
+
+ nav > div li.active a {
+ padding-top: 8px;
+ }
#nav_main {
display: none;
@@ -583,7 +601,7 @@ screen and (-webkit-min-device-pixel-ratio: 2) {
}
#nav_main > ul > li {
- width: 80%;
+ width: 25%;
}
#nav_mobile {
Please sign in to comment.
Something went wrong with that request. Please try again.