Skip to content

Commit 1e2e047

Browse files
committed
fixes css
2 parents eeae47c + 92fd71e commit 1e2e047

File tree

6 files changed

+53
-29
lines changed

6 files changed

+53
-29
lines changed

css/app.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

html/index.jade

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ html(lang='en')
2727
meta(property='og:image:width', content='1200')
2828
meta(property='og:image:height', content='630')
2929

30+
// Just for debugging purposes. Don't actually copy this line!
31+
| <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
32+
link(rel="stylesheet", type="text/css", href="//cloud.typography.com/7834932/650606/css/fonts.css")
33+
link(rel="stylesheet", type="text/css", href="//fonts.googleapis.com/css?family=Roboto+Mono")
34+
3035

3136
link(rel="stylesheet", href="/css/bootstrap.min.css")
3237

@@ -57,10 +62,6 @@ html(lang='en')
5762
meta(name='msapplication-TileImage', content='/img/favicon/ms-icon-144x144.png')
5863
meta(name='theme-color', content='#000000')
5964

60-
// Just for debugging purposes. Don't actually copy this line!
61-
| <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
62-
link(rel="stylesheet", type="text/css", href="//cloud.typography.com/7834932/650606/css/fonts.css")
63-
link(rel="stylesheet", type="text/css", href="//fonts.googleapis.com/css?family=Roboto+Mono")
6465

6566
// HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries
6667
| <!--[if lt IE 9]><script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script><script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script><![endif]-->
@@ -124,6 +125,17 @@ html(lang='en')
124125
p.paragraph-2
125126
span JWT.IO allows you to decode, verify and generate JWT.
126127

128+
section.update-site
129+
i.icon-budicon-697
130+
strong We updated JWT.IO.
131+
span Cum sociis natoque penatibus et magnis dis parturient montes.
132+
a(href="")
133+
| Learn More
134+
svg(height='48', viewbox='0 0 48 48', width='48', xmlns='http://www.w3.org/2000/svg')
135+
path(d='M-838-2232H562v3600H-838z', fill='none')
136+
path(d='M16 10v28l22-14z')
137+
path(d='M0 0h48v48H0z', fill='none')
138+
127139
section#debugger.debugger-jwt
128140
.container
129141
//- a(name='debugger')

html/libraries/js.jade

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ article.jwt-js.accordion(data-accordion)
8080
| Kenji Urushima
8181
span.stars(data-repo='kjur/jsjws', style='display: inline;')
8282
i.icon-budicon-466
83+
span
8384
.repository
8485
i.icon-1392070209-icon-social-github
8586
a(href='https://github.com/kjur/jsjws') View Repo

index.html

Lines changed: 3 additions & 2 deletions
Large diffs are not rendered by default.

js/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ $('.stars').each(function(idx, element){
669669
var repo = $el.attr('data-repo');
670670

671671
if (repo){
672-
$.getJSON('//api.github.com/repos/' + repo, function(repoData){
672+
$.getJSON('https://api.github.com/repos/' + repo, function(repoData){
673673
var $count = $('<span>');
674674
$count.text(repoData.stargazers_count);
675675

stylus/app.styl

Lines changed: 31 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ webfont('DINCondensedBold', 'DINCondensedBold', 'normal')
3030
html
3131
position relative
3232
min-height 100%
33+
-webkit-font-smoothing: antialiased;
3334

3435
body
3536
font-family: 'Whitney SSm A', 'Whitney SSm B', "Helvetica Neue", Helvetica, Arial, sans-serif;
@@ -43,6 +44,9 @@ code
4344
code
4445
font-size 80%
4546

47+
a
48+
color: darken(#00b9f1, 20%)
49+
4650
.container
4751
width 100%
4852
max-width 1200px
@@ -264,12 +268,12 @@ body
264268
.banner-jwt
265269
background black
266270
text-align center
267-
-webkit-backface-visibility: hidden;
268-
-webkit-transform: translateZ(0);
271+
-webkit-backface-visibility hidden
272+
-webkit-transform translateZ(0)
269273
+breakpoint("tablet")
270274
padding 140px 0 60px
271275
+breakpoint("desktop")
272-
padding 200px 0 100px
276+
padding 150px 0 40px
273277

274278
p span
275279
opacity: 0;
@@ -296,23 +300,29 @@ body
296300
svg
297301
width 70px
298302
display block
299-
margin-bottom 20px
300303
+breakpoint("desktop")
301-
width 90px
302-
303-
svg
304-
g#group
305-
perspective 1000
306-
-webkit-perspective 100
307-
webkit-transform-style: preserve-3d;
308-
transform-style: preserve-3d;
309-
path:nth-child(1)
310-
backface-visibility: hidden;
311-
transform-style: preserve-3d;
312-
transform(perspective(400) translate3d(0, 0, -120px))
313-
314-
304+
width 80px
315305

306+
.update-site
307+
background: #e3e5e7
308+
padding: 16px 20px;
309+
font-size: 13px;
310+
text-align: center;
311+
color: darken(#e3e5e7, 70%)
312+
i
313+
margin-right: 4px;
314+
display: inline-block
315+
position: relative;
316+
bottom: -2px;
317+
font-size: 14px;
318+
a
319+
text-decoration: none;
320+
font-weight: bold
321+
svg
322+
fill: darken(#00b9f1, 20%)
323+
height: 14px;
324+
width: 12px;
325+
margin-bottom: -3px;
316326
// debugger-jwt
317327

318328
.jwt-select
@@ -475,7 +485,7 @@ body
475485
// libraries-jwt
476486

477487
.libraries-jwt
478-
background-color #EAEAEA
488+
background-color #e3e5e7
479489

480490
@media (max-width: 767px)
481491
padding-bottom 0
@@ -665,7 +675,7 @@ body
665675
.maintainer
666676
float left
667677
font-size 12px
668-
margin-top 3px
678+
margin-top 4px
669679
i
670680
vertical-align middle
671681
margin-right 2px
@@ -683,7 +693,7 @@ body
683693
vertical-align middle
684694
margin-right 5px
685695
a
686-
font-size 13px
696+
font-size 12px
687697
color #4A4A4A
688698
text-decoration none
689699

0 commit comments

Comments
 (0)