مدیاویکی:Common.css: تفاوت میان نسخهها
بدون خلاصۀ ویرایش |
بدون خلاصۀ ویرایش |
||
خط ۲۲۵: | خط ۲۲۵: | ||
} | } | ||
.container { | |||
min-height: 100vh; | |||
} | } | ||
.marquee- | .marquee-full-width { | ||
overflow: hidden; | |||
position: relative; | |||
width: 100%; | |||
max-width: 600px; /* Adjust the width as needed */ | |||
margin: 0 auto; | |||
} | } | ||
.marquee-box { | |||
.marquee- | overflow:hidden; | ||
display: flex !important; | |||
flex-direction: row !important; | |||
position: relative; | |||
width: 100%; | |||
} | |||
.marquee { | |||
flex: 0 0 auto; | |||
min-width: 100%; | |||
z-index: 1; | |||
display: flex; | |||
flex-direction: row; | |||
align-items: center; | |||
animation: marqueescroll 100s linear 0s infinite; | |||
animation-play-state: running; | |||
animation-delay: 0s; | |||
animation-direction: normal; | |||
} | |||
.marquee figure | |||
{ | |||
margin-right: 3rem; | |||
margin-left: 3rem; | |||
padding: 5px; | |||
max-width: 250px; | |||
text-align: center; | |||
vertical-align: top; | |||
} | |||
.marquee figcaption | |||
{ | |||
display:none; | |||
font-weight: 80%; | |||
color: #333; | |||
line-height: 1.2; | |||
} | |||
.marquee img | |||
{ | |||
margin: 0 auto; | |||
height: auto; | |||
max-height: 3.5rem; | |||
max-width: 100%; | |||
background: #fdfdfd; | |||
border: none; | |||
} | |||
.marquee-box:hover div { | |||
animation-play-state: running; | |||
} | |||
.marquee-box:active div { | |||
animation-play-state: running; | |||
} | |||
@keyframes marqueescroll { | |||
0% { | |||
transform: translateX(0%); | |||
} | |||
100% { | |||
transform: translateX(-100%); | |||
} | |||
} | } |
نسخهٔ ۴ مارس ۲۰۲۴، ساعت ۰۷:۵۹
@font-face {
font-family: vazir;
src: url('/fonts/Vazir-FD.woff2') format('woff2');
font-weight: 400;
}
@font-face {
font-family: vazir;
src: url('/fonts/Vazir-Medium-FD.woff2') format('woff2');
font-weight: 600;
}
@font-face {
font-family: vazir;
src: url('/fonts/Vazir-Bold-FD.woff2') format('woff2');
font-weight: 700;
}
@font-face {
font-family: vazir;
src: url('/fonts/Vazir-Black-FD.woff2') format('woff2');
font-weight: 900;
}
@font-face {
font-family: nastaliq;
src: url('/fonts/IranNastaliq.woff2') format('woff2');
font-weight: 900;
}
html, body {
font-family: vazir;
}
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
font-family:vazir;
font-weight:900;
}
.vector-sticky-header-context-bar-primary {
font-family:vazir
}
.vector-body p {
line-height:33px;
}
.mw-logo-wordmark {
font-size:22px;
}
.vector-sticky-header {
display: flex;
background: #43e8d8;
}
.bala {
border:3px solid #ddd;
border-radius:10px;
background-size:cover;
padding:20px;
display:flex;
box-shadow: 2px 3px #c4f8f3;
}
/**
ol.references {
background: #E4FBFF;
border:2px solid #7868E6;
border-radius:15px;
margin:20px;
}
**/
.im-references {
max-height: 300px;
overflow: auto;
padding: 5px 0 5px 5px;
background: #f8f9fa;
}
.mw-editsection a {
white-space: nowrap;
font-family: 'vazir';
}
.vector-toc-collapse-button, .vector-toc-uncollapse-button {
font-family:vazir;
}
.vector-body {
text-align:justify;
}
.mw-references-columns {
padding:20px 0 20px 20px;
background-color:#dedeead9;
}
body.page-صفحهٔ_اصلی .mw-body .firstHeading {
display:none;
}
body.page-صفحهٔ_اصلی .mw-article-toolbar-container {
display:none;
}
.mw-content-container {
max-width:unset;
min-width:100%;
}
body.page-صفحهٔ_اصلی .mw-content-container {
max-width:unset;
min-width:85%;
}
body.page-صفحهٔ_اصلی #catlinks {
display: none;
}
.logo-main {
width:12%;
display:flex;
align-items:center;
}
.intro {
width: 88%;
margin:auto;
text-align:center
}
div#map {
margin-top: 45px;
margin-bottom: 40px;
}
.body-r-l {
flex:100%;
display:flex;
margin-top:90px;
}
.right-c {
flex:70%;
border:3px solid #ddd;
border-radius:10px;
margin-left:5px;
padding: 10px;
box-shadow: 2px 3px #c4f8f3;
}
.left-c {
flex:30%;
border:3px solid #ddd;
margin-right:5px;
border-radius:10px;
padding: 10px;
box-shadow: 2px 3px #c4f8f3;
}
.titr {
font-weight: 900;
padding-right:10px;
background: rgb(255,255,255);
background: linear-gradient(90deg, rgba(255,255,255,1) 24%, rgba(67,232,216,1) 91%);
border-right: 2px solid #43e8d8;
border-radius: 0px 15px 15px 0px;
border-top: 2px solid #43e8d8;
border-bottom: 2px solid #43e8d8;
font-size:18px;
}
/* Infobox template style */
.infobox {
border: 1px solid #a2a9b1;
border-spacing: 3px;
background-color: #f8f9fa;
color: black;
/* @noflip */
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
/* @noflip */
float: left;
/* @noflip */
clear: left;
font-size: 88%;
line-height: 1.5em;
width: 22em;
}
.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element selector when every .infobox thing is using the standard module/templates */
.infobox th,
.infobox td {
vertical-align: top;
}
.infobox-label,
.infobox-data,
/* Remove element selector when every .infobox thing is using the standard module/templates */
.infobox th,
.infobox td {
/* @noflip */
text-align: right;
}
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-above,
.infobox .infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates */
.infobox caption {
font-size: 125%;
font-weight: bold;
text-align: center;
}
.infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates */
.infobox caption {
padding: 0.2em;
}
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center;
}
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-navbar {
/* @noflip */
text-align: right;
}
.container {
min-height: 100vh;
}
.marquee-full-width {
overflow: hidden;
position: relative;
width: 100%;
max-width: 600px; /* Adjust the width as needed */
margin: 0 auto;
}
.marquee-box {
overflow:hidden;
display: flex !important;
flex-direction: row !important;
position: relative;
width: 100%;
}
.marquee {
flex: 0 0 auto;
min-width: 100%;
z-index: 1;
display: flex;
flex-direction: row;
align-items: center;
animation: marqueescroll 100s linear 0s infinite;
animation-play-state: running;
animation-delay: 0s;
animation-direction: normal;
}
.marquee figure
{
margin-right: 3rem;
margin-left: 3rem;
padding: 5px;
max-width: 250px;
text-align: center;
vertical-align: top;
}
.marquee figcaption
{
display:none;
font-weight: 80%;
color: #333;
line-height: 1.2;
}
.marquee img
{
margin: 0 auto;
height: auto;
max-height: 3.5rem;
max-width: 100%;
background: #fdfdfd;
border: none;
}
.marquee-box:hover div {
animation-play-state: running;
}
.marquee-box:active div {
animation-play-state: running;
}
@keyframes marqueescroll {
0% {
transform: translateX(0%);
}
100% {
transform: translateX(-100%);
}
}