diff options
Diffstat (limited to 'app/assets/stylesheets/application.css')
| -rw-r--r-- | app/assets/stylesheets/application.css | 59 |
1 files changed, 59 insertions, 0 deletions
| diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index d05ea0f..6fd12b7 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css | |||
| @@ -10,6 +10,65 @@ | |||
| 10 | * files in this directory. Styles in this file should be added after the last require_* statement. | 10 | * files in this directory. Styles in this file should be added after the last require_* statement. |
| 11 | * It is generally better to create a new file per style scope. | 11 | * It is generally better to create a new file per style scope. |
| 12 | * | 12 | * |
| 13 | *= require normalize-rails | ||
| 13 | *= require_tree . | 14 | *= require_tree . |
| 14 | *= require_self | 15 | *= require_self |
| 15 | */ | 16 | */ |
| 17 | |||
| 18 | @import url('https://fonts.googleapis.com/css?family=Inconsolata'); | ||
| 19 | |||
| 20 | body { | ||
| 21 | background-color: #bfefff; | ||
| 22 | } | ||
| 23 | |||
| 24 | #container { | ||
| 25 | margin: 5em auto 0; | ||
| 26 | width: 50%; | ||
| 27 | border: 1px solid black; | ||
| 28 | background-color: white; | ||
| 29 | box-sizing: border-box; | ||
| 30 | -webkit-border-top-left-radius: 15px; | ||
| 31 | -webkit-border-top-right-radius: 15px; | ||
| 32 | -moz-border-radius-topleft: 15px; | ||
| 33 | -moz-border-radius-topright: 15px; | ||
| 34 | border-top-left-radius: 15px; | ||
| 35 | border-top-right-radius: 15px; | ||
| 36 | } | ||
| 37 | |||
| 38 | #banner { | ||
| 39 | width: 100%; | ||
| 40 | border-bottom: 1px solid black; | ||
| 41 | padding: 1em; | ||
| 42 | box-sizing: border-box; | ||
| 43 | } | ||
| 44 | |||
| 45 | #banner h1 { | ||
| 46 | text-align: center; | ||
| 47 | margin: 0; | ||
| 48 | } | ||
| 49 | |||
| 50 | #banner h1 a { | ||
| 51 | text-decoration: none; | ||
| 52 | color: black; | ||
| 53 | } | ||
| 54 | |||
| 55 | #banner h1 a:visited { | ||
| 56 | color: black; | ||
| 57 | } | ||
| 58 | |||
| 59 | #main { | ||
| 60 | display: -webkit-flex; | ||
| 61 | display: flex; | ||
| 62 | } | ||
| 63 | |||
| 64 | #content { | ||
| 65 | width: 75%; | ||
| 66 | box-sizing: border-box; | ||
| 67 | border-right: 1px solid black; | ||
| 68 | } | ||
| 69 | |||
| 70 | #sidebar { | ||
| 71 | width: 25%; | ||
| 72 | box-sizing: border-box; | ||
| 73 | padding-right: 1em; | ||
| 74 | } | ||
