Skip to content

Commit

Permalink
remove whitespace, rename styles.css > demo.css
Browse files Browse the repository at this point in the history
  • Loading branch information
hakimel committed Dec 19, 2013
1 parent 3e42432 commit 2a0d586
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 28 deletions.
2 changes: 1 addition & 1 deletion css/avgrund.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* Created by Hakim El Hattab, http://hakim.se
*/

.avgrund-active body {
-webkit-transform: scale( 0.9 );
-moz-transform: scale( 0.9 );
Expand Down
13 changes: 6 additions & 7 deletions css/styles.css → css/demo.css
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
/*!
* avgrund 0.1
* http://lab.hakim.se/avgrund
* MIT licensed
*
* Created by Hakim El Hattab, http://hakim.se
* Styles intended only for this demo page. If you want to
* try and use Avgrund in your project, don't include these.
*/

* {
margin: 0;
padding: 0;
}

html,
html,
body {
height: 100%;
overflow: hidden;
Expand All @@ -23,7 +20,7 @@ html {
background-repeat: repeat;
}

h1,
h1,
h2 {
font-size: 24px;
}
Expand Down Expand Up @@ -70,6 +67,8 @@ button {
background: #7aa76d;
font-size: 15px;

outline: none;

-webkit-transition: 0.15s background ease;
-moz-transition: 0.15s background ease;
-ms-transition: 0.15s background ease;
Expand Down
20 changes: 10 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<!doctype html>
<!doctype html>
<html lang="en">

<head>
<meta charset="utf-8">

<title>Avgrund - A modal UI concept</title>

<meta name="description" content="A modal concept which aims to give a sense of depth between the page and modal layers">
<meta name="author" content="Hakim El Hattab">

<meta name="viewport" content="width=800, user-scalable=no">

<link href='http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/styles.css">

<link rel="stylesheet" href="css/demo.css">
<link rel="stylesheet" href="css/avgrund.css">

<script>
Expand All @@ -26,7 +26,7 @@
</script>

</head>

<body>

<aside id="default-popup" class="avgrund-popup">
Expand All @@ -47,7 +47,7 @@ <h1>Avgrund</h1>
</p>
<button onclick="javascript:openDialog();">Open Avgrund</button>
<p>
Uses CSS transforms to scale components and CSS filters to blur the page. Built for the fun of
Uses CSS transforms to scale components and CSS filters to blur the page. Built for the fun of
it, not intended for any practical use.
</p>
<p>
Expand All @@ -59,8 +59,8 @@ <h1>Avgrund</h1>

<div class="sharing">
<a href="http://twitter.com/share" class="twitter-share-button" data-text="Avgrund - a depth-based modal concept from @hakimel" data-url="http://lab.hakim.se/avgrund" data-count="small" data-related="hakimel"></a>
<iframe id="facebook-button" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Flab.hakim.se%2Favgrund%2F&layout=button_count&show_faces=false&width=83&action=like&font=arial&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:85px; height:24px; position: relative; top: 4px;" allowTransparency="true"></iframe>

<iframe id="facebook-button" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Flab.hakim.se%2Favgrund%2F&layout=button_count&show_faces=false&width=83&action=like&font=arial&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:85px; height:24px; position: relative; top: 4px;" allowTransparency="true"></iframe>
</div>
</article>

Expand Down
20 changes: 10 additions & 10 deletions multiple.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<!doctype html>
<!doctype html>
<html lang="en">

<head>
<meta charset="utf-8">

<title>Avgrund - A modal UI concept</title>

<meta name="description" content="A modal concept which aims to give a sense of depth between the page and modal layers">
<meta name="author" content="Hakim El Hattab">

<meta name="viewport" content="width=800, user-scalable=no">

<link href='http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/styles.css">

<link rel="stylesheet" href="css/demo.css">
<link rel="stylesheet" href="css/avgrund.css">

<script>
Expand All @@ -29,7 +29,7 @@
</script>

</head>

<body>

<aside id="default-popup" class="avgrund-popup">
Expand Down Expand Up @@ -59,7 +59,7 @@ <h1>Avgrund</h1>
<button onclick="javascript:openDialog();">Open Avgrund</button>
<button onclick="javascript:openSecondDialog();">Open Second Avgrund</button>
<p>
Uses CSS transforms to scale components and CSS filters to blur the page. Built for the fun of
Uses CSS transforms to scale components and CSS filters to blur the page. Built for the fun of
it, not intended for any practical use.
</p>
<p>
Expand All @@ -71,8 +71,8 @@ <h1>Avgrund</h1>

<div class="sharing">
<a href="http://twitter.com/share" class="twitter-share-button" data-text="Avgrund - a depth-based modal concept from @hakimel" data-url="http://lab.hakim.se/avgrund" data-count="small" data-related="hakimel"></a>
<iframe id="facebook-button" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Flab.hakim.se%2Favgrund%2F&layout=button_count&show_faces=false&width=83&action=like&font=arial&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:85px; height:24px; position: relative; top: 4px;" allowTransparency="true"></iframe>

<iframe id="facebook-button" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Flab.hakim.se%2Favgrund%2F&layout=button_count&show_faces=false&width=83&action=like&font=arial&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:85px; height:24px; position: relative; top: 4px;" allowTransparency="true"></iframe>
</div>
</article>

Expand Down

0 comments on commit 2a0d586

Please sign in to comment.