Skip to content

Commit

Permalink
Improve style
Browse files Browse the repository at this point in the history
  • Loading branch information
Elie Teyssedou committed Apr 9, 2019
1 parent 2f395ec commit b5a4097
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 3 deletions.
60 changes: 58 additions & 2 deletions assets/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@ body {
}

.fadebar {
animation: barfadein .4s;
-webkit-animation: barfadein .4s; /* Safari, Chrome and Opera > 12.1 */
-moz-animation: barfadein .4s; /* Firefox < 16 */
-ms-animation: barfadein .4s; /* Internet Explorer */
-o-animation: barfadein .4s; /* Opera < 12.1 */
animation: barfadein .4s;
}

.map {
Expand All @@ -92,7 +96,11 @@ body {
}

.empty {
animation: fadein .4s;
-webkit-animation: fadein .4s; /* Safari, Chrome and Opera > 12.1 */
-moz-animation: fadein .4s; /* Firefox < 16 */
-ms-animation: fadein .4s; /* Internet Explorer */
-o-animation: fadein .4s; /* Opera < 12.1 */
animation: fadein .4s;
}

.label {
Expand All @@ -103,12 +111,60 @@ body {
font-weight: bold;
}

@keyframes fadein {
from { border-color: white; }
to { border-color: rgba(255, 255, 255, 0.5); }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
from { border-color: white; }
to { border-color: rgba(255, 255, 255, 0.5); }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
from { border-color: white; }
to { border-color: rgba(255, 255, 255, 0.5); }
}

/* Internet Explorer */
@-ms-keyframes fadein {
from { border-color: white; }
to { border-color: rgba(255, 255, 255, 0.5); }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
from { border-color: white; }
to { border-color: rgba(255, 255, 255, 0.5); }
}

@keyframes barfadein {
from { background-color: white; }
to { background-color: transparent; }
}

/* Firefox < 16 */
@-moz-keyframes barfadein {
from { background-color: white; }
to { background-color: transparent; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes barfadein {
from { background-color: white; }
to { background-color: transparent; }
}

/* Internet Explorer */
@-ms-keyframes barfadein {
from { background-color: white; }
to { background-color: transparent; }
}

/* Opera < 12.1 */
@-o-keyframes barfadein {
from { background-color: white; }
to { background-color: transparent; }
}
Binary file removed assets/static/favicon.ico
Binary file not shown.
Binary file added assets/static/images/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/static/images/phoenix.png
Binary file not shown.
3 changes: 2 additions & 1 deletion lib/pong_web/templates/layout/app.html.eex
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Elixir Pong</title>
<link rel="icon" href="<%= Routes.static_path(@conn, "/images/favicon.png") %>" type="image/png">
<title>Socket Pong</title>
<link rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/app.css") %>"/>
</head>
<body>
Expand Down

0 comments on commit b5a4097

Please sign in to comment.