| Index: static/css/website-defaults.css |
| =================================================================== |
| new file mode 100644 |
| --- /dev/null |
| +++ b/static/css/website-defaults.css |
| @@ -0,0 +1,346 @@ |
| +/*! |
| + * This file is part of website-defaults |
| + * Copyright (C) 2016-2017 eyeo GmbH |
| + * |
| + * website-defaults is free software: you can redistribute it and/or |
| + * modify it under the terms of the GNU General Public License as published by |
| + * the Free Software Foundation, either version 3 of the License, or |
| + * (at your option) any later version. |
| + * |
| + * website-defaults is distributed in the hope that it will be useful, |
| + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| + * GNU General Public License for more details. |
| + * |
| + * You should have received a copy of the GNU General Public License |
| + * along with website-defaults. If not, see <http://www.gnu.org/licenses/>. |
| + */ |
| +/*! |
| + * This file is part of website-defaults |
| + * Copyright (C) 2016-2017 eyeo GmbH |
| + * |
| + * website-defaults is free software: you can redistribute it and/or |
| + * modify it under the terms of the GNU General Public License as published by |
| + * the Free Software Foundation, either version 3 of the License, or |
| + * (at your option) any later version. |
| + * |
| + * website-defaults is distributed in the hope that it will be useful, |
| + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| + * GNU General Public License for more details. |
| + * |
| + * You should have received a copy of the GNU General Public License |
| + * along with website-defaults. If not, see <http://www.gnu.org/licenses/>. |
| + */ |
| +/******************************************************************************* |
| + * Variables |
| + ******************************************************************************* |
| + * ~ WARNING ~ DO NOT EDIT THIS FILE! |
| + * Set variables within project specfic SCSS before including website defaults. |
| + ******************************************************************************* |
| + * - Brand colors |
| + * - Fonts |
| + * - Spacing |
| + * - Breakpoints |
| + ******************************************************************************/ |
| +/* Brand colors |
| + ******************************************************************************/ |
| +/* Primary - The most widely used across all screens and components. */ |
| +/* Secondary - Used to indicate a related action or information. */ |
| +/* Accent - Used for action buttons and interactive elements. */ |
| +/* Error - Used for error messages and warnings. */ |
| +/* Fonts |
| + ******************************************************************************/ |
| +/* Spacing |
| + ******************************************************************************/ |
| +/* Breakpoints |
| + ******************************************************************************/ |
| +/* Container widths |
| + ******************************************************************************/ |
| +/*! |
| + * This file is part of website-defaults |
| + * Copyright (C) 2016-2017 eyeo GmbH |
| + * |
| + * website-defaults is free software: you can redistribute it and/or |
| + * modify it under the terms of the GNU General Public License as published by |
| + * the Free Software Foundation, either version 3 of the License, or |
| + * (at your option) any later version. |
| + * |
| + * website-defaults is distributed in the hope that it will be useful, |
| + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| + * GNU General Public License for more details. |
| + * |
| + * You should have received a copy of the GNU General Public License |
| + * along with website-defaults. If not, see <http://www.gnu.org/licenses/>. |
| + */ |
| +/******************************************************************************* |
| + * Base styles |
| + ******************************************************************************/ |
| +html { |
| + box-sizing: border-box; |
| + color: #212121; |
| + background-color: #fff; |
| + font-family: sans-serif; |
| + line-height: 1.5; } |
| + |
| +/* Set default box-sizing (opinionated) */ |
| +*, |
| +*:before, |
| +*:after { |
| + box-sizing: inherit; } |
| + |
| +/* Remove the margin in all browsers (opinionated). */ |
| +body { |
| + margin: 0px; } |
| + |
| +/* Add the correct display in IE 9-. */ |
| +article, |
| +aside, |
| +footer, |
| +header, |
| +nav, |
| +section, |
| +main { |
| + display: block; } |
| + |
| +/** |
| + * Stretch content full-width |
| + */ |
| +.full-width { |
| + display: block; |
| + width: 100%; |
| + margin: 1em 0px; } |
| + |
| +/** |
| + * Center content within a (responsive) fixed width |
| + */ |
| +.container { |
| + width: 540px; |
| + max-width: 100%; |
| + margin: 0px auto; |
| + padding: 0px 1em; } |
| + |
| +@media (min-width: 768px) { |
| + .container { |
| + width: 720px; } } |
| + |
| +@media (min-width: 992px) { |
| + .container { |
| + width: 960px; } } |
| + |
| +/*! |
| + * This file is part of website-defaults |
| + * Copyright (C) 2016-2017 eyeo GmbH |
| + * |
| + * website-defaults is free software: you can redistribute it and/or |
| + * modify it under the terms of the GNU General Public License as published by |
| + * the Free Software Foundation, either version 3 of the License, or |
| + * (at your option) any later version. |
| + * |
| + * website-defaults is distributed in the hope that it will be useful, |
| + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| + * GNU General Public License for more details. |
| + * |
| + * You should have received a copy of the GNU General Public License |
| + * along with website-defaults. If not, see <http://www.gnu.org/licenses/>. |
| + */ |
| +/******************************************************************************* |
| + * Content styles |
| + ******************************************************************************* |
| + * 1. Document |
| + * 2. Headings |
| + * 3. Body content |
| + ******************************************************************************/ |
| +/* Document |
| + ******************************************************************************/ |
| +p, |
| +ol, |
| +ul, |
| +dl, |
| +pre, |
| +blockquote { |
| + /* Set consistent margins (opinionated) */ |
| + margin: 1em 0em; } |
| + |
| +/* Headings |
| + ******************************************************************************/ |
| +h1, |
| +h2, |
| +h3, |
| +h4, |
| +h5, |
| +h6 { |
| + /* Margin on top **only** (opinionated) */ |
| + margin: 2em 0em 0.5em 0em; } |
| + |
| +h1 { |
| + font-size: 2em; } |
| + |
| +h2 { |
| + font-size: 1.5em; } |
| + |
| +h3 { |
| + font-size: 1.25em; } |
| + |
| +h4 { |
| + font-size: 1em; } |
| + |
| +h5 { |
| + font-size: 0.8em; } |
| + |
| +h6 { |
| + font-size: 0.7em; } |
| + |
| +/* Body content |
| + ******************************************************************************/ |
| +abbr { |
| + text-decoration: underline; |
| + cursor: help; } |
| + |
| +b, |
| +strong { |
| + font-weight: 600; } |
| + |
| +small { |
| + font-size: 0.8em; } |
| + |
| +sup { |
| + position: relative; |
| + font-size: 75%; |
| + vertical-align: super; } |
| + |
| +a, |
| +a:visited { |
| + color: #1565c0; |
| + /* Remove the gray background on active links in IE 10. */ |
| + background-color: transparent; |
| + text-decoration: none; |
| + /* Set default pointer regardless of href (opinionated) */ |
| + cursor: pointer; } |
| + |
| +a:hover, |
| +a:active, |
| +a:focus { |
| + text-decoration: underline; } |
| + |
| +img { |
| + /* Make fixed width images responsive */ |
| + max-width: 100%; |
| + /* Remove the border on images inside links in IE 10-. */ |
| + border-style: none; } |
| + |
| +hr { |
| + border: 1px solid #eee; } |
| + |
| +blockquote { |
| + padding-left: 1em; |
| + border-left: 5px solid #9e9e9e; } |
| + |
| +[dir="rtl"] blockquote { |
| + padding-right: 1em; |
| + padding-left: 0em; |
| + border-right: 5px solid #eee; |
| + border-left: 0px; } |
| + |
| +ol, |
| +ul { |
| + padding-left: 1.5em; } |
| + |
| +[dir="rtl"] ol, |
| +[dir="rtl"] ul { |
| + padding-right: 2em; |
| + padding-left: 0em; } |
| + |
| +li { |
| + margin: 0.25em 0em; } |
| + |
| +ol ol, |
| +ul ul, |
| +ol ul, |
| +ul ol { |
| + /* prevent double spacing lists */ |
| + margin: 0em; } |
| + |
| +ol ol { |
| + list-style-type: lower-alpha; } |
| + |
| +dt { |
| + /* undo browser default (opinionated)*/ |
| + font-weight: 600; } |
| + |
| +dd { |
| + margin: 0.25em 0em 1em 0em; } |
| + |
| +/*! |
| + * This file is part of website-defaults |
| + * Copyright (C) 2016-2017 eyeo GmbH |
| + * |
| + * website-defaults is free software: you can redistribute it and/or |
| + * modify it under the terms of the GNU General Public License as published by |
| + * the Free Software Foundation, either version 3 of the License, or |
| + * (at your option) any later version. |
| + * |
| + * website-defaults is distributed in the hope that it will be useful, |
| + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| + * GNU General Public License for more details. |
| + * |
| + * You should have received a copy of the GNU General Public License |
| + * along with website-defaults. If not, see <http://www.gnu.org/licenses/>. |
| + */ |
| +/******************************************************************************* |
| + * Grid component |
| + ******************************************************************************/ |
| +/** |
| + * - .row contains one or more .column(s) |
| + * - .row clears .column(s) |
| + * - .row negates the left & right padding of it's left-most & right-most |
| + * .column(s) while preserving consistent padding between .column(s) |
| + */ |
| +.row { |
| + margin: 0px -1em; } |
| + |
| +.row:after { |
| + display: block; |
| + clear: both; |
| + content: ""; } |
| + |
| +/** |
| + * - .column is 100% width by default |
| + * - Modifier classes are applied to .column to change it's width |
| + * - Modifier classes behave differently on different device widths |
| + */ |
| +.column { |
| + position: relative; |
| + width: 100%; |
| + min-height: 1px; |
| + padding: 0px 1em; } |
| + |
| +/* - .column(s) within .row .reverse appear in reverse order |
| + * - .column(s) within [dir=rtl] appear in reverse order respectively |
| + */ |
| +.column, |
| +[dir="rtl"] .reverse .column { |
| + float: left; } |
| + |
| +.reverse .column, |
| +[dir="rtl"] .column { |
| + float: right; } |
| + |
| +@media (min-width: 768px) { |
| + .one-fourth { |
| + width: 50%; } } |
| + |
| +@media (min-width: 992px) { |
| + .one-half { |
| + width: 50%; } |
| + .one-third { |
| + width: 33.333333%; } |
| + .two-thirds { |
| + width: 66.666667%; } |
| + .one-fourth { |
| + width: 25%; } |
| + .three-fourths { |
| + width: 75%; } } |