Şablon:Anasayfa/sınıflar.css: Revizyonlar arasındaki fark
Fen Ansiklopedisi sitesinden
(Sayfa boşaltıldı) Etiket: Boşaltma |
Değişiklik özeti yok |
||
1. satır: | 1. satır: | ||
* { | |||
margin: 1px; | |||
box-sizing: border-box; | |||
} | |||
.wrapper{ | |||
justify-content: center; | |||
} | |||
.main_title{ | |||
font-size: 32px; | |||
color: #fff; | |||
letter-spacing: 2px; | |||
background: #edc856; | |||
padding: 15px 25px; | |||
border-radius: 15px; | |||
text-align: center; | |||
width: 100%; | |||
margin: 0 auto 25px; | |||
} | |||
.accordion_wrap ul{ | |||
display: flex; | |||
justify-content: center; | |||
} | |||
.accordion_wrap .accordion_item{ | |||
border-radius: 15px; | |||
list-style: none; | |||
width: 100px; | |||
height: 300px; | |||
background: #edc856; | |||
border-right: solid #a48d2d; | |||
cursor: pointer; | |||
position: relative; | |||
} | |||
.accordion_wrap .accordion_item:hover, | |||
.accordion_wrap li.active .accordion_item{ | |||
background: #a48d2d; | |||
border-right: solid #edc856; | |||
} | |||
.accordion_wrap li:first-child .accordion_item{ | |||
border-top-left-radius: 1px; | |||
border-bottom-left-radius: 1px; | |||
} | |||
.accordion_wrap li:last-child .accordion_item, | |||
.accordion_wrap li:last-child .accordion_menu{ | |||
border-right: 0px; | |||
border-top-right-radius: 1px; | |||
border-bottom-right-radius: 1px; | |||
} | |||
.accordion_wrap ul li .icon{ | |||
font-size: 24px; | |||
color: #fff; | |||
position: absolute; | |||
top: 50%; | |||
left: 50%; | |||
transform: translate(-50%,-50%) rotate(-90deg); | |||
} | |||
.accordion_wrap ul li{ | |||
display: flex; | |||
} | |||
.accordion_menu{ | |||
width: 0px; | |||
height: 300px; | |||
background: #fffaeb; | |||
color: #a48d2d; | |||
overflow: hidden; | |||
transition: width 0.2s ease; | |||
} | |||
.accordion_wrap ul li.active .accordion_menu{ | |||
width: 300px; | |||
} | |||
.accordion_menu .inner_am{ | |||
padding: 15px; | |||
} | |||
.accordion_menu .title{ | |||
font-weight: 600; | |||
} | |||
.accordion_menu .content{ | |||
font-size: 13px; | |||
font-weight: 300; | |||
margin: 10px 0; | |||
} | |||
.accordion_menu .view_more{ | |||
padding: 5px; | |||
background: #a48d2d; | |||
color: #fffaeb; | |||
width: 70px; | |||
text-align: center; | |||
border-radius: 10px; | |||
cursor: pointer; | |||
font-size: 13px; | |||
} | |||
.accordion_menu .view_more:hover{ | |||
text-decoration: underline; | |||
} | |||
.containersınıf{ | |||
justify-content: center; | |||
display: flex; | |||
flex-wrap: wrap; | |||
} | |||
.rowsınıf:after { | |||
flex: 25%; | |||
padding: 20px; | |||
} | |||
@media screen and (max-width: 1024px) { | |||
.rowsınıf { | |||
flex: 50%; | |||
} | |||
} | |||
@media screen and (max-width: 500px) { | |||
.containersınıf { | |||
flex-direction: column; | |||
} | |||
} |
11.08, 10 Ekim 2021 tarihindeki hâli
* {
margin: 1px;
box-sizing: border-box;
}
.wrapper{
justify-content: center;
}
.main_title{
font-size: 32px;
color: #fff;
letter-spacing: 2px;
background: #edc856;
padding: 15px 25px;
border-radius: 15px;
text-align: center;
width: 100%;
margin: 0 auto 25px;
}
.accordion_wrap ul{
display: flex;
justify-content: center;
}
.accordion_wrap .accordion_item{
border-radius: 15px;
list-style: none;
width: 100px;
height: 300px;
background: #edc856;
border-right: solid #a48d2d;
cursor: pointer;
position: relative;
}
.accordion_wrap .accordion_item:hover,
.accordion_wrap li.active .accordion_item{
background: #a48d2d;
border-right: solid #edc856;
}
.accordion_wrap li:first-child .accordion_item{
border-top-left-radius: 1px;
border-bottom-left-radius: 1px;
}
.accordion_wrap li:last-child .accordion_item,
.accordion_wrap li:last-child .accordion_menu{
border-right: 0px;
border-top-right-radius: 1px;
border-bottom-right-radius: 1px;
}
.accordion_wrap ul li .icon{
font-size: 24px;
color: #fff;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%) rotate(-90deg);
}
.accordion_wrap ul li{
display: flex;
}
.accordion_menu{
width: 0px;
height: 300px;
background: #fffaeb;
color: #a48d2d;
overflow: hidden;
transition: width 0.2s ease;
}
.accordion_wrap ul li.active .accordion_menu{
width: 300px;
}
.accordion_menu .inner_am{
padding: 15px;
}
.accordion_menu .title{
font-weight: 600;
}
.accordion_menu .content{
font-size: 13px;
font-weight: 300;
margin: 10px 0;
}
.accordion_menu .view_more{
padding: 5px;
background: #a48d2d;
color: #fffaeb;
width: 70px;
text-align: center;
border-radius: 10px;
cursor: pointer;
font-size: 13px;
}
.accordion_menu .view_more:hover{
text-decoration: underline;
}
.containersınıf{
justify-content: center;
display: flex;
flex-wrap: wrap;
}
.rowsınıf:after {
flex: 25%;
padding: 20px;
}
@media screen and (max-width: 1024px) {
.rowsınıf {
flex: 50%;
}
}
@media screen and (max-width: 500px) {
.containersınıf {
flex-direction: column;
}
}