Skip to content

Commit

Permalink
#5 Remove styles again.
Browse files Browse the repository at this point in the history
Due to inresponsibility and ugliness.
  • Loading branch information
Adrian Fürschuß committed Jan 21, 2017
1 parent 1dea7b2 commit 982278e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 56 deletions.
25 changes: 3 additions & 22 deletions src/Wuzlstats/wwwroot/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ footer {
footer {
margin-top: 50px; } }

.players td > a:focus, .players td > a:hover, .teams td > a:focus, .teams td > a:hover {
.players td a:focus, .players td a:hover, .teams td a:focus, .teams td a:hover {
text-decoration: none; }

.players .player-name, .teams .player-name {
Expand All @@ -150,29 +150,10 @@ footer {
.players .player-score, .teams .player-score {
color: #999; }

.teams .team {
display: inline-block; }

.teams .player {
float: right;
display: block; }
display: inline-block; }
.teams .player:first-child {
float: left;
margin-right: 1.5em; }
.teams .player:first-child .player-name {
margin-left: 50px; }
.teams .player:nth-of-type(2) > a {
float: right; }
.teams .player:nth-of-type(2) .player-name {
display: inline-block;
text-align: right;
margin-right: 0.6em;
top: 0.9em; }

.teams .player-name {
display: block;
position: relative;
top: -2em; }
margin-right: 1em; }

footer .nav > li {
padding-bottom: 15px;
Expand Down
37 changes: 3 additions & 34 deletions src/Wuzlstats/wwwroot/css/site.scss
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ footer {
}

.players, .teams {
td > a {
td a {
&:focus, &:hover {
text-decoration: none;
}
Expand All @@ -228,43 +228,12 @@ footer {
}

.teams {
.team {
display: inline-block;
}

.player {
float: right;
display: block;
display: inline-block;

&:first-child {
float: left;
margin-right: 1.5em;

& .player-name {
margin-left: 50px;
}
margin-right: 1em;
}

&:nth-of-type(2) {
& > a {
float: right;
}

& .player-name {
display: inline-block;
text-align: right;
margin-right: 0.6em;
top: 0.9em;
}
}
}

.player-name {
display: block;
//margin-left: 50px;
//margin-right: 50px;
position: relative;
top: -2em;
}
}

Expand Down

0 comments on commit 982278e

Please sign in to comment.