Skip to content

Commit

Permalink
Merge pull request #950 from CyberShadow/notice2
Browse files Browse the repository at this point in the history
Notice tweaks
  • Loading branch information
MartinNowak committed Apr 1, 2015
2 parents dc6a43e + e3768d5 commit 4204e67
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
15 changes: 11 additions & 4 deletions css/style.css
Expand Up @@ -370,15 +370,22 @@ a.anchor:hover:after
font-style: normal; /* ... and should not be italic */
}

div.notice
a.notice
{
border: 1px solid #CCC;
border-radius: 0.5em;
display: block;
padding: 0.5em;
text-align: center;
font-weight: bold;
margin-bottom: 0.5em;
box-shadow: 5px 5px 15px #888;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
text-decoration: none;
background-color: white;
border: 1px dotted #633;
}

a.notice:hover
{
background: inherit; /* $(menu_bg_hover) */
}

/* These are different kinds of <pre> sections */
Expand Down
2 changes: 1 addition & 1 deletion dlang.org.ddoc
Expand Up @@ -201,7 +201,7 @@ NG_digitalmars_D_announce = <a href="$(NEWS digitalmars.D.announce,$0)">D.announ
NOTRANSLATE=$(SPANC notranslate, $0)
NO=
NOT_EBOOK=$0
NOTICE=<div class="notice" style="background-color: $1">$2</div>
NOTICE=<a href="$1" class="notice">$2</a>
_=

OPT=$(SUBSCRIPT opt)
Expand Down
4 changes: 2 additions & 2 deletions index.dd
Expand Up @@ -4,8 +4,8 @@ $(D_S D Programming Language,

$(SECTION1 The D Programming Language$(BR) $(SPANC slogan, Modern convenience. Modeling power. Native efficiency.),

$(NOTICE #efd, $(LINK2 changelog.html#new2_067.0,DMD 2.067.0 Released))
$(NOTICE #fed, Visit us at $(LINK2 http://dconf.org, DConf 2015).)
$(NOTICE changelog.html#new2_067.0,DMD 2.067.0 Released)
$(NOTICE http://dconf.org,Visit us at DConf 2015.)
<br>

<div style="text-align: right; font-size: 11px; margin-bottom: -35px; margin-right: 5px; position: relative; z-index: 10000">
Expand Down

0 comments on commit 4204e67

Please sign in to comment.