Difference between pages "Template:Task Force" and "MediaWiki:Common.css"

From Bravo Fleet
(Difference between pages)
 
m
 
Line 1: Line 1:
<div class="infobox">
+
.mw-logo-icon {
{| width="315" align="right" cellpadding="3" cellspacing="0" style="border-radius:13px;margin-bottom: 0;
+
    width: initial;
{{#if: {{{image|}}}|
+
}
{{!}} colspan="2" bgcolor={{{bgcolor_value|#222222; style="border-top-right-radius: 13px; border-top-left-radius: 13px; background: #f3f3f3 !important; color: #cccccc; font-size:smaller; text-align: center;padding: 10px;"}}} {{!}} {{{image}}} }}
+
#mw-drawer {
|-
+
    position: fixed;
| colspan="2" style="text-align: center; color: #e5e5ed; font-size:larger; background-color:#2862a8 !important; text-align:center;padding: .3rem 1.25rem;" | '''{{{name}}}'''
+
    z-index: 4;
|-
+
    top: 0;
{{#if:{{{areaofops|}}}|
+
    width: 300px;
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Area of Responsibility
+
    max-width: 100vw;
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
+
    height: 100%;
{{{areaofops}}} }}
+
    box-shadow: 0 10px 20px rgb(0 0 0 / 5%), 0 6px 6px rgb(0 0 0 / 6%);
|-
+
    border-radius: 0;
{{#if:{{{designation|}}}|
+
    display: flex;
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Designation
+
    background: #fff;
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
+
    flex-direction: column;
{{{designation}}} }}
+
    transform-origin: 0% 0%;
|-
+
    transform: translate(-110%,0);
| colspan="2" style="text-align: center; color: #e5e5ed; background-color:#4979b5; text-align:center; font-size:8pt; padding: 6px" | '''Management'''
+
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1);
|-
+
    will-change: transform;
{{#if:{{{co|}}}|
+
}
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Commanding Officer
+
.skin-citizen-dark #mw-drawer{
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
+
background: rgba(19,26,33);
{{{co}}} }}
+
}
|-
+
#n-Fleet-Policy > *:after {
{{#if:{{{xo|}}}|
+
    background-image: url(/load.php?modules=skins.citizen.icons.n&image=mainpage-description&format=rasterized&skin=citizen&version=virxe);
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Executive Officer
+
    background-image: linear-gradient(transparent,transparent),url(data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22%3E%3Cg fill=%22%23000%22%3E %3Cpath d=%22M5 1a2 2 0 00-2 2v14a2 2 0 002 2h10a2 2 0 002-2V3a2 2 0 00-2-2zm0 3h5v1H5zm0 2h5v1H5zm0 2h5v1H5zm10 7H5v-1h10zm0-2H5v-1h10zm0-2H5v-1h10zm0-2h-4V4h4z%22/%3E %3C/g%3E%3C/svg%3E);
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
+
right: -1.2px;
{{{xo}}} }}
+
}
|-
+
.mainpage-body {
{{#if:{{{cas|}}}|
+
    width: 100%;
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} TGCOs
+
    margin: 1.2rem -0.2rem 0 -0.2rem;
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
+
    display: flex;
{{{cas}}} }}
+
    flex-direction: column;
|-
+
}
| colspan="2" style="text-align: center; color: #e5e5ed; background-color:#4979b5; text-align:center; font-size:8pt; padding: 6px" | '''Links'''
+
.mainpage-row {
|-
+
    display: flex;
{{#if:{{{canon|}}}|
+
    width: 100%;
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Canon
+
    flex-wrap: wrap;
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
+
}
{{{canon}}} }}
+
.card {
|-
+
    margin: 0 0.2rem 0.4rem 0.2rem;
{{#if:{{{url|}}}|
+
    display: flex;
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Main Website
+
    flex-grow: 1;
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
+
    flex-direction: column;
{{{url}}} }}
+
    justify-content: space-between;
|-
+
    box-sizing: border-box;
{{#if:{{{rsburl|}}}|
+
    border: 1px solid #eaecf0;
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Forum Section
+
    border-radius: 8px;
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
+
    overflow: hidden;
{{{rsburl}}} }}
+
    box-shadow: 0 1px 3px rgb(0 0 0 / 3%), 0 1px 2px rgb(0 0 0 / 6%);
|-  
+
    transition: box-shadow 0.2s ease;
{{#if:{{{sims|}}}|
+
}
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Sim Listing
+
.card-text {
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
+
    padding: 1.2rem;
{{{sims}}} }}
+
}
|- class="infobox-link" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px;"
+
.card h3 {
|colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px; text-align: center; color: #F67F00; font-size: 8pt; background-color:#4979b5; text-align:center;padding: 6px 0;" | [[:Template:Task_Force]]
+
    margin-top: 0;
|}</div>
+
    line-height: 1.2;
<includeonly>[[Category:Task_Force]]
+
    font-weight: 600;
{{DEFAULTSORT:{{PAGENAME}}}}</includeonly><noinclude>
+
}
<noinclude>
+
.card p {
<br clear=all>
+
    font-size: 0.875rem;
<pre>
+
}
{{Task_Force
+
.card-button {
| name =
+
    background: #72777d;
| image =
+
    transition: background 0.2s ease,opacity 0.2s ease;
| areaofops =
+
}
| designation =
+
.card-button a {
| canon =
+
    padding: 0.6rem;
| url =
+
    display: block;
| rsburl =
+
    background: none !important;
| sims =
+
    color: white !important;
| co =
+
    text-align: center;
| xo =
+
    font-size: 0.875rem;
| cas =
+
    font-weight: 600;
}}</pre>
+
}
 +
.card-image a img {
 +
    transition: transform 0.2s cubic-bezier(0.77,0.2,0.05,1.0);
 +
}
 +
.card-image a,
 +
.card-image a:hover{
 +
background-image: none !important;
 +
}
 +
.card-image img{
 +
vertical-align: middle;
 +
}
 +
.card .byline {
 +
    margin: 0 0 0.2rem 0;
 +
    color: #72777d;
 +
    font-size: 0.825rem;
 +
}
 +
.card .numdata {
 +
    margin-top: 0.8rem;
 +
}
 +
.card-caption {
 +
    font-size: 0.875rem;
 +
    font-weight: 600;
 +
}
 +
.card-link ul {
 +
    margin: 0;
 +
    padding: 1.2rem 1.2rem 1.2rem 2.8rem;
 +
    font-size: 0.875rem;
 +
}
 +
.mainpage-navigation .card {
 +
    width: calc(100%/4 - 0.4rem);
 +
    min-width: calc(860px/4 - 0.4rem);
 +
    border: 0;
 +
}
 +
.mainpage-navigation .card-image {
 +
    height: 180px;
 +
    background-color: #f8f9fa;
 +
    overflow: hidden;
 +
}
 +
.mainpage-navigation .card-caption {
 +
    padding: 0.4rem;
 +
    background: #304665;
 +
    color: #bfcee7;
 +
    text-align: center;
 +
    transition: color 0.2s ease;
 +
}
 +
#wiki_stats .numdata:first-child {
 +
    margin-top: 0;
 +
}
 +
#featured_article.card {
 +
    width: calc(100%/6*5 - 0.4rem);
 +
    min-width: calc(860px/6*5 - 0.4rem);
 +
    flex-direction: row;
 +
}
 +
#featured_article .card-image-featured a,
 +
#featured_article .card-image-featured a:hover {
 +
    background-image: none !important;
 +
}
 +
#featured_article .card-image {
 +
    width: 800px;
 +
    overflow: hidden;
 +
    background-color: #0000001a;
 +
}
 +
#featured_article .card-image img {
 +
    height: 90%;
 +
    width: auto;
 +
    position: relative;
 +
    margin: auto;
 +
}
 +
#wiki_stats.card {
 +
    width: calc(100%/6 - 0.4rem);
 +
    min-width: calc(860px/6 - 0.4rem);
 +
    text-align: right;
 +
}
 +
#contribute.card {
 +
width: calc(100% / 3 - 0.4rem);
 +
min-width: calc(860px/4 - 0.4rem);
 +
background-color: #00af89;
 +
border-color: #00af89;
 +
}
 +
#policy.card {
 +
    width: calc(100%/3 - 0.4rem);
 +
    min-width: calc(860px/4 - 0.4rem);
 +
    background-color: #36c;
 +
    border-color: #36c;
 +
}
 +
#discord.card {
 +
    width: calc(100%/3 - 0.4rem);
 +
    min-width: calc(860px/4 - 0.4rem);
 +
    background-color: #7289da;
 +
    border-color: #7289da;
 +
}
 +
#resources.card {
 +
    width: calc(100%/2 - 0.4rem);
 +
    min-width: calc(860px/2 - 0.4rem);
 +
    background-color: #304665;
 +
    border-color: #304665;
 +
}
 +
#social.card,
 +
#bfms.card{
 +
    width: calc(100%/4 - 0.4rem);
 +
    min-width: calc(860px/4 - 0.4rem);
 +
    background: #71777d;
 +
    color: #eaecf0;
 +
    border: transparent;
 +
}
 +
#contribute.card h3,
 +
#policy.card h3,
 +
#discord.card h3,
 +
#resources.card h3{
 +
color: #fff;
 +
}
 +
#contribute.card p,
 +
#policy.card p,
 +
#discord.card p,
 +
#resources.card p{
 +
color: #eaecf0;
 +
}
 +
#contribute .card-button {
 +
background: #14866d;
 +
}
 +
#policy .card-button {
 +
    background: #2a4b8d;
 +
}
 +
#discord .card-button {
 +
    background: #697ec4;
 +
}
 +
#resources .card-link {
 +
    color: #bfcee7;
 +
    background: #162131;
 +
}
 +
#resources a {
 +
    color: #ccd3db;
 +
    background-image: none !important;
 +
}
 +
#resources a:hover {
 +
    color: #fff !important;
 +
    background-image: none !important;
 +
}
 +
#social .profile {
 +
    margin-right: 1.6rem;
 +
}
 +
#social a{
 +
color: #fff !important;
 +
}
 +
#social .byline{
 +
color: #eaecf0;
 +
}
 +
#social .card-button,
 +
#bfms .card-button{
 +
background: #505861;
 +
}
  
<noinclude>[[Category:Infobox Templates|Task_Force]]
+
.spectiles a.external{
</noinclude>
+
padding: 0 !important;
 +
background-image: none !important;
 +
}
 +
 
 +
.spectiles #akira-class .card-image{
 +
background: url(https://wiki.bravofleet.com/images/e/e8/Akiraclass.png) !important;
 +
    background-size: 140% !important;
 +
    background-position: -30px !important;
 +
}
 +
.spectiles #argonaut-class .card-image{
 +
background: url(https://wiki.bravofleet.com/images/b/ba/Argonautclass.png) !important;
 +
    background-size: 140% !important;
 +
    background-position: -30px !important;
 +
}
 +
.spectiles #argonaut-class .card-image{
 +
background: url(https://wiki.bravofleet.com/images/2/21/Atlantiaclass.png) !important;
 +
    background-size: 140% !important;
 +
    background-position: -30px !important;
 +
}

Revision as of 22:02, 30 January 2021

.mw-logo-icon {
    width: initial;
}
#mw-drawer {
    position: fixed;
    z-index: 4;
    top: 0;
    width: 300px;
    max-width: 100vw;
    height: 100%;
    box-shadow: 0 10px 20px rgb(0 0 0 / 5%), 0 6px 6px rgb(0 0 0 / 6%);
    border-radius: 0;
    display: flex;
    background: #fff;
    flex-direction: column;
    transform-origin: 0% 0%;
    transform: translate(-110%,0);
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1);
    will-change: transform;
}
.skin-citizen-dark #mw-drawer{
	background: rgba(19,26,33);
}
#n-Fleet-Policy > *:after {
    background-image: url(/load.php?modules=skins.citizen.icons.n&image=mainpage-description&format=rasterized&skin=citizen&version=virxe);
    background-image: linear-gradient(transparent,transparent),url(data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22%3E%3Cg fill=%22%23000%22%3E %3Cpath d=%22M5 1a2 2 0 00-2 2v14a2 2 0 002 2h10a2 2 0 002-2V3a2 2 0 00-2-2zm0 3h5v1H5zm0 2h5v1H5zm0 2h5v1H5zm10 7H5v-1h10zm0-2H5v-1h10zm0-2H5v-1h10zm0-2h-4V4h4z%22/%3E %3C/g%3E%3C/svg%3E);
	right: -1.2px;
}
.mainpage-body {
    width: 100%;
    margin: 1.2rem -0.2rem 0 -0.2rem;
    display: flex;
    flex-direction: column;
}
.mainpage-row {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}
.card {
    margin: 0 0.2rem 0.4rem 0.2rem;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    border: 1px solid #eaecf0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgb(0 0 0 / 3%), 0 1px 2px rgb(0 0 0 / 6%);
    transition: box-shadow 0.2s ease;
}
.card-text {
    padding: 1.2rem;
}
.card h3 {
    margin-top: 0;
    line-height: 1.2;
    font-weight: 600;
}
.card p {
    font-size: 0.875rem;
}
.card-button {
    background: #72777d;
    transition: background 0.2s ease,opacity 0.2s ease;
}
.card-button a {
    padding: 0.6rem;
    display: block;
    background: none !important;
    color: white !important;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
}
.card-image a img {
    transition: transform 0.2s cubic-bezier(0.77,0.2,0.05,1.0);
}
.card-image a, 
.card-image a:hover{
	background-image: none !important;
}
.card-image img{
	vertical-align: middle;
}
.card .byline {
    margin: 0 0 0.2rem 0;
    color: #72777d;
    font-size: 0.825rem;
}
.card .numdata {
    margin-top: 0.8rem;
}
.card-caption {
    font-size: 0.875rem;
    font-weight: 600;
}
.card-link ul {
    margin: 0;
    padding: 1.2rem 1.2rem 1.2rem 2.8rem;
    font-size: 0.875rem;
}
.mainpage-navigation .card {
    width: calc(100%/4 - 0.4rem);
    min-width: calc(860px/4 - 0.4rem);
    border: 0;
}
.mainpage-navigation .card-image {
    height: 180px;
    background-color: #f8f9fa;
    overflow: hidden;
}
.mainpage-navigation .card-caption {
    padding: 0.4rem;
    background: #304665;
    color: #bfcee7;
    text-align: center;
    transition: color 0.2s ease;
}
#wiki_stats .numdata:first-child {
    margin-top: 0;
}
#featured_article.card {
    width: calc(100%/6*5 - 0.4rem);
    min-width: calc(860px/6*5 - 0.4rem);
    flex-direction: row;
}
#featured_article .card-image-featured a,
#featured_article .card-image-featured a:hover {
    background-image: none !important;
}
#featured_article .card-image {
    width: 800px;
    overflow: hidden;
    background-color: #0000001a;
}
#featured_article .card-image img {
    height: 90%;
    width: auto;
    position: relative;
    margin: auto;
}
#wiki_stats.card {
    width: calc(100%/6 - 0.4rem);
    min-width: calc(860px/6 - 0.4rem);
    text-align: right;
}
#contribute.card {
	width: calc(100% / 3 - 0.4rem);
	min-width: calc(860px/4 - 0.4rem);
	background-color: #00af89;
	border-color: #00af89;
}
#policy.card {
    width: calc(100%/3 - 0.4rem);
    min-width: calc(860px/4 - 0.4rem);
    background-color: #36c;
    border-color: #36c;
}
#discord.card {
    width: calc(100%/3 - 0.4rem);
    min-width: calc(860px/4 - 0.4rem);
    background-color: #7289da;
    border-color: #7289da;
}
#resources.card {
    width: calc(100%/2 - 0.4rem);
    min-width: calc(860px/2 - 0.4rem);
    background-color: #304665;
    border-color: #304665;
}
#social.card,
#bfms.card{
    width: calc(100%/4 - 0.4rem);
    min-width: calc(860px/4 - 0.4rem);
    background: #71777d;
    color: #eaecf0;
    border: transparent;
}
#contribute.card h3,
#policy.card h3,
#discord.card h3,
#resources.card h3{
	color: #fff;
}
#contribute.card p,
#policy.card p,
#discord.card p,
#resources.card p{
	color: #eaecf0;
}
#contribute .card-button {
	background: #14866d;
}
#policy .card-button {
    background: #2a4b8d;
}
#discord .card-button {
    background: #697ec4;
}
#resources .card-link {
    color: #bfcee7;
    background: #162131;
}
#resources a {
    color: #ccd3db;
    background-image: none !important;
}
#resources a:hover {
    color: #fff !important;
    background-image: none !important;
}
#social .profile {
    margin-right: 1.6rem;
}
#social a{
	color: #fff !important;
}
#social .byline{
	color: #eaecf0;
}
#social .card-button,
#bfms .card-button{
	background: #505861;
}

.spectiles a.external{
	padding: 0 !important;
	background-image: none !important;
}

.spectiles #akira-class .card-image{
	background: url(https://wiki.bravofleet.com/images/e/e8/Akiraclass.png) !important;
    background-size: 140% !important;
    background-position: -30px !important;
}
.spectiles #argonaut-class .card-image{
	background: url(https://wiki.bravofleet.com/images/b/ba/Argonautclass.png) !important;
    background-size: 140% !important;
    background-position: -30px !important;
}
.spectiles #argonaut-class .card-image{
	background: url(https://wiki.bravofleet.com/images/2/21/Atlantiaclass.png) !important;
    background-size: 140% !important;
    background-position: -30px !important;
}