Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest iteration of forum integration #823

Merged
merged 1 commit into from
Jan 22, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 21 additions & 10 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -491,15 +491,33 @@ span#wiki
z-index: 2;
}

div#twitter
div#news
{
color: white;
font-size: 0.875em;
float: right;
width: 18em;
margin-right: 1em;
}

div#twitter
{
color: white;
}

div#forum-summary
{
color: white;
width: 100%;
margin-right: 1em;
}

div#forum-summary > iframe
{
border: 0;
width: 100%;
height: 210px;
}

div.navblock
{
margin-top: 0;
Expand Down Expand Up @@ -963,13 +981,6 @@ input.runButton:active, input.resetButton:active, input.argsButton:active, input
input.resetButton{display: none}
/* Runnable-examples css -end */

iframe#forum-summary {
width: 100%;
height: 254px;
border: 0;
outline: 2px solid #D0D0D0;
}

div#mobile-top, div#mobile-search {
display: none;
}
Expand All @@ -978,7 +989,7 @@ div#mobile-top, div#mobile-search {

/* Disable desktop-size UI elements */

div#twitter {
div#news {
display: none;
}
div#top {
Expand Down
16 changes: 10 additions & 6 deletions index.dd
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ $(UL
$(LI $(LINK2 http://dconf.org/2015, $(B $(RED DConf 2015))))
$(LI $(LINK2 https://archive.org/search.php?query=title%3A%28DConf%202014%29&sort=+publicdate, $(B $(RED DConf 2014))))
$(LI $(LINK2 http://dconf.org/2013/schedule/index.html, $(B $(RED DConf 2013)))))

<iframe id="forum-summary" src="http://forum.dlang.org/frame"></iframe>
$(BR)
$(BR)

<div style="text-align: right; font-size: 11px; margin-bottom: -35px; margin-right: 5px; position: relative; z-index: 10000">
Expand Down Expand Up @@ -563,10 +560,17 @@ $(TAG2 div, id="a$1" class="answer-nojs", $2)
<div id="navigation">
$1
</div>
<div id="twitter">
<a class="twitter-timeline" data-dnt="true" href="https://twitter.com/D_Programming" data-widget-id="358057551562162176">Tweets by @D_Programming</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<div id="news">
<div id="forum-summary">
<iframe id="forum-summary" src="http://forum.dlang.org/frame-announcements"></iframe>
<iframe id="forum-summary" src="http://forum.dlang.org/frame-discussions"></iframe>
</div>
<div id="twitter">
<a class="twitter-timeline" data-dnt="true" href="https://twitter.com/D_Programming" data-widget-id="358057551562162176">Tweets by @D_Programming</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div>
</div>

<div id="content" style="margin-right:20em;" class="hyphenate">
$(PAGE_TOOLS)
$3
Expand Down