الفرق بين المراجعتين لصفحة: «ميدياويكي:Common.css»
لا ملخص تعديل |
لا ملخص تعديل |
||
| سطر ١٣: | سطر ١٣: | ||
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); | box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); | ||
transition: 0.3s; | transition: 0.3s; | ||
width: | width: 30%; | ||
border-radius: 5px; | border-radius: 5px; | ||
margin: 15px; | margin: 15px; | ||
| سطر ٢٠: | سطر ٢٠: | ||
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); | box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); | ||
transition: 0.3s; | transition: 0.3s; | ||
width: | width: 30%; | ||
border-radius: 5px; | |||
margin: 15px; | |||
} | |||
.card3 { | |||
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); | |||
transition: 0.3s; | |||
width: 30%; | |||
border-radius: 5px; | border-radius: 5px; | ||
margin: 15px; | margin: 15px; | ||
} | } | ||
. | .card1:hover ,.card3:hover , .card2:hover{ | ||
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2); | box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2); | ||
} | } | ||
مراجعة ١٥:٥٧، ٢٠ ديسمبر ٢٠٢٣
/* الأنماط المتراصة CSS المعروضة هنا ستؤثر على كل الواجهات */
.mw-content-rtl figure[typeof~='mw:File/Thumb'],
.mw-content-rtl figure[typeof~='mw:File/Frame']
{ margin: 0; clear: left; float: left; }
.card-container {
display: flex;
flex-wrap: nowrap;
justify-content: space-around;
}
.card1 {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
transition: 0.3s;
width: 30%;
border-radius: 5px;
margin: 15px;
}
.card2 {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
transition: 0.3s;
width: 30%;
border-radius: 5px;
margin: 15px;
}
.card3 {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
transition: 0.3s;
width: 30%;
border-radius: 5px;
margin: 15px;
}
.card1:hover ,.card3:hover , .card2:hover{
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}
.container {
/*padding: 2px 16px;*/
}
.container .header-card{
padding: 5px 10px;
background-color:#80808029;
display: flex;
align-content: center;
align-items: flex-end;
justify-content: flex-start;
flex-wrap: nowrap;
}
.container .header-card span ,.container .header-card h4{
padding: 0px 2px;
}
.container .container-content{
padding:2px 5px;
}