css
Css
code posted
by
cc
created at 18 Jul 02:05, updated at 02 Sep 11:06
Edit
|
Back
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 |
/* * This is a manifest file that'll be compiled into application.css, which will include all the files * listed below. * * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's * vendor/assets/stylesheets directory can be referenced here using a relative path. * * You're free to add application-wide styles to this file and they'll appear at the bottom of the * compiled file so the styles you add here take precedence over styles defined in any other CSS * files in this directory. Styles in this file should be added after the last require_* statement. * It is generally better to create a new file per style scope. * *= require_tree . *= require_self */ .navbar { min-height: 38px; font-family: Lato, sans-serif; padding-bottom: 20px; } nav ul { margin: 0; padding: 0; list-style: none; } nav li { display: inline-block; margin-left: 70px; padding-top: 15px; padding-bottom: 15px; } nav a { color: #444; font-size: 14px; } nav a:hover { color: #000; } nav { display: flex; justify-content: center; background-color: #ffffff; opacity: .6; } h3 { display: flex; justify-content: center; font-family: Lato, sans-serif; } home-body { display: flex; justify-content: center; font-size: 14px; } .intro { font-family: Lato, sans-serif; max-width: 500px; margin: auto; padding: 35px; background-color: #ffffff; opacity: .9; } .footer { font-family: Lato, sans-serif; font-size: 10px; display: flex; justify-content: center; padding-top: 10px; } .post-preview { font-family: Lato, sans-serif; border-style: solid; max-width: 300px; margin: auto; margin-top: 15px; border: 4px solid #73AD21; padding: 35px; background-color: #ffffff; opacity: .8; } preview-body p{ display: flex; justify-content: center; font-size: 14px; text-align: center; } body { background: url('/../assets/background.png') no-repeat center center; background-attachment: fixed; } .post-preview button{ width:50%; margin-left:25%; margin-right:25%; opacity: 10; } .post-body { font-family: Lato, sans-serif; padding: 35px; justify-content: left; font-size: 14px; text-align: left; max-width: 700px; margin: auto; margin-top: 15px; opacity: 1; background-color: #ffffff; } .post-body img { width:300px; /* you can use % */ height: auto; padding: 10px; margin: auto; } .post-body code-snippet { background-color: rgb(118, 116, 116); font-family: Consolas, monaco, monospace; border-radius: 3px; padding: 4px; color: #ffffff; line-height: 30pt; } .post-body code-block { background-color: rgb(118, 116, 116); font-family: Consolas, monaco, monospace; border-radius: 3px; word-wrap: break-word; box-decoration-break: clone; line-height: 15pt; border-radius: .2rem; color: #ffffff; } .post-body tab { margin-left: 40px; } a { color: rgb(60, 60, 60); } |
3.23 KB in 4 ms with coderay