Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
df65d0e5
Commit
df65d0e5
authored
Feb 16, 2012
by
Kyle Fiedler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mobile edits
--HG-- branch : templates-ky-new-nav
parent
12c1c8be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
15 deletions
+36
-15
sass/layout/_header.scss
+36
-15
No files found.
sass/layout/_header.scss
View file @
df65d0e5
...
@@ -57,16 +57,20 @@ div.header-wrapper {
...
@@ -57,16 +57,20 @@ div.header-wrapper {
}
}
}
}
@media
screen
and
(
max-width
:
920px
)
{
border-bottom
:
1px
solid
darken
(
$mit-red
,
5%
);
@media
screen
and
(
max-width
:
900px
)
{
display
:
block
;
display
:
block
;
float
:
none
;
float
:
none
;
h1
{
h1
{
float
:
righ
t
;
float
:
lef
t
;
border
:
0
;
border
:
0
;
margin-right
:
0
;
// margin-right: 0;
padding-right
:
0
;
// padding-right: 0;
// &:after {
// display: none;
// }
}
}
h2
{
h2
{
...
@@ -79,26 +83,25 @@ div.header-wrapper {
...
@@ -79,26 +83,25 @@ div.header-wrapper {
}
}
nav
{
nav
{
float
:
left
;
display
:
block
;
margin
:
0
;
padding
:
0
;
text-shadow
:
0
-1px
0
darken
(
$mit-red
,
10%
);
-webkit-font-smoothing
:
antialiased
;
-webkit-font-smoothing
:
antialiased
;
background
:
#501016
;
margin-top
:
5px
;
border-bottom
:
1px
solid
darken
(
#501016
,
10%
);
@include
border-radius
(
3px
3px
0
0
);
@include
border-radius
(
3px
3px
0
0
);
@include
box-shadow
(
inset
0
0
0
1px
darken
(
#501016
,
5%
)
,
inset
0
2px
0
lighten
(
#501016
,
5%
));
@include
box-shadow
(
inset
0
0
0
1px
darken
(
#501016
,
5%
)
,
inset
0
2px
0
lighten
(
#501016
,
5%
));
background
:
#501016
;
border-bottom
:
1px
solid
darken
(
#501016
,
10%
);
display
:
block
;
float
:
left
;
margin
:
5px
0
0
;
padding
:
0
;
text-shadow
:
0
-1px
0
darken
(
$mit-red
,
10%
);
ul
{
ul
{
@extend
.clearfix
;
@extend
.clearfix
;
margin
:
0
;
margin
:
0
;
li
{
li
{
display
:
inline-block
;
margin-bottom
:
0
;
line-height
:
lh
();
line-height
:
lh
();
margin-bottom
:
0
;
float
:
left
;
a
{
a
{
color
:
#fff
;
color
:
#fff
;
...
@@ -107,6 +110,10 @@ div.header-wrapper {
...
@@ -107,6 +110,10 @@ div.header-wrapper {
display
:
block
;
display
:
block
;
font-weight
:
bold
;
font-weight
:
bold
;
@media
screen
and
(
max-width
:
1020px
)
{
padding
:
10px
lh
(
.7
)
8px
;
}
&
:hover
{
&
:hover
{
color
:
rgba
(
#fff
,
.7
);
color
:
rgba
(
#fff
,
.7
);
background-color
:
none
;
background-color
:
none
;
...
@@ -116,6 +123,20 @@ div.header-wrapper {
...
@@ -116,6 +123,20 @@ div.header-wrapper {
}
}
}
}
@media
screen
and
(
max-width
:
900px
)
{
width
:
100%
;
float
:
none
;
ul
{
li
{
padding
:
auto
;
display
:
table-cell
;
width
:
16
.6666666667%
;
text-align
:
center
;
}
}
}
.active
{
.active
{
background
:
#F4F4F4
;
background
:
#F4F4F4
;
color
:
#333
;
color
:
#333
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment