Şablon:Anasayfa/sınıflar.css: Revizyonlar arasındaki fark
Fen Ansiklopedisi sitesinden
Değişiklik özeti yok |
Değişiklik özeti yok |
||
1. satır: | 1. satır: | ||
*{ | *{ | ||
margin: | margin: 1px; | ||
padding: 0; | padding: 0; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
list-style: none; | |||
font-family: 'Montserrat', sans-serif; | |||
} | |||
.wrapper{ | |||
justify-content: center; | |||
} | } | ||
.main_title{ | .main_title{ | ||
font-size: 28px; | |||
font-size: | |||
color: #fff; | color: #fff; | ||
letter-spacing: 2px; | letter-spacing: 2px; | ||
background: #edc856; | background: #edc856; | ||
padding: | padding: 15px 25px; | ||
border-radius: | border-radius: 15px; | ||
text-align: center; | text-align: center; | ||
margin: 0 auto | width: 300px; | ||
margin: 0 auto 25px; | |||
} | } | ||
.accordion_wrap ul{ | .accordion_wrap ul{ | ||
display: flex; | display: flex; | ||
22. satır: | 30. satır: | ||
.accordion_wrap .accordion_item{ | .accordion_wrap .accordion_item{ | ||
border-radius: | border-radius: 15px; | ||
list-style: none; | list-style: none; | ||
width: | width: 70px; | ||
height: | height: 160px; | ||
background: #edc856; | background: #edc856; | ||
border-right: 1px solid #a48d2d; | border-right: 1px solid #a48d2d; | ||
39. satır: | 47. satır: | ||
} | } | ||
.accordion_wrap li:first-child .accordion_item{ | |||
border-top-left-radius: 3px; | |||
border-bottom-left-radius: 3px; | |||
} | |||
.accordion_wrap li:last-child .accordion_item, | |||
.accordion_wrap li:last-child .accordion_menu{ | |||
border-right: 0px; | |||
border-top-right-radius: 3px; | |||
border-bottom-right-radius: 3px; | |||
} | |||
.accordion_wrap ul li .icon{ | .accordion_wrap ul li .icon{ | ||
font-size: 20px; | font-size: 20px; | ||
color: #fff; | |||
position: absolute; | position: absolute; | ||
top: 50%; | top: 50%; | ||
left: 50%; | left: 50%; | ||
transform: translate(-50%,-50%) rotate(-90deg); | transform: translate(-50%,-50%) rotate(-90deg); | ||
} | } | ||
.accordion_wrap ul li{ | .accordion_wrap ul li{ | ||
display: flex; | display: flex; | ||
55. satır: | 75. satır: | ||
.accordion_menu{ | .accordion_menu{ | ||
width: 0px; | width: 0px; | ||
height: | height: 175px; | ||
background: #fffaeb; | background: #fffaeb; | ||
color: #a48d2d; | color: #a48d2d; | ||
63. satır: | 83. satır: | ||
.accordion_wrap ul li.active .accordion_menu{ | .accordion_wrap ul li.active .accordion_menu{ | ||
width: | width: 250px; | ||
} | } | ||
93. satır: | 113. satır: | ||
.accordion_menu .view_more:hover{ | .accordion_menu .view_more:hover{ | ||
text-decoration: underline; | text-decoration: underline; | ||
} | |||
.containersınıf{ | |||
display: flex; | |||
flex-wrap: wrap; | |||
} | |||
.rowsınıf:after { | |||
flex: 25%; | |||
padding: 20px; | |||
} | |||
@media screen and (max-width: 992px) { | |||
.rowsınıf { | |||
flex: 50%; | |||
} | |||
} | |||
@media screen and (max-width: 600px) { | |||
.containersınıf { | |||
flex-direction: column; | |||
} | |||
} | } |
22.42, 9 Ekim 2021 tarihindeki hâli
*{
margin: 1px;
padding: 0;
box-sizing: border-box;
list-style: none;
font-family: 'Montserrat', sans-serif;
}
.wrapper{
justify-content: center;
}
.main_title{
font-size: 28px;
color: #fff;
letter-spacing: 2px;
background: #edc856;
padding: 15px 25px;
border-radius: 15px;
text-align: center;
width: 300px;
margin: 0 auto 25px;
}
.accordion_wrap ul{
display: flex;
justify-content: center;
}
.accordion_wrap .accordion_item{
border-radius: 15px;
list-style: none;
width: 70px;
height: 160px;
background: #edc856;
border-right: 1px solid #a48d2d;
cursor: pointer;
position: relative;
transition: all 0.2s linear;
}
.accordion_wrap .accordion_item:hover,
.accordion_wrap li.active .accordion_item{
background: #a48d2d;
border-right: 1px solid #edc856;
}
.accordion_wrap li:first-child .accordion_item{
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
}
.accordion_wrap li:last-child .accordion_item,
.accordion_wrap li:last-child .accordion_menu{
border-right: 0px;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
.accordion_wrap ul li .icon{
font-size: 20px;
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: 175px;
background: #fffaeb;
color: #a48d2d;
overflow: hidden;
transition: width 0.2s ease;
}
.accordion_wrap ul li.active .accordion_menu{
width: 250px;
}
.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: 125px;
text-align: center;
border-radius: 3px;
cursor: pointer;
font-size: 13px;
}
.accordion_menu .view_more:hover{
text-decoration: underline;
}
.containersınıf{
display: flex;
flex-wrap: wrap;
}
.rowsınıf:after {
flex: 25%;
padding: 20px;
}
@media screen and (max-width: 992px) {
.rowsınıf {
flex: 50%;
}
}
@media screen and (max-width: 600px) {
.containersınıf {
flex-direction: column;
}
}