@charset "UTF-8"; /* ================================================================== * License information: * ================================================================== * * CSS stylesheet of the Maneage homepage * * Maneage: a framework for managing data lineage * * Copyright (C) 2020, Pedram Ashofteh Ardakani * Copyright (C) 2020, Mohammad Akhlaghi * Copyright (C) 2020, Marjan Akbari * * This file is part of Maneage. Maneage 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. * * Maneage 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. See * . * * ================================================================== * Preliminary information: * ================================================================== * * Some helpful CSS coding standards: * https://make.wordpress.org/core/handbook/best-practices/coding-standards/css/ * https://github.com/necolas/idiomatic-css * * Baseline for ordering attributes: * 1. Display * 2. Positioning * 3. Box model * 4. Colors and Typography * 5. Other * * No need to specify browser specific prefixes for the border-radius * attribute as described here: * https://css-tricks.com/do-we-need-box-shadow-prefixes/ * * */ /* ================================================================== * General style * ================================================================== */ body { background: #fbfcfc; font-family: Lato, Helvetica, Arial, sans-serif; line-height: 1.5; /* Should be unitless */ } h1, h2, h3 { /* Put some spacing with the things prior to this header. */ padding-top: 1em; /* Bring the headers closer to the text under them, this is a * complementary command with the margin-top in `p` tag styling */ padding-bottom: 0; margin-bottom: 0; /* Set line-height for headers to prevent overlap when browser is * forced to wrap the words. */ line-height: 1; } p { /* Bring the headers closer to the text under them, this is a * complementary command with the padding & margin bottom in the * header tags above */ margin-top: 5px; } ul, ol { /* Put some spacing with the things prior to this header. */ padding-top: 0; margin-top: 0; } /* Wrap the entire content of the page in this `div` - the navigation * bar is an exception, because of its fixed position. */ #container { /* Prevent additional horizontal spacing in smaller screens */ width: 100%; /* Center the whole page into a narrow column. Keeps the webpage stylish * and easy to look at in the widest screens. */ max-width: 960px; /* The container should always have a margin-top high enough to * prevent content overlapping with the navigation bar */ margin: 45px auto 0; } /* This is a way to put everything in the center of the page. */ .center{ /* Make sure `left`, `right`, and `width` values add up to 100% to * help keep the navigation bar in center for big screens */ margin: 0 auto; /* Make the content a block to to put it in the center of the page */ display: block; } /* ================================================================== * Inline and blob code style * ================================================================== */ pre { /* set code block properties */ display: block; min-width: 90%; overflow-x: auto; padding: 8px 12px; border: 1px solid #cabecf; border-radius: 5px; background: #fff; color: #2a1e5c; line-height: 1.6; } /* Pick the code font family from GitLab. */ code { color: #2a1e5c; font-family: Menlo, "DejaVu Sans Mono", "Liberation Mono", Consolas, "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-size: 12px; } /* Mimic comment style syntax highlighting in code blobs */ .comment { color: #918595; font-style: italic; } /* Inline properties. Clear some horizontal space between code * and rest of the text. Adding vertical space breaks the line-height * consistency. Additional styling to ease the reading. * */ p code, li > code { padding: 0 5px; border-radius: 3px; /* Prevent sharp box-edges */ background: #eadeef; /* Highlight inline codes */ } /* ================================================================== * Navigation style * ================================================================== */ /* The top (hamburger) navigation bar: * ================================================================== * * For a responsive design, we used the hamburger navigation convention. * It will pop-up once the user's screen is narrower than a certain * width - as specified in the @media tags at the end of the CSS file. * */ /* The wrapper */ #nav-hamburger-wrapper{ /* Stick to the top */ position: fixed; top: 0; /* Make sure `left`, `right`, and `width` values add up to 100% to * help keep the navigation bar in center for big screens */ margin: 0 auto; left: 0.5%; right: 0.5%; width: 99%; max-width: 960px; /* same as the `#container` max-width */ margin: 0 auto; /* Prevent sharp edges on the top navigation bar */ border-radius: 0 0 5px 5px; /* Keep link texts center-aligned */ text-align: center; background: #030504; } /* By default, hide the hamburger label and check-box */ #nav-hamburger-wrapper label, #nav-hamburger-input { display: none; transform: rotate(90deg); transition-duration: 0.3s; } #nav-hamburger-wrapper input:checked + label { color: #ff216e; transform: rotate(270deg); } /* Horizontal hamburger menu items. Keep the tabs in one line and don't * wrap them in narrower screens */ #nav-hamburger-items { display: flex; } #nav-hamburger-items a { padding: 10px; /* Set width according to available number of tabs */ width: 25%; /* 25% = 100% / 4 tabs */ } /* Button class: * ================================================================== */ /* Define a general `button` class, so it can be used randomly inside * the webpage contents, and don't just limit it to the top navigation * bar. * * Keep the same style for `:visited` separate the button style from * simple link and anchor style */ .button a, .button a:visited { display: inline-block; /* do not wrap text in a anchor */ padding: 15px 32px; text-decoration: none; color: #dcdfde; transition-duration: 0.2s; /* fade back to normal */ } .button a:hover { color: #ff216e; /* AWESOME */ background-color: #121413; /* LICORICE */ text-shadow: 0px 0px 1px #030504; /* RICH BLACK (FOGRA39) */ transition-duration: 0.5s; /* give the modern minimal animation */ } /* Inline links - the anchors or tag: * ================================================================== */ /* Same style for visited and unvisited links */ a, a:visited { text-decoration: none; color: #64030B; transition-duration: 0.3s; /* Fade back to normal smoothly */ } /* Let the user feel they're hovering on a link */ a:hover { text-shadow: 0px 0px 1px #fbadce; transition-duration: 0.5s; /* Give the modern minimal animation */ } /* ================================================================== * Maneage banner at top of every page: * ================================================================== */ .banner { width: 100%; margin: 0 auto; text-align: center; } /* Wide banner style. This style will be in place for wide @media * screens as specified at the end of this CSS file */ .banner div { display: inline-block; /* Keep headers aligned in the middle next to Maneage logo */ vertical-align: middle; text-align: left; } .banner h1 { font-size: 300%; text-shadow: 2px 2px 1px rgba(255,255,255,1), 4px 4px 1px rgba(50,50,50,0.25); } .banner h2 { font-size: 200%; } .banner img { width: 100%; min-width: 170px; min-height: 170px; max-width: 220px; max-height: 220px; /* Keep headers aligned in the middle next to Maneage logo */ vertical-align: middle; } /* ================================================================== * The sponsors * ================================================================== */ .support { display: flex; flex-flow: row wrap; /* stack horizontally and allow wrapping */ justify-content: space-around; /* display items with space between */ align-items: center; /* align the items in middle of container */ margin: 10px auto; } .support img { width: 120px; height: auto; } /* Try to scale the logos for a better look */ #logo-rda img { width: 150px; height: auto; } #logo-mext img { width: 200px; height: auto; } /* ================================================================== * Page footer * ================================================================== */ /* Looks like a mirror of the header, but it is not fixed. */ footer[role=contentinfo] { /* Make sure `left`, `right`, and `width` values add up to 100% to * help keep the navigation bar in center for big screens */ margin: 0 auto; max-width: 960px; /* same as the `#container` max-width */ padding: 5px 15px; /* Prevent sharp edges on the bottom navigation bar */ border-radius: 5px 5px 0 0; /* Keep link texts center-aligned */ text-align: left; font-size: small; color: #dcdfde; background: #030504; } /* Put the footer contents in an unordered list */ footer ul { list-style: none; padding-left: 0; margin: 0; } /* Reduce line spacing between
  • in footer */ footer p { margin: 0; /* Do not use `line-height` attribute. This effects the line * wrapping in a bad way. */ } /* Footer links */ footer a, footer a:visited, footer a:hover { /* Use a lighter color because of the dark background */ color: #ff216e; } /* ================================================================== * Ensure backward compatibility of HTML5 elements in this website * ================================================================== */ article, aside, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } /* ================================================================== * MEDIA SPECIFIC STYLES * ================================================================== */ /* 320px and up * ================================================================== */ @media only screen and (min-width: 320px) { } /* 480px and below * ================================================================== */ @media only screen and (max-width: 480px) { /* === hamburger navigation === */ /* Let the navigation fill the entire top for smaller screens */ #nav-hamburger-wrapper { left: 0; width: 100%; } /* Show Hamburger Icon */ #nav-hamburger-wrapper label { display: inline-block; padding: 10px; color: #fff; font-style: normal; font-size: 1.2em; } /* Break down menu items into vertical */ #nav-hamburger-items a { display: block; box-sizing: border-box; width: 100%; border-top: 1px solid #333; } /* Toggle Show/Hide Menu */ #nav-hamburger-items { display: none; } #nav-hamburger-wrapper input:checked ~ #nav-hamburger-items { display: block; } } /* 600px and up * ================================================================== */ @media only screen and (min-width: 600px) { } /* 768px and up * ================================================================== */ @media only screen and (max-width: 830px) { .banner div { /* Break down and center the text as soon as browser width is * too small for all the content to fit */ display: block; text-align: center; } } /* ================================================================== * Embeded videos using iframe with fixed aspect ratio * ================================================================== */ /* This solution for preserving the 'iframe' aspect ratio was taken from here: https://stackoverflow.com/questions/25302836/responsive-video-iframes-keeping-aspect-ratio-with-only-css#35153397 */ /* This element defines the size the iframe will take. In this example we want to have a ratio of 25:14 */ .aspect-ratio { position: relative; width: 100%; height: 0; /* The height of the item will now be 56.25% of the width. */ padding-bottom: 56.25%; } /* Adjust the iframe so it's rendered in the outer-width and outer-height of it's parent */ .aspect-ratio iframe { position: absolute; width: 100%; height: 100%; left: 0; top: 0; }