مدیاویکی:Common.css: تفاوت بین نسخه‌ها

از واژه‌های مصوب
پرش به: ناوبری، جستجو
 
(۵ نسخهٔ میانیِ همین کاربر نمایش داده نشده است)
سطر ۲: سطر ۲:
 
@font-face {
 
@font-face {
 
     font-family: Sahel;
 
     font-family: Sahel;
−
     src: url('../fonts/Sahel-FD.eot');
+
     src: url('/fonts/Sahel-FD.eot');
−
     src: url('../fonts/Sahel-FD.eot?#iefix') format('embedded-opentype'), url('../fonts/Sahel-FD.woff') format('woff'), url('../fonts/Sahel-FD.ttf') format('truetype');
+
     src: url('/fonts/Sahel-FD.eot?#iefix') format('embedded-opentype'), url('/fonts/Sahel-FD.woff') format('woff'), url('/fonts/Sahel-FD.ttf') format('truetype');
 
     font-weight: normal;
 
     font-weight: normal;
 
}
 
}
سطر ۹: سطر ۹:
 
@font-face {
 
@font-face {
 
     font-family: Sahel;
 
     font-family: Sahel;
−
     src: url('../fonts/Sahel-Bold-FD.eot');
+
     src: url('/fonts/Sahel-Bold-FD.eot');
−
     src: url('../fonts/Sahel-Bold-FD.eot?#iefix') format('embedded-opentype'), url('../fonts/Sahel-Bold-FD.woff') format('woff'), url('../fonts/Sahel-Bold-FD.ttf') format('truetype');
+
     src: url('/fonts/Sahel-Bold-FD.eot?#iefix') format('embedded-opentype'), url('/fonts/Sahel-Bold-FD.woff') format('woff'), url('/fonts/Sahel-Bold-FD.ttf') format('truetype');
 
     font-weight: bold;
 
     font-weight: bold;
 
}
 
}
سطر ۱۶: سطر ۱۶:
 
@font-face {
 
@font-face {
 
     font-family: Sahel;
 
     font-family: Sahel;
−
     src: url('../fonts/Sahel-Black-FD.eot');
+
     src: url('/fonts/Sahel-Black-FD.eot');
−
     src: url('../fonts/Sahel-Black-FD.eot?#iefix') format('embedded-opentype'), url('../fonts/Sahel-Black-FD.woff') format('woff'), url('../fonts/Sahel-Black-FD.ttf') format('truetype');
+
     src: url('/fonts/Sahel-Black-FD.eot?#iefix') format('embedded-opentype'), url('/fonts/Sahel-Black-FD.woff') format('woff'), url('/fonts/Sahel-Black-FD.ttf') format('truetype');
 
     font-weight: 900;
 
     font-weight: 900;
 
}
 
}
سطر ۴۹: سطر ۴۹:
 
.page-صفحهٔ_اصلی .mw-body .firstHeading {
 
.page-صفحهٔ_اصلی .mw-body .firstHeading {
 
     visibility: hidden;
 
     visibility: hidden;
 +
}
 +
.page-صفحهٔ_اصلی h2.title{
 +
  color: #002147;
 
}
 
}
 
@media screen and (max-width: 725px){
 
@media screen and (max-width: 725px){
سطر ۶۰: سطر ۶۳:
 
.mw-ui-button {
 
.mw-ui-button {
 
      
 
      
−
     background-color: #133251;
+
     background-color: #002147;
 
     color: #f2eaea;
 
     color: #f2eaea;
 
     font-weight: 500;
 
     font-weight: 500;
سطر ۶۷: سطر ۷۰:
 
.mw-ui-button:hover {
 
.mw-ui-button:hover {
 
     background-color: #ffffff;
 
     background-color: #ffffff;
−
     color: #133251
+
     color: #002147;
 
      
 
      
 
}
 
}
 +
  
 
/*Footer*/
 
/*Footer*/
سطر ۷۷: سطر ۸۱:
 
     margin-right: 14em;
 
     margin-right: 14em;
 
   }
 
   }
−
}
 
−
 
−
 
−
.neon {
 
−
    position: relative;
 
−
    overflow: hidden;
 
−
    filter: brightness(200%);
 
−
}
 
−
 
−
.text {
 
−
    background-color: black;
 
−
    color: white;
 
−
    font-size: 180px;
 
−
    font-weight: bold;
 
−
    font-family: sans-serif;
 
−
    text-transform: uppercase;
 
−
    position: relative;
 
−
    user-select: none;
 
−
}
 
−
 
−
.text::before {
 
−
    content: attr(data-text);
 
−
    position: absolute;
 
−
    color: white;
 
−
    filter: blur(0.02em);
 
−
    mix-blend-mode: difference;
 
−
}
 
−
 
−
.gradient {
 
−
    position: absolute;
 
−
    background: linear-gradient(45deg, red, gold, lightgreen, gold, red);
 
−
    top: 0;
 
−
    left: 0;
 
−
    right: 0;
 
−
    bottom: 0;
 
−
    mix-blend-mode: multiply;
 
−
}
 
−
 
−
.spotlight {
 
−
    position: absolute;
 
−
    top: -100%;
 
−
    left: -100%;
 
−
    right: 0;
 
−
    bottom: 0;
 
−
    background:
 
−
        radial-gradient(
 
−
            circle,
 
−
            white,
 
−
            transparent 25%
 
−
        ) center / 25% 25%,
 
−
        radial-gradient(
 
−
            circle,
 
−
            white,
 
−
            black 25%
 
−
        ) center / 12.5% 12.5%;
 
−
    animation: light 5s linear infinite;
 
−
    mix-blend-mode: color-dodge;
 
−
}
 
−
 
−
@keyframes light {
 
−
    to {
 
−
        transform: translate(50%, 50%);
 
−
    }
 
 
}
 
}

نسخهٔ کنونی تا ‏۱ ژوئیهٔ ۲۰۱۹، ساعت ۰۸:۵۳

/* دستورات این بخش همهٔ کاربران را تحت تاثیر قرار می‌دهند. */
@font-face {
    font-family: Sahel;
    src: url('/fonts/Sahel-FD.eot');
    src: url('/fonts/Sahel-FD.eot?#iefix') format('embedded-opentype'), url('/fonts/Sahel-FD.woff') format('woff'), url('/fonts/Sahel-FD.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: Sahel;
    src: url('/fonts/Sahel-Bold-FD.eot');
    src: url('/fonts/Sahel-Bold-FD.eot?#iefix') format('embedded-opentype'), url('/fonts/Sahel-Bold-FD.woff') format('woff'), url('/fonts/Sahel-Bold-FD.ttf') format('truetype');
    font-weight: bold;
}

@font-face {
    font-family: Sahel;
    src: url('/fonts/Sahel-Black-FD.eot');
    src: url('/fonts/Sahel-Black-FD.eot?#iefix') format('embedded-opentype'), url('/fonts/Sahel-Black-FD.woff') format('woff'), url('/fonts/Sahel-Black-FD.ttf') format('truetype');
    font-weight: 900;
}
*, html, body,
h1, h2, h3, h4, h5, h6, pre, code, tt, kbd, samp, .mw-code,.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
    font-family: Sahel
}

/*Navigation Menu*/

#mw-panel {
    width: 13em;
    font-size: 17px;
}

/*Head*/
@media screen and (min-width: 982px){
  #left-navigation {
    margin-right: 14em;
  }
}

/*Content area*/

@media screen and (min-width: 982px){
  .mw-body {
    margin-right: 14em;
  }
}

.page-صفحهٔ_اصلی .mw-body .firstHeading {
    visibility: hidden;
}
.page-صفحهٔ_اصلی h2.title{
   color: #002147;
}
@media screen and (max-width: 725px){
.page-صفحهٔ_اصلی h2.title{
    font-size:14px;
text-align: center!important;
margin-right: 0px!important;
}
}

.mw-ui-button {
    
    background-color: #002147;
    color: #f2eaea;
    font-weight: 500;
    
}
.mw-ui-button:hover {
    background-color: #ffffff;
    color: #002147;
    
}


/*Footer*/

@media screen and (min-width: 982px){
  #footer {
    margin-right: 14em;
  }
}