Skip to content
This repository has been archived by the owner on Dec 5, 2017. It is now read-only.

Commit

Permalink
Alpha warning. Banned list
Browse files Browse the repository at this point in the history
  • Loading branch information
phae committed Apr 3, 2012
1 parent 0ef1f32 commit 09f1139
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 1 deletion.
34 changes: 33 additions & 1 deletion app/assets/stylesheets/main.css
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -416,10 +416,42 @@ html {
} }


.header-context, .header-context,
.beta-notice{ #footer .beta-notice{
display:none; display:none;
} }


#wrapper .beta-notice {
color: #000;
float: left;

font-family: "Gill Sans W01 Medium", "Gill Sans MT Pro", "Gill Sans", GillSans, sans-serif;
text-transform: uppercase;
font-size: 13px;
font-size: 1.3rem;
line-height: 1.1538461538;
font-weight: 500;
letter-spacing: 0.2em;

display:block;
position:absolute;
top:40px;
}
#wrapper .beta-notice a{
display:block;
padding: 8px 13px;
padding: 0.8rem 1.3rem;
background-color:#d43783;
border: none;
float:left;
color:#fff;
text-decoration: none;
}
#wrapper .beta-notice span{
padding: 8px 13px;
padding: 0.8rem 1.3rem;
display:block;
float:left;
}
#wrapper article .example { #wrapper article .example {
background: transparent; background: transparent;
} }
Expand Down
20 changes: 20 additions & 0 deletions index.html
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
--- ---


<div id="wrapper" class="design-principles"> <div id="wrapper" class="design-principles">
<div class="beta-notice">
<div class="inner">
<p>
<a href="http://digital.cabinetoffice.gov.uk/2012/04/03/design-principles-alpha/">ALPHA</a> <span>Last updated 3 April 2012</span>
</p>
</div>
</div>
<header> <header>


<h1>Government Digital Service <strong>Design Principles</strong></h1> <h1>Government Digital Service <strong>Design Principles</strong></h1>
Expand Down Expand Up @@ -837,6 +844,19 @@ <h1>More detail coming soon</h1>
<p>We're currently working on a broad range of transactions to create a pick'n'mix of consistent design patterns which we can choose from for use in a number of scenarios.</p> <p>We're currently working on a broad range of transactions to create a pick'n'mix of consistent design patterns which we can choose from for use in a number of scenarios.</p>
</div> </div>
</article> </article>

<article class="comparison">
<header>
<h1>Some things we've banned</h1>
<p class="status experimental">Experimental</p>
</header>
<div class="example">
<img class="full-width" src="/app/assets/images/content/10/type_styles.png" />
</div>
<div class="caption">
<p>Try to avoid visual cliches. Here's a few....</p>
</div>
</article>
</div> </div>
</section> </section>


Expand Down

0 comments on commit 09f1139

Please sign in to comment.