Mercurial > p > roundup > code
view 3rdparty/bootstrap/less/scaffolding.less @ 5392:a7bf8c4e502f
Python 3 preparation: use sum() instead of reduce().
reduce() has changed from a built-in function to something in
functools in Python 3. However, since both uses were with
operator.add / operator.__add__, it seemed to make more sense to use
sum() instead of functools.reduce().
| author | Joseph Myers <jsm@polyomino.org.uk> |
|---|---|
| date | Tue, 24 Jul 2018 23:01:57 +0000 |
| parents | c109f7c1e477 |
| children |
line wrap: on
line source
// // Scaffolding // -------------------------------------------------- // Body reset // ------------------------- body { margin: 0; font-family: @baseFontFamily; font-size: @baseFontSize; line-height: @baseLineHeight; color: @textColor; background-color: @bodyBackground; } // Links // ------------------------- a { color: @linkColor; text-decoration: none; } a:hover { color: @linkColorHover; text-decoration: underline; } // Images // ------------------------- // Rounded corners .img-rounded { .border-radius(6px); } // Add polaroid-esque trim .img-polaroid { padding: 4px; background-color: #fff; border: 1px solid #ccc; border: 1px solid rgba(0,0,0,.2); .box-shadow(0 1px 3px rgba(0,0,0,.1)); } // Perfect circle .img-circle { .border-radius(500px); // crank the border-radius so it works with most reasonably sized images }
