-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #327 from deislabs/mobile-layout
[300] edit mobile styles for porter.sh
- Loading branch information
Showing
6 changed files
with
150 additions
and
131 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
docs/resources/_gen/assets/scss/sass/styles.scss_b95b077eb505d5c0aff8055eaced30ad.content
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,91 +1,90 @@ | ||
#footer { | ||
background-color: white; | ||
border-top: 2px solid rgba(0,0,0,0.05); | ||
position: relative; | ||
min-height: 3rem; | ||
padding-top: 3rem; | ||
.deislabs { | ||
width: 5.5rem; | ||
height: 7.3rem; | ||
display: inline-block; | ||
position: absolute; | ||
top: -4rem; | ||
#footer { | ||
background-color: white; | ||
border-top: 2px solid rgba(0,0,0,0.05); | ||
position: relative; | ||
min-height: 3rem; | ||
|
||
span { | ||
background: url('/src/img/deislabs.svg') no-repeat center bottom; | ||
width: 100%; | ||
height: 3rem; | ||
background-size: contain; | ||
display: inline-block; | ||
text-indent: -999em; | ||
position: absolute; | ||
bottom: 0; | ||
@include transition; | ||
} | ||
.deislabs { | ||
width: 5.5rem; | ||
height: 7.3rem; | ||
display: inline-block; | ||
position: absolute; | ||
top: 1rem; | ||
margin-bottom: 1.25rem; | ||
|
||
em { | ||
width: 3rem; | ||
height: 3rem; | ||
display: inline-block; | ||
position: absolute; | ||
background-blend-mode: multiply; | ||
mix-blend-mode: multiply; | ||
content: " "; | ||
@include transition(all, 0.3s, ease-in-out); | ||
|
||
&.dl-tr { | ||
background: url('/src/img/deislabs-tr.svg') no-repeat 50% 50%; | ||
background-size: contain; | ||
left: 0; | ||
top: 0; | ||
} | ||
span { | ||
background: url(../src/img/deislabs.svg) no-repeat center bottom; | ||
width: 100%; | ||
height: 3rem; | ||
background-size: contain; | ||
display: inline-block; | ||
text-indent: -999em; | ||
position: absolute; | ||
bottom: 0; | ||
@include transition; | ||
} | ||
|
||
&.dl-sq { | ||
background: url('/src/img/deislabs-sq.svg') no-repeat 50% 50%; | ||
background-size: contain; | ||
right: 0; | ||
bottom: 1.8rem; | ||
} | ||
em { | ||
width: 3rem; | ||
height: 3rem; | ||
display: inline-block; | ||
position: absolute; | ||
background-blend-mode: multiply; | ||
mix-blend-mode: multiply; | ||
content: " "; | ||
@include transition(all, 0.3s, ease-in-out); | ||
|
||
&.dl-tr { | ||
background: url(../src/img/deislabs-tr.svg) no-repeat 50% 50%; | ||
background-size: contain; | ||
left: 0; | ||
top: 0; | ||
} | ||
|
||
&.dl-ci { | ||
background: url('/src/img/deislabs-ci.svg') no-repeat 50% 50%; | ||
background-size: contain; | ||
left: 0; | ||
bottom: 1.8rem; | ||
} | ||
} | ||
&.dl-sq { | ||
background: url(../src/img/deislabs-sq.svg) no-repeat 50% 50%; | ||
background-size: contain; | ||
right: 0; | ||
bottom: 1.8rem; | ||
} | ||
|
||
a { | ||
display: inline-block; | ||
width: 5.5rem; | ||
height: 7.3rem; | ||
&.dl-ci { | ||
background: url(../src/img/deislabs-ci.svg) no-repeat 50% 50%; | ||
background-size: contain; | ||
left: 0; | ||
bottom: 1.8rem; | ||
} | ||
} | ||
|
||
&:hover { | ||
em { | ||
&.dl-tr { | ||
left: 2.2rem; | ||
top: 2.5rem; | ||
} | ||
&.dl-sq { | ||
right: 2.5rem; | ||
} | ||
&.dl-ci { | ||
bottom: 4.2rem; | ||
} | ||
} | ||
} | ||
} | ||
a { | ||
display: inline-block; | ||
width: 5.5rem; | ||
height: 7.3rem; | ||
|
||
&:hover { | ||
em { | ||
&.dl-tr { | ||
left: 2.2rem; | ||
top: 2.5rem; | ||
} | ||
&.dl-sq { | ||
right: 2.5rem; | ||
} | ||
&.dl-ci { | ||
bottom: 4.2rem; | ||
} | ||
} | ||
|
||
p { | ||
margin: 1.2rem 0; | ||
padding: 0 0 0 6rem; | ||
font-weight: 400; | ||
font-size: 18pt; | ||
} | ||
|
||
.fa { | ||
font-size: $scalex7; | ||
color: #333; | ||
} | ||
} | ||
} | ||
} | ||
|
||
p { | ||
margin: 2rem 0; | ||
padding: 0 0 0 6rem; | ||
} | ||
|
||
.fa { | ||
font-size: 1em; | ||
color: #333; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,5 +45,4 @@ $npm : '../../../../../node_modules'; | |
|
||
html { | ||
background: white !important; | ||
|
||
} |