|
|
Line 1: |
Line 1: |
− | .mw-wiki-logo {
| + | <includeonly><div class="card" id="social"> |
− | background-size: 100%;
| + | <div class="card-text"> |
− | }
| + | <div class="mainpage-row"> |
− | .mainpage-body {
| + | <div class="profile"> |
− | width: 100%;
| + | <h3>[https://facebook.com/OfficialBravoFleet Facebook]</h3> |
− | margin: 1.2rem -0.2rem 0 -0.2rem;
| + | <p class="byline">@OfficialBravoFleet</p> |
− | display: flex;
| + | </div> |
− | flex-direction: column;
| + | <br><br> |
− | }
| + | <div class="profile"> |
− | .mainpage-row {
| + | <h3>[http://twitter.com/bravofleet Twitter]</h3> |
− | display: flex;
| + | <p class="byline">@bravofleet</p> |
− | width: 100%;
| + | </div> |
− | flex-wrap: wrap;
| + | </div> |
− | }
| + | </div> |
− | .card {
| + | <div class="card-button">[[#social|Social Media]]</div> |
− | margin: 0 0.2rem 0.4rem 0.2rem;
| + | </div></includeonly><noinclude> |
− | display: flex;
| + | {{/doc}}</noinclude> |
− | 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 {
| |
− | width: calc(100%/4 - 0.4rem);
| |
− | min-width: calc(860px/4 - 0.4rem);
| |
− | }
| |
− | #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;
| |
− | } | |