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
106b56a4
Commit
106b56a4
authored
Jan 19, 2012
by
Kyle Fiedler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added more styles for the marketing pages
parent
7ec5dfae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
5 deletions
+19
-5
mitx_global.html
+1
-1
sass/_index.scss
+18
-4
No files found.
mitx_global.html
View file @
106b56a4
<
%
inherit
file=
"marketing.html"
/>
<header
class=
"announcement"
>
<header
class=
"announcement
home
"
>
<div
class=
"anouncement-wrapper"
>
<nav>
<a
class=
"modal login"
href=
"#login"
>
Log In
</a>
...
...
sass/_index.scss
View file @
106b56a4
...
...
@@ -65,9 +65,24 @@ header.announcement {
color
:
#fff
;
border-bottom
:
1px
solid
#000
;
background
:
#e3e3e3
;
@include
background-size
(
cover
);
&
.home
{
@media
screen
and
(
min-width
:
1200px
)
{
background
:
#e3e3e3
url("/static/images/marketing/shot-1-large.jpg")
;
}
@media
screen
and
(
max-width
:
1199px
)
and
(
min-width
:
700px
)
{
background
:
#e3e3e3
url("/static/images/marketing/shot-1-medium.jpg")
;
}
// @media screen and (max-width: 699px) {
// background: #e3e3e3 url("/static/images/marketing/course-bg-small.jpg");
// }
}
&
.course
{
@include
background-size
(
cover
);
@media
screen
and
(
min-width
:
1200px
)
{
background
:
#e3e3e3
url("/static/images/marketing/course-bg-large.jpg")
;
...
...
@@ -151,14 +166,13 @@ header.announcement {
a
{
@extend
.button
;
background-color
:
#fff
;
color
:
#333
;
background-color
:
darken
(
$mit-red
,
20%
);
display
:
block
;
padding
:
lh
(
.5
)
lh
();
text-align
:
center
;
&
:hover
{
background-color
:
rgba
(
#fff
,
.8
);
background-color
:
darken
(
$mit-red
,
10%
);
}
}
}
...
...
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