Uncyclopedia:Portals/styles.css

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search
/* portal styling */
.portal-container {
    max-width: 1680px;
    margin: 0 auto;
}
.portal-panel {
    position: relative;
    background: #f2f2f2;
    border: 1px solid #BDBDBD;
    border-radius: 3px;
    margin: 0.5rem 0rem 0rem 0rem;
    box-shadow: inset 0px 0px 2px rgba(0,0,0,0.1), 1px 1px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 100%;
}
.portal-panel-content {
    padding: 0.4rem 0.8rem 0.8rem 0.6rem;
}
.portal-panel-content .thumbinner {
    background: none;
    border: 0;
}
.portal-panel-content .magnify {
    display: none;
}
.portal-panel-header {
    background: #888;
    color: #333;
    padding: 0.4rem;
    font-family: 'Linux Libertine','Georgia','Times',serif;
    font-size: 1rem;
    font-weight: bold;
    line-height: 100%;
    text-align: center;
    position: relative;
    user-select: none;
    cursor: default;
}
.portal-panel-header::after {
    display: block;
    content: '';
    height: 50%;
    width: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100% );
    position: absolute;
    top: 0;
    left: 0;
}
.portal-panel-header a {
	user-select: text;
	cursor: pointer;
	z-index: 1;
}
#portal-edit a {
    font-size: 0.8rem;
    font-weight: normal;
    font-style: italic;
    color: inherit;
    position: absolute;
    right: 0px;
    width: 60px;
}
.portal-highlights {
    display: grid;
    grid-template-columns: 53fr 47fr;
    grid-auto-rows: auto;
    column-gap: 0.5rem;
}
.portal-highlights-column {
    display: flex;
    flex-flow: row wrap;
}
.portal-row {
    width: 100%;
    clear: both;
    overflow: hidden;
}

/* portal blurb behavior, only for panels with templates {{selected article}} and {{selected picture}} */
.portal-highlights .portal-panel.portal-blurb {
    display: flex;
    flex-flow: column wrap;
}
.portal-panel.portal-blurb .portal-panel-header {
    flex: 0 0;
}
.portal-panel.portal-blurb .portal-panel-content {
    flex: 1 1;
    display: flex;
    flex-flow: column wrap;
}
.portal-panel.portal-blurb .portal-panel-content .portal-blurb-content {
    flex: 1 1;
}
.portal-panel.portal-blurb .portal-panel-content .portal-blurb-links {
    flex: 0 0;
}

/* mobile responsive nonsense for the skibidi ms rachel generation who can't get off their damn phones! */
@media screen and (max-width:960px) {
    .portal-highlights {
        display: flex;
        flex-flow: column nowrap;
    }
}

/* portal colors */
/* Art */
.portal-art .portal-panel {
    background: #ffe4e1;
}
.portal-art .portal-panel-header {
    background: #ff99ad;
}

/* Business */
.portal-business .portal-panel {
    background: #f0f8ff;
}
.portal-business .portal-panel-header {
    background: #add8e6;
}

/* Culinary */
.portal-culinary .portal-panel {
    background: #fafaf7;
}
.portal-culinary .portal-panel-header {
    background: #a8a49d;
}

/* Games */
.portal-games .portal-panel {
    background: #f0ffff;
}
.portal-games .portal-panel-header {
    background: #afeeee;
}

/* History */
.portal-history .portal-panel {
    background: #fafad2;
}
.portal-history .portal-panel-header {
    background: #f2db0d;
}

/* Music */
.portal-music .portal-panel {
    background: #ffffec;
}
.portal-music .portal-panel-header {
    background: #fff066;
}

/* People */
.portal-people .portal-panel {
    background: #f7eef5;
}
.portal-people .portal-panel-header {
    background: #8f66cc;
    color: #fff;
}

/* Politics */
.portal-politics .portal-panel {
    background: #f2f2d9;
}
.portal-politics .portal-panel-header {
    background: #ccc266;
}

/* Religion */
.portal-religion .portal-panel {
    background: #f7edf7;
}
.portal-religion .portal-panel-header {
    background: #bf93bf;
}

/* Science */
.portal-science .portal-panel {
    background: #e0f5cc;
}
.portal-science .portal-panel-header {
    background: #9acd32;
}

/* Society */
.portal-society .portal-panel {
    background: #ffefd5;
}
.portal-society .portal-panel-header {
    background: #f4a460;
}

/* Technology */
.portal-technology .portal-panel {
    background: #F7FAF9;
}
.portal-technology .portal-panel-header {
    background: #9FB3A9;
}

/* subportal colors */
/* Comedy */
.portal-comedy .portal-panel {
    background: #fff0cc;
}
.portal-comedy .portal-panel-header {
    background: #ffc266;
}

/* Film */
.portal-film .portal-panel {
    background: #e0f2ff;
}
.portal-film .portal-panel-header {
    background: #364a91;
    color: #fff;
}

/* Gay */
.portal-gay .portal-panel {
    background: #ffc7ce;
}
.portal-gay .portal-panel-header {
    background: #9c306b;
    color: #fff;
	
}

/* Geography */
.portal-geography .portal-panel {
    background: ivory;
}
.portal-geography .portal-panel-header {
    background: darkkhaki;
}
/* Internet */
.portal-internet .portal-panel {
    background: #D1C4E9;
}
.portal-internet .portal-panel-header {
    background: #7E57C2;
}

/* Literature */
.portal-literature .portal-panel {
    background: #fff5cc;
}
.portal-literature .portal-panel-header {
    background: #ffe066;
}

/* Television */
.portal-television .portal-panel {
    background: #e6f4f4;
}
.portal-television .portal-panel-header {
    background: #76a1c4;
}

/* Theatre */
.portal-theatre .portal-panel {
    background: #edf3fd;
}
.portal-theatre .portal-panel-header {
    background: #6a74b5;
    color: #fff;
}

/* Video games */
.portal-videogames .portal-panel {
    background: #f0f2e9;
}
.portal-videogames .portal-panel-header {
    background: #7ca698;
}

/* Zoology */
.portal-zoology .portal-panel {
    background: #fefaf6;
}
.portal-zoology .portal-panel-header {
    background: #cfbfb0;
}

/* [[Category:UnProjects stylesheets]] */