This repository has been archived by the owner on Jan 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extracted more twb specific items into the twb template
- Loading branch information
Showing
81 changed files
with
141 additions
and
171 deletions.
There are no files selected for viewing
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,7 +1,7 @@ | ||
module ThemeHelper | ||
|
||
def theme_stylesheet_link_tag | ||
stylesheet_link_tag "themes/#{current_theme}" | ||
stylesheet_link_tag "themes/#{current_theme}/styles" | ||
end | ||
|
||
end |
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
Binary file not shown.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
This file was deleted.
Oops, something went wrong.
File renamed without changes.
78 changes: 39 additions & 39 deletions
78
public/stylesheets/print.css → public/stylesheets/themes/twb/print.css
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,39 +1,39 @@ | ||
body { | ||
background: white; | ||
font-size: 12pt; | ||
} | ||
|
||
a:link, a:visited { | ||
color: #520; | ||
background: transparent; | ||
font-weight: bold; | ||
text-decoration: underline; | ||
} | ||
|
||
a:link:after, #content a:visited:after { | ||
content: " (" attr(href) ") "; | ||
font-size: 90%; | ||
} | ||
|
||
a[href^="/"]:after { | ||
content: " (http://www.teacherswithoutborders.org" attr(href) ") "; | ||
} | ||
|
||
#header, | ||
#landscape, | ||
#nav, | ||
#subnav, | ||
#footer dl { | ||
display: none; | ||
} | ||
|
||
.content { | ||
width: auto; | ||
margin: 0 5%; | ||
padding: 0; | ||
border: 0; | ||
float: none !important; | ||
color: black; | ||
background: transparent; | ||
|
||
} | ||
body { | ||
background: white; | ||
font-size: 12pt; | ||
} | ||
|
||
a:link, a:visited { | ||
color: #520; | ||
background: transparent; | ||
font-weight: bold; | ||
text-decoration: underline; | ||
} | ||
|
||
a:link:after, #content a:visited:after { | ||
content: " (" attr(href) ") "; | ||
font-size: 90%; | ||
} | ||
|
||
a[href^="/"]:after { | ||
content: " (http://www.teacherswithoutborders.org" attr(href) ") "; | ||
} | ||
|
||
#header, | ||
#landscape, | ||
#nav, | ||
#subnav, | ||
#footer dl { | ||
display: none; | ||
} | ||
|
||
.content { | ||
width: auto; | ||
margin: 0 5%; | ||
padding: 0; | ||
border: 0; | ||
float: none !important; | ||
color: black; | ||
background: transparent; | ||
|
||
} |
18 changes: 9 additions & 9 deletions
18
public/stylesheets/splash1024.css → public/stylesheets/themes/twb/splash1024.css
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,9 +1,9 @@ | ||
#splash{margin:10px auto; width:994px; height:621px; background-image:url(../images/splash.jpg)} | ||
#btn1 {height:65px;left:290px;position:relative;top:183px;width:355px;} | ||
#btn1:hover{border:solid 2px #FFF; background-color:#BBB; opacity:0.1; filter: alpha (opacity=10);} | ||
#btn2 {float:left;height:130px;left:32px;position:relative;top:185px;width:270px;} | ||
#btn2:hover{border:solid 2px #FFF; background-color:#BBB; opacity:0.1; filter: alpha (opacity=10);} | ||
#btn3 {float:left;height:125px;left:58px;position:relative;top:190px;width:270px;} | ||
#btn3:hover{border:solid 2px #FFF; background-color:#BBB; opacity:0.1; filter: alpha (opacity=10);} | ||
#btn4 {float:left;height:130px;left:86px;position:relative;top:185px;width:270px;} | ||
#btn4:hover{border:solid 2px #FFF; background-color:#BBB; opacity:0.1; filter: alpha (opacity=10);} | ||
#splash{margin:10px auto; width:994px; height:621px; background-image:url(../images/splash.jpg)} | ||
#btn1 {height:65px;left:290px;position:relative;top:183px;width:355px;} | ||
#btn1:hover{border:solid 2px #FFF; background-color:#BBB; opacity:0.1; filter: alpha (opacity=10);} | ||
#btn2 {float:left;height:130px;left:32px;position:relative;top:185px;width:270px;} | ||
#btn2:hover{border:solid 2px #FFF; background-color:#BBB; opacity:0.1; filter: alpha (opacity=10);} | ||
#btn3 {float:left;height:125px;left:58px;position:relative;top:190px;width:270px;} | ||
#btn3:hover{border:solid 2px #FFF; background-color:#BBB; opacity:0.1; filter: alpha (opacity=10);} | ||
#btn4 {float:left;height:130px;left:86px;position:relative;top:185px;width:270px;} | ||
#btn4:hover{border:solid 2px #FFF; background-color:#BBB; opacity:0.1; filter: alpha (opacity=10);} |
18 changes: 9 additions & 9 deletions
18
public/stylesheets/splash1280.css → public/stylesheets/themes/twb/splash1280.css
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,9 +1,9 @@ | ||
#splash{margin:10px auto; width:1250px; height:781px; background-image:url(../images/splash1280.jpg)} | ||
#btn1 {height:81px;left:365px;position:relative;top:230px;width:440px;position:relative;} | ||
#btn1:hover{border:solid 2px #FFF; background-color:#BBB; opacity:0.1; filter: alpha (opacity=10);} | ||
#btn2 {float:left;height:160px;left:45px;position:relative;top:237px;width:330px;} | ||
#btn2:hover{border:solid 2px #FFF; background-color:#BBB; opacity:0.1; filter: alpha (opacity=10);} | ||
#btn3 {float:left;height:155px;position:relative;top:240px;width:330px;left:90px;} | ||
#btn3:hover{border:solid 2px #FFF; background-color:#BBB; opacity:0.1; filter: alpha (opacity=10);} | ||
#btn4 {float:left;height:160px;position:relative;top:237px;width:330px;left:133px;} | ||
#btn4:hover{border:solid 2px #FFF; background-color:#BBB; opacity:0.1; filter: alpha (opacity=10);} | ||
#splash{margin:10px auto; width:1250px; height:781px; background-image:url(../images/splash1280.jpg)} | ||
#btn1 {height:81px;left:365px;position:relative;top:230px;width:440px;position:relative;} | ||
#btn1:hover{border:solid 2px #FFF; background-color:#BBB; opacity:0.1; filter: alpha (opacity=10);} | ||
#btn2 {float:left;height:160px;left:45px;position:relative;top:237px;width:330px;} | ||
#btn2:hover{border:solid 2px #FFF; background-color:#BBB; opacity:0.1; filter: alpha (opacity=10);} | ||
#btn3 {float:left;height:155px;position:relative;top:240px;width:330px;left:90px;} | ||
#btn3:hover{border:solid 2px #FFF; background-color:#BBB; opacity:0.1; filter: alpha (opacity=10);} | ||
#btn4 {float:left;height:160px;position:relative;top:237px;width:330px;left:133px;} | ||
#btn4:hover{border:solid 2px #FFF; background-color:#BBB; opacity:0.1; filter: alpha (opacity=10);} |
18 changes: 9 additions & 9 deletions
18
public/stylesheets/splash1440.css → public/stylesheets/themes/twb/splash1440.css
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,9 +1,9 @@ | ||
#splash{margin:10px auto; width:1410px; height:881px; background-image:url(../images/splash1440.jpg)} | ||
#btn1 {left: 418px; top: 260px; height: 93px; width: 489px; position:relative;} | ||
#btn1:hover{border:solid 2px #FFF; background-color:#BBB; opacity:0.1; filter: alpha (opacity=10);} | ||
#btn2 {float:left; left: 52px; top: 263px; height: 184px; width: 369px; position:relative;} | ||
#btn2:hover{border:solid 2px #FFF; background-color:#BBB; opacity:0.1; filter: alpha (opacity=10);} | ||
#btn3 {float:left; left: 105px; top: 271px; height: 176px; width: 369px; position:relative;} | ||
#btn3:hover{border:solid 2px #FFF; background-color:#BBB; opacity:0.1; filter: alpha (opacity=10);} | ||
#btn4 {float:left; left: 160px; top: 263px; height: 184px; width: 369px; position:relative;} | ||
#btn4:hover{border:solid 2px #FFF; background-color:#BBB; opacity:0.1; filter: alpha (opacity=10);} | ||
#splash{margin:10px auto; width:1410px; height:881px; background-image:url(../images/splash1440.jpg)} | ||
#btn1 {left: 418px; top: 260px; height: 93px; width: 489px; position:relative;} | ||
#btn1:hover{border:solid 2px #FFF; background-color:#BBB; opacity:0.1; filter: alpha (opacity=10);} | ||
#btn2 {float:left; left: 52px; top: 263px; height: 184px; width: 369px; position:relative;} | ||
#btn2:hover{border:solid 2px #FFF; background-color:#BBB; opacity:0.1; filter: alpha (opacity=10);} | ||
#btn3 {float:left; left: 105px; top: 271px; height: 176px; width: 369px; position:relative;} | ||
#btn3:hover{border:solid 2px #FFF; background-color:#BBB; opacity:0.1; filter: alpha (opacity=10);} | ||
#btn4 {float:left; left: 160px; top: 263px; height: 184px; width: 369px; position:relative;} | ||
#btn4:hover{border:solid 2px #FFF; background-color:#BBB; opacity:0.1; filter: alpha (opacity=10);} |
18 changes: 9 additions & 9 deletions
18
public/stylesheets/splash800.css → public/stylesheets/themes/twb/splash800.css
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,9 +1,9 @@ | ||
#splash{margin:10px auto; width:770px; height:481px; background-image:url(../images/splash800.jpg)} | ||
#btn1 {height:48px;left:220px;position:relative;top:143px;width:280px;} | ||
#btn1:hover{border:solid 2px #FFF; background-color:#BBB; opacity:0.1; filter: alpha (opacity=10);} | ||
#btn2 {float:left;height:102px;left:27px;position:relative;top:144px;width:204px;} | ||
#btn2:hover{border:solid 2px #FFF; background-color:#BBB; opacity:0.1; filter: alpha (opacity=10);} | ||
#btn3 {float:left;height:95px;left:52px;position:relative;top:150px;width:204px;} | ||
#btn3:hover{border:solid 2px #FFF; background-color:#BBB; opacity:0.1; filter: alpha (opacity=10);} | ||
#btn4 {float:left;height:102px;left:78px;position:relative;top:144px;width:204px;} | ||
#btn4:hover{border:solid 2px #FFF; background-color:#BBB; opacity:0.1; filter: alpha (opacity=10);} | ||
#splash{margin:10px auto; width:770px; height:481px; background-image:url(../images/splash800.jpg)} | ||
#btn1 {height:48px;left:220px;position:relative;top:143px;width:280px;} | ||
#btn1:hover{border:solid 2px #FFF; background-color:#BBB; opacity:0.1; filter: alpha (opacity=10);} | ||
#btn2 {float:left;height:102px;left:27px;position:relative;top:144px;width:204px;} | ||
#btn2:hover{border:solid 2px #FFF; background-color:#BBB; opacity:0.1; filter: alpha (opacity=10);} | ||
#btn3 {float:left;height:95px;left:52px;position:relative;top:150px;width:204px;} | ||
#btn3:hover{border:solid 2px #FFF; background-color:#BBB; opacity:0.1; filter: alpha (opacity=10);} | ||
#btn4 {float:left;height:102px;left:78px;position:relative;top:144px;width:204px;} | ||
#btn4:hover{border:solid 2px #FFF; background-color:#BBB; opacity:0.1; filter: alpha (opacity=10);} |
Oops, something went wrong.