Şablon:Anasayfa/sınıflar.css: Revizyonlar arasındaki fark
Fen Ansiklopedisi sitesinden
|
|
3. satır: |
3. satır: |
| box-sizing: border-box; | | box-sizing: border-box; |
| } | | } |
| .wrapper{ | | .sayfatable{ |
| justify-content: center; | | justify-content: center; |
| } | | } |
|
| |
|
| .main_title{ | | .sayfakutu{ |
| font-size: 32px; | | font-size: 32px; |
| color: #fff; | | color: #fff; |
17. satır: |
17. satır: |
| width: 100%; | | width: 100%; |
| margin: 0 auto 25px; | | margin: 0 auto 25px; |
| }
| |
|
| |
| .accordion_wrap ul{
| |
| display: flex;
| |
| justify-content: center;
| |
| }
| |
|
| |
| .accordion_wrap .accordion_item{
| |
| border-radius: 15px;
| |
| list-style: none;
| |
| width: 75px;
| |
| height: 300px;
| |
| background: #5b8bdd;
| |
| border-right: solid #3b69be;
| |
| cursor: pointer;
| |
| position: relative;
| |
| }
| |
|
| |
| .accordion_wrap .accordion_item:hover,
| |
| .accordion_wrap li.active .accordion_item{
| |
| background: #3b69be;
| |
| border-right: solid #5b8bdd;
| |
| }
| |
|
| |
| .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: #c2daef;
| |
| color: #3b69be;
| |
| overflow: hidden;
| |
| transition: width 0.2s ease;
| |
| }
| |
|
| |
| .accordion_wrap ul li.active .accordion_menu{
| |
| width: 150px;
| |
| }
| |
|
| |
| .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: 2px;
| |
| background: #f76065;
| |
| color: #fff;
| |
| text-shadow: 2px 2px 4px #fff;
| |
| width: 80px;
| |
| text-align: center;
| |
| border-radius: 8px;
| |
| cursor: pointer;
| |
| font-size: 12px;
| |
| }
| |
|
| |
| .accordion_menu .view_more:hover{
| |
| text-decoration: underline;
| |
| } | | } |
00.23, 13 Ekim 2021 tarihindeki hâli
* {
margin: 1px;
box-sizing: border-box;
}
.sayfatable{
justify-content: center;
}
.sayfakutu{
font-size: 32px;
color: #fff;
letter-spacing: 2px;
background: #5b8bdd;
padding: 15px 25px;
border-radius: 15px;
text-align: center;
width: 100%;
margin: 0 auto 25px;
}