מדיה ויקי:Common.css: הבדלים בין גרסאות בדף
קפיצה לניווט
קפיצה לחיפוש
אין תקציר עריכה תגיות: שחזור ידני שוחזרה |
אין תקציר עריכה תגיות: שחזור ידני שוחזרה |
||
| שורה 19: | שורה 19: | ||
.book { | .book { | ||
width: | width: 60px; | ||
height: | height: 200px; | ||
margin: 0 10px; | margin: 0 10px; | ||
display: flex; | display: flex; | ||
| שורה 27: | שורה 27: | ||
border: 1px solid #000; | border: 1px solid #000; | ||
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); | box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); | ||
background-color: #8B4513; | |||
transition: transform 0.3s ease; | transition: transform 0.3s ease; | ||
} | } | ||
.book:hover { | .book:hover { | ||
transform: | transform: scale(1.1); | ||
} | } | ||
| שורה 39: | שורה 39: | ||
color: white; | color: white; | ||
font-weight: bold; | font-weight: bold; | ||
writing-mode: vertical-rl; | |||
text-orientation: upright; | |||
text-align: center; | text-align: center; | ||
} | } | ||
גרסה מ־17:40, 1 ביולי 2024
.bookshelf-container {
display: flex;
flex-direction: column;
align-items: center;
background-color: #F5F5DC;
padding: 20px;
border: 2px solid #8B4513;
}
.shelf {
display: flex;
justify-content: center;
align-items: flex-end;
width: 100%;
padding: 10px;
border-bottom: 5px solid #8B4513;
margin-bottom: 20px;
}
.book {
width: 60px;
height: 200px;
margin: 0 10px;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid #000;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
background-color: #8B4513;
transition: transform 0.3s ease;
}
.book:hover {
transform: scale(1.1);
}
.book-link {
text-decoration: none;
color: white;
font-weight: bold;
writing-mode: vertical-rl;
text-orientation: upright;
text-align: center;
}