הבדלים בין גרסאות בדף "מדיה ויקי:Common.css"
מתוך יומן 770
(יצירת דף עם התוכן "←הסגנונות הנכתבים כאן ישפיעו על כל העיצובים: #firstHeading {display:none;} .mainImage { width: 100%; height: auto; }...") |
מ |
||
| שורה 68: | שורה 68: | ||
display: block; | display: block; | ||
background-color: #FAEBCC; | background-color: #FAEBCC; | ||
| + | } | ||
| + | |||
| + | div.row { | ||
| + | display: grid; | ||
| + | grid-template-columns: repeat(4, auto); | ||
} | } | ||
גרסה מתאריך 23:22, 24 בינואר 2021
/* הסגנונות הנכתבים כאן ישפיעו על כל העיצובים */
#firstHeading {display:none;}
.mainImage {
width: 100%;
height: auto;
}
.years {
display: grid;
grid-template-columns: repeat(3, auto);
}
.year {
position: relative;
display: grid;
}
.year p {
padding: 0;
margin: 0;
}
.year img {
width: 100%;
height: auto;
}
.year .yearLinks {
position: absolute;
top: 0;
/* width: 20%; */
font-size: 15px;
height: 100%;
left: 0;
display: grid;
width: 40%;
}
.year .yearLinks ul {
overflow: auto;
margin: 43% 0 16% 18.5%;
}
.year .yearLinks li
{
margin-bottom: 0px;
line-height: 20px;
}
@media only screen and (max-width: 600px) {
.years {
grid-template-columns: auto;
}
.year .yearLinks li {
line-height: 18px;
}
}
.panel .panel-body
{
padding: 0px 15px;
}
.panel p
{
margin: 10px 0px 0px 0px;
}
.panel p a
{
text-align: center;
display: block;
background-color: #FAEBCC;
}
div.row {
display: grid;
grid-template-columns: repeat(4, auto);
}