Skip to content

Commit 5ebfa18

Browse files
committed
Fixed header nav menu
Signed-off-by: Daniell Mesquita <[email protected]>
1 parent 4208932 commit 5ebfa18

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

content.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@
109109
"size": 0
110110
},
111111
"css/page-common.css": {
112-
"sha512": "89a7be24f71e6069c753d670a388b626bcccd0ac70f3b769ae7f45cd34dbf938",
113-
"size": 11094
112+
"sha512": "52d6a7d4242f9858ff0dd3602437395a1cbfab80a9e7aaed9658c85132f135fa",
113+
"size": 11234
114114
},
115115
"css/page-custom.css": {
116116
"sha512": "cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce",
@@ -451,11 +451,11 @@
451451
},
452452
"ignore": "(^.git)",
453453
"inner_path": "content.json",
454-
"modified": 1540075187,
454+
"modified": 1540083442,
455455
"postmessage_nonce_security": true,
456456
"signers_sign": "GxPcc7gTaIO5FSW0SpB7qerY9S/GUhbzfpFhwN4+XFtcGjd0U9gPPLi0Tm9ddT01FEG1lt/49XGoGPIxz2o81qs=",
457457
"signs": {
458-
"1Fmwk685eaX7GjoQ7JKo3QvywizGfnYRCB": "HMSCQ17AQKeq/hg6dTeV6UbnyAaO/mM4hGhh59uvGp1ZI3UYUOUYnNmgpOpAc0MVwzeE73fRrI8vDiHUJ7rYnlQ="
458+
"1Fmwk685eaX7GjoQ7JKo3QvywizGfnYRCB": "G/gfdEJM7Ywvzd8xWV8f4aGtQLv4+uk8lhnYMHquz3VuceSPwHTMoN3ZLNCn2YDdUbhnPoSyaPIko1HgmGyW+Fw="
459459
},
460460
"signs_required": 1,
461461
"title": "Framework.js",

css/page-common.css

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,18 +92,18 @@ code {
9292
.textarea, textarea:hover{border:1px solid transparent}
9393
.textarea, textarea:focus{background:transparent}
9494

95-
button {
95+
button:not(.md-button) {
9696
border: 1px solid #333;
9797
border-radius: 4px;
9898
background: #ddd;
9999
color: #000;
100100
padding: 5px
101101
}
102-
button:hover {
102+
button:not(.md-button):hover {
103103
background: #000;
104104
color: #ddd
105105
}
106-
button:active {
106+
button:not(.md-button):active {
107107
filter: opacity(0.5)
108108
}
109109
button.color{background:#00A185;color:#fff;font-weight:bold;padding:10px;font-size:16px}
@@ -190,7 +190,10 @@ header nav ul li {
190190
display: inline-block;
191191
position: relative;
192192
color: #fff!important;
193-
padding: 1px 5px 1px 5px;
193+
padding: 0 5px 1px 5px;
194+
-moz-user-select: none;
195+
-webkit-user-select: none;
196+
user-select: none;
194197
}
195198

196199
header nav ul li:hover {
@@ -215,13 +218,13 @@ header nav ul a.active {
215218
pointer-events: none;
216219
}
217220

218-
header nav > ul > a > li > div {
221+
header nav ul li div {
219222
height: 40px;
220223
text-align: center;
221224
font-size: 40px;
222225
}
223226

224-
header nav > ul > a > li > p {
227+
header nav ul li p {
225228
font-size: 15px;
226229
-webkit-font-smoothing: antialiased;
227230
width: 100%;
@@ -232,7 +235,7 @@ header nav > ul > a > li > p {
232235
color: #fff;
233236
}
234237

235-
header nav > ul > a > li > div > i {
238+
header nav ul li div i {
236239
font-size: 35px;
237240
}
238241

0 commit comments

Comments
 (0)