ducthienbui97/gitlicense

View on GitHub
public/assets/index.css

Summary

Maintainability
Test Coverage
/*
 * Globals
 */


/* Links */

a,
a:focus,
a:hover {
    color: #fff;
}


/* Custom default button */

.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
    color: #333;
    text-shadow: none;
    /* Prevent inheritance from `body` */
    background-color: #fff;
    border: none;
}


/*
 * Base structure
 */

html,
body {
    height: 100%;
    background-color: #333;
}

body {
    color: #fff;
    text-align: center;
    text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
    overflow-x: hidden;
    margin: 0;
}

h2 {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 1rem;
}

.copy-field {
    font-family: monospace;
    resize: none;
    overflow: hidden;
    line-height: 1.65;
    padding: 0.5rem 0.75rem;
    border: none;
    word-break: break-all;
}

.copy-button {
    padding: 0 1rem;
    cursor: pointer;
    background: #cdd4db;
    background: hsl(210, 16%, 83%);
}

.input-group {
    margin-bottom: 3rem;
}

.input-group .btn {
    border: none;
}

.site-wrapper {
    min-height: 100vh;
    box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
}

.inner-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    max-width: 42rem;
    margin: 0 auto;
    padding: 1.5rem;
}

.site-wrapper .content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.site-wrapper .footer {
    flex-shrink: 0;
    color: rgba(255, 255, 255, .5);
}

.site-wrapper .footer .credit {
    font-size: 0.7rem;
}

.badges {
    margin-bottom: 2rem;
}

.cover-heading {
    word-wrap: break-word;
    line-height: 1.4;
}