-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
149 additions
and
3 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><title>Pug demo</title><link rel="stylesheet" href="node_modules/normalize.css/normalize.css"><link rel="stylesheet" href="style.css"></head><body><header><h1>Pug demo</h1></header><hr><main><section class="card online"><header class="card-header"><h4>1</h4></header><div class="card-body"><p>Users User 1</p></div><footer class="card-footer"><p>user1@users.u</p></footer></section><section class="card offline"><header class="card-header"><h4>2</h4></header><div class="card-body"><p>Users User 2</p></div><footer class="card-footer"><p>user2@users.u</p></footer></section><section class="card online"><header class="card-header"><h4>3</h4></header><div class="card-body"><p>Users User 3</p></div><footer class="card-footer"><p>user3@users.u</p></footer></section><section class="card online"><header class="card-header"><h4>4</h4></header><div class="card-body"><p>Users User 4</p></div><footer class="card-footer"><p>user4@users.u</p></footer></section></main></body></html> | ||
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><title>Pug demo</title><link rel="stylesheet" href="node_modules/normalize.css/normalize.css"><link rel="stylesheet" href="style.css"></head><body><header><h1>Pug demo</h1></header><hr><main><section class="card online"><header class="card-header"><h4>1</h4></header><div class="card-body"><p>Users User 1</p></div><footer class="card-footer"><a href="mailto:user1@users.u">user1@users.u</a></footer></section><section class="card offline"><header class="card-header"><h4>2</h4></header><div class="card-body"><p>Users User 2</p></div><footer class="card-footer"><a href="mailto:user2@users.u">user2@users.u</a></footer></section><section class="card online"><header class="card-header"><h4>3</h4></header><div class="card-body"><p>Users User 3</p></div><footer class="card-footer"><a href="mailto:user3@users.u">user3@users.u</a></footer></section><section class="card online"><header class="card-header"><h4>4</h4></header><div class="card-body"><p>Users User 4</p></div><footer class="card-footer"><a href="mailto:user4@users.u">user4@users.u</a></footer></section></main></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
@import "variables"; | ||
|
||
body { | ||
padding: 2rem; | ||
} | ||
|
||
h1 { | ||
margin: 0; | ||
text-align: center; | ||
color: @color-header; | ||
} | ||
|
||
.online { | ||
background-color: @color-online; | ||
} | ||
.offline { | ||
background-color: @color-offline; | ||
} | ||
|
||
main { | ||
.create_flex(row); | ||
flex-wrap: wrap; | ||
justify-content: space-around; | ||
} | ||
|
||
.card { | ||
border: @color-card_border solid 1px; | ||
.padding_margin(0.5rem); | ||
flex: 1 1 auto; | ||
|
||
.create_flex(column); | ||
|
||
&:hover { | ||
box-shadow: gray 5px 5px 0 0; | ||
} | ||
|
||
&-header { | ||
text-align: right; | ||
color: darkblue; | ||
font-size: 1.25rem; | ||
|
||
& > h4 { | ||
margin: 0.25rem 0; | ||
} | ||
} | ||
&-body { | ||
text-align: justify; | ||
font-size: 0.75rem; | ||
} | ||
&-footer { | ||
text-align: right; | ||
font-size: 0.5rem; | ||
font-style: italic; | ||
} | ||
} |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
@color-header: red; | ||
@color-card_border: darkblue; | ||
|
||
@color-offline: rgba(255, 0, 0, 0.25); | ||
@color-online: rgba(0, 255, 0, 0.25); | ||
|
||
.padding_margin(@val) { | ||
padding: @val; | ||
margin: @val; | ||
} | ||
|
||
.create_flex(@direction) | ||
{ | ||
display: flex; | ||
flex-direction: @direction; | ||
} |