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

از واژه‌های مصوب
پرش به: ناوبری، جستجو
سطر ۵۸: سطر ۵۸:
 
}
 
}
  
−
.title {
+
.page-صفحهٔ_اصلی .title {
 
position: absolute;
 
position: absolute;
 
width: 100%;
 
width: 100%;
سطر ۶۶: سطر ۶۶:
 
   background-image: linear-gradient(0deg,#bbd3e2,#eedcfa);
 
   background-image: linear-gradient(0deg,#bbd3e2,#eedcfa);
 
*background-image: url('http://sxrdev.com/uploads/images/code.png');
 
*background-image: url('http://sxrdev.com/uploads/images/code.png');
−
.page-صفحهٔ_اصلی h2.title{
+
.page-صفحهٔ_اصلی h2{
 
     background: linear-gradient(to right,#697dff 10%,#fff 50%,#5bdaff 60%);
 
     background: linear-gradient(to right,#697dff 10%,#fff 50%,#5bdaff 60%);
 
     background-size: auto auto;
 
     background-size: auto auto;

نسخهٔ ‏۲۱ مهٔ ۲۰۱۹، ساعت ۱۴:۴۱

/* دستورات این بخش همهٔ کاربران را تحت تاثیر قرار می‌دهند. */
@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;
}
@media screen and (max-width: 725px){
.page-صفحهٔ_اصلی h2.title{
    font-size:14px;
text-align: center!important;
margin-right: 0px!important;
}
}

.page-صفحهٔ_اصلی .title {
	position: absolute;
	width: 100%;
	height: 100%;
	text-align: center;
	background-color: transparent;
  background-image: linear-gradient(0deg,#bbd3e2,#eedcfa);
	*background-image: url('http://sxrdev.com/uploads/images/code.png');
.page-صفحهٔ_اصلی h2{
    background: linear-gradient(to right,#697dff 10%,#fff 50%,#5bdaff 60%);
    background-size: auto auto;
    background-clip: border-box;
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textclip 4.5s linear infinite;
    display: inline-block;
}
}
@keyframes textclip {
 to {
  background-position:200% center
 }
}

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

/*Footer*/

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