8000 Update site to look better on IE. · f2er/jquery.transit@b03730c · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b03730c

Browse files
committed
Update site to look better on IE.
1 parent 4b27522 commit b03730c

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

site/index.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ title: Your new Proton site
279279
.code
280280
%h3 Custom duration (jQuery style)
281281
%pre
282-
!= "$('.box').transition({ opacity: 0 }, <b>'fast'</b>);"
282+
!= "$('.box').transition({ opacity: 0 }, <b>'slow'</b>);"
283283

284284
.field{style: 'height: 150px'}
285285
.box{style: 'left: 180px; top: 45px;'}

site/style.sass

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
$liteslate: #7bd
66
$slate: #7bd
77
$box: #7bd
8+
$bg: #fafafa
89
$yellow: #fafae0
910

1011
html, body
@@ -18,7 +19,7 @@ body, td, label
1819
body
1920
line-height: 1.5
2021
color: #555
21-
background: #fafafa
22+
background: $bg
2223
text-shadow: 1px 1px 0 rgba(white, 0.4)
2324

2425
#all
@@ -138,8 +139,8 @@ article
138139
display: block
139140
position: absolute
140141
+border-radius(2px)
141-
background: rgba($box, 0.8)
142-
+box-shadow(inset 0 0 2px rgba(white, 0.5))
142+
background: $box
143+
+box-shadow(inset 1px 1px 0 rgba(white, 0.3))
143144
border: solid 1px $box
144145

145146
.ghost
@@ -155,14 +156,14 @@ h2
155156
+border-radius(2px)
156157
margin-bottom: -10px
157158
border-bottom: solid 1px rgba($slate, 0.1)
158-
background: rgba($slate, 0.1)
159+
background: mix($slate, $bg, 20%)
159160
line-height: 20pt
160161

161162
font-weight: 800
162163

163164
h2 + .info
164165
margin-top: 10px
165-
background: rgba($slate, 0.08)
166+
background: mix($slate, $bg, 8%)
166167
padding: 10px 50px
167168
text-align: center
168169
margin-bottom: -10px

0 commit comments

Comments
 (0)
0