Skip to content
Snippets Groups Projects
home.css 3.14 KiB
Newer Older
  • Learn to ignore specific revisions
  • Kyle Doherty's avatar
    Kyle Doherty committed
    .NavItem {
        border-radius: 8px;
    
    Kyle Doherty's avatar
    Kyle Doherty committed
    }
    
    Kyle Doherty's avatar
    Kyle Doherty committed
    .NavItem:hover {
        background-color: rgba(255, 255, 255, 0.08);
    }
    
    .Greeting {
        padding-top: 2rem;
        padding-bottom: 3rem;
    
    Kyle Doherty's avatar
    Kyle Doherty committed
    }
    
    
    @media screen and (--breakpoint-min-xl) {
        .Greeting {
            padding-top: 6em;
            padding-bottom: 6em;
        }
    }
    
    
    Kyle Doherty's avatar
    Kyle Doherty committed
    /* on the homepage, the wrapper should only be as wide as our largest size */
    .Home .wrapper {
        max-width: var(--xl-width);
        margin: 0 auto;
    }
    
    .HomeTab {
        text-decoration: none;
        border: 1px solid #fff;
        color: #fff;
    }
    
    .HomeTab:hover {
        background-color: rgba(255, 255, 255, 0.2);
        cursor: pointer;
    }
    
    .HomeTab.HomeTab--active {
        background-color: #fff;
        color: var(--brand-color);
        transition: background .3s linear;
    }
    
    
    .bullet {
        position: relative;
        margin-left: 1.2em;
    }
    .bullet:before {
    
        content: "\2022";
    
        color: #6FB0EB;
        position: absolute;
        top: 0;
        margin-top: 16px;
        left: -0.85em;
    }
    
    
    .NavDropdown {
        position: relative;
    
    Tom Robinson's avatar
    Tom Robinson committed
    }
    
    .NavDropdown.open {
        z-index: 100;
    }
    .NavDropdown .NavDropdown-content {
        display: none;
    }
    .NavDropdown.open .NavDropdown-content {
        display: inherit;
    }
    .NavDropdown .NavDropdown-button {
    
    Tom Robinson's avatar
    Tom Robinson committed
        position: relative;
    
        border-radius: 8px;
    }
    .NavDropdown .NavDropdown-content {
        position: absolute;
        border-radius: 4px;
        top: 38px;
        min-width: 200px;
    }
    .NavDropdown .NavDropdown-button:before,
    .NavDropdown .NavDropdown-content:before {
        content:"";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        box-shadow: 0 0 4px rgba(0, 0, 0, .12);
    
    Tom Robinson's avatar
    Tom Robinson committed
        background-clip: padding-box;
    }
    
    
    .NavDropdown .NavDropdown-content:before {
        z-index: -2;
        border-radius: 4px;
    }
    .NavDropdown .NavDropdown-button:before {
        z-index: -1;
        border-radius: 8px;
    }
    .NavDropdown .NavDropdown-content-layer {
        position: relative;
        z-index: 1;
    
    Tom Robinson's avatar
    Tom Robinson committed
        overflow: hidden;
    }
    
    .NavDropdown .NavDropdown-button-layer {
        position: relative;
        z-index: 2;
    }
    
    .NavDropdown.open .NavDropdown-button,
    .NavDropdown .NavDropdown-content-layer {
        background-color: #6FB0EB;
    }
    
    .NavDropdown .NavDropdown-content-layer {
        padding-top: 10px;
        border-radius: 4px;
    }
    
    Tom Robinson's avatar
    Tom Robinson committed
    
    
    .NavDropdown .DashboardList {
        min-width: 332px;
    
    Kyle Doherty's avatar
    Kyle Doherty committed
    }
    
    
    Tom Robinson's avatar
    Tom Robinson committed
    .QuestionCircle {
        display: inline-block;
    
    Tom Robinson's avatar
    Tom Robinson committed
        font-size: 3.25rem;
    
    Tom Robinson's avatar
    Tom Robinson committed
        width: 73px;
        height: 73px;
        border-radius: 99px;
        border: 3px solid white;
        text-align: center;
    
    .Entity-title {
    
    Kyle Doherty's avatar
    Kyle Doherty committed
        font-size: 1.24em;
    
        color: #797979;
    }
    
    .Entity-attribution {
        display: block;
    
    Kyle Doherty's avatar
    Kyle Doherty committed
        color: #ADADAD;
        margin-bottom: 0.5em;
    
    Kyle Doherty's avatar
    Kyle Doherty committed
    @keyframes pop {
        0% { transform: scale(0.75) }
       75% { transform: scale(1.0625) }
      100% { transform: scale(1) }
    }
    
    .animate-pop {
        animation-name: popin;
        animation-duration: .15s;
        animation-timing-function: ease-out;
    }
    
    .AdminLink {
        opacity: 0.435;
    }
    
    Kyle Doherty's avatar
    Kyle Doherty committed
    .AdminLink:hover {
        opacity: 1;
    
    Kyle Doherty's avatar
    Kyle Doherty committed
    
    .break-word {
        word-wrap: break-word;
    }
    
    .cursor-pointer {
        cursor: pointer;
    }
    
    .HomeTabs {
        background-color: rgba(0, 0, 0, 0.05);
        border-radius:6px;
    }
    
    
    .tooltip {
        position: absolute;
        background-color: #fff;
        border-radius: 2px;
        box-shadow: 1px 1px 1px rgba(0, 0, 0, .12);
        color: #ddd;
    }