Skip to content

Commit bfe72ab

Browse files
committed
fix css issue and update domain
1 parent bc9b02c commit bfe72ab

File tree

3 files changed

+316
-313
lines changed

3 files changed

+316
-313
lines changed

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
electrode.io

css/electrode-docs.scss

Lines changed: 34 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
---
33

4-
@import 'bourbon';
5-
@import '_variables';
6-
@import '_typography';
7-
@import '_solarized';
8-
@import '_header';
4+
// @import 'bourbon';
5+
@import "_variables";
6+
@import "_typography";
7+
@import "_solarized";
8+
@import "_header";
99

1010
@mixin code-typography {
11-
font-family: 'source-code-pro', Menlo, Consolas, 'Courier New', monospace;
11+
font-family: "source-code-pro", Menlo, Consolas, "Courier New", monospace;
1212
font-size: 13px;
1313
line-height: 1.5;
1414
}
@@ -78,7 +78,12 @@ li + li {
7878

7979
// Make header navigation linkable and on the screen. Used in documentation and
8080
// blog posts.
81-
h1, h2, h3, h4, h5, h6 {
81+
h1,
82+
h2,
83+
h3,
84+
h4,
85+
h5,
86+
h6 {
8287
.anchor {
8388
margin-top: -$navHeight;
8489
position: absolute;
@@ -97,13 +102,13 @@ h1, h2, h3, h4, h5, h6 {
97102
// Main Nav
98103

99104
.nav-main {
100-
@include clearfix;
105+
// @include clearfix;
101106
background: linear-gradient($darkerColor, $darkestColor);
102107
color: $lightTextColor;
103108
position: fixed;
104109
top: 0;
105110
height: $navHeight;
106-
box-shadow: 0 0 5px rgba(0, 0, 0, .5);
111+
box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
107112
width: 100%;
108113
z-index: 100;
109114

@@ -257,7 +262,6 @@ h1, h2, h3, h4, h5, h6 {
257262
border-bottom: 0;
258263
}
259264
}
260-
261265
}
262266

263267
.nav-blog {
@@ -279,7 +283,7 @@ h1, h2, h3, h4, h5, h6 {
279283
}
280284

281285
.skinny-row {
282-
@include clearfix;
286+
// @include clearfix;
283287
}
284288

285289
.skinny-col {
@@ -291,7 +295,8 @@ h1, h2, h3, h4, h5, h6 {
291295
}
292296
}
293297

294-
#examples h3, .home-presentation h3 {
298+
#examples h3,
299+
.home-presentation h3 {
295300
color: $darkColor;
296301
font-size: 24px;
297302
font-weight: normal;
@@ -316,12 +321,12 @@ h1, h2, h3, h4, h5, h6 {
316321
}
317322
input {
318323
border: 1px solid #ccc;
319-
font: 14px proxima-nova, $font-stack-system;
324+
font: 14px proxima-nova;
320325
padding: 3px;
321326
width: 150px;
322327
}
323328
button {
324-
font: 14px proxima-nova, $font-stack-system;
329+
font: 14px proxima-nova;
325330
margin-left: 5px;
326331
padding: 4px 10px;
327332
}
@@ -330,7 +335,7 @@ h1, h2, h3, h4, h5, h6 {
330335
#markdownExample {
331336
textarea {
332337
border: 1px solid #ccc;
333-
font: 14px proxima-nova, $font-stack-system;
338+
font: 14px proxima-nova;
334339
margin-bottom: 10px;
335340
padding: 5px;
336341
}
@@ -342,7 +347,7 @@ h1, h2, h3, h4, h5, h6 {
342347
}
343348

344349
.docs-nextprev {
345-
@include clearfix;
350+
// @include clearfix;
346351
}
347352

348353
.docs-prev {
@@ -370,7 +375,7 @@ section.black content {
370375
*/
371376

372377
.blogContent {
373-
@include clearfix;
378+
// @include clearfix;
374379

375380
padding-top: 20px;
376381

@@ -394,7 +399,7 @@ section.black content {
394399
*/
395400

396401
.documentationContent {
397-
@include clearfix;
402+
// @include clearfix;
398403

399404
.subHeader {
400405
font-size: 24px;
@@ -459,8 +464,8 @@ section.black content {
459464
display: inline-block;
460465
color: $lightTextColor;
461466
text-decoration: none;
462-
text-shadow: 0 1px 3px rgba(0, 0, 0, .3);
463-
box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
467+
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
468+
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
464469
text-decoration: none;
465470

466471
&:hover {
@@ -474,7 +479,7 @@ section.black content {
474479

475480
.hero {
476481
.button {
477-
box-shadow: 1px 3px 3px rgba(0, 0, 0, .3);
482+
box-shadow: 1px 3px 3px rgba(0, 0, 0, 0.3);
478483
}
479484
}
480485

@@ -530,7 +535,7 @@ figure {
530535

531536
h1 {
532537
// Contains .edit-page-link
533-
@include clearfix;
538+
// @include clearfix;
534539
}
535540

536541
.edit-page-link {
@@ -666,7 +671,7 @@ small code,
666671
li code,
667672
p code {
668673
color: #555;
669-
background-color: rgba(0, 0, 0, .04);
674+
background-color: rgba(0, 0, 0, 0.04);
670675
padding: 1px 3px;
671676
}
672677

@@ -701,7 +706,8 @@ p a code {
701706
color: #df2375;
702707
}
703708

704-
.left-side, .right-side {
709+
.left-side,
710+
.right-side {
705711
display: inline-block;
706712
width: 48%;
707713
margin-right: 10px;
@@ -752,13 +758,13 @@ p a code {
752758
}
753759
}
754760

755-
img[alt ^= "OTA:"] {
761+
img[alt^="OTA:"] {
756762
width: 50%;
757-
transition: width .3s ease-in;
763+
transition: width 0.3s ease-in;
758764
display: block;
759765
}
760766

761-
img[alt ^= "OTA:"]:hover {
767+
img[alt^="OTA:"]:hover {
762768
width: 100%;
763-
transition: width .3s ease-in;
769+
transition: width 0.3s ease-in;
764770
}

0 commit comments

Comments
 (0)