Şablon:Anasayfa/anabanner.css: Revizyonlar arasındaki fark
Fen Ansiklopedisi sitesinden
Değişiklik özeti yok |
Değişiklik özeti yok |
||
35. satır: | 35. satır: | ||
} | } | ||
body{ | |||
font-family: Lato; | |||
background: linear-gradient(5deg, rgba(155,203,201,1) 0%, rgba(133,105,159,1) 60%); | |||
height: 800px; | |||
} | } | ||
. | p.title{ | ||
text-align: center; | |||
font-size: 45px; | |||
color: #efdeff; | |||
} | } | ||
b{ | |||
color: #FFFFFF; | |||
font-size: | font-size: 55px; | ||
} | } | ||
. | p.remarks, a{ | ||
text-align: center; | |||
margin-top: 100px; | |||
color: #FFFFFF; | |||
} | } | ||
. | .container{ | ||
width: 100%; | |||
max-width: 700px; | |||
min-width: 300px; | |||
margin: 0 auto; | |||
padding: 0 5vh; | |||
} | } | ||
#accordion-1{ | |||
position: relative; | |||
box-shadow: 0px 1px 7px #DBDBDB; | |||
} | } | ||
. | #accordion-1 .head{ | ||
background: # | background-color: #FFFFFF; | ||
color: #563e6e; | |||
padding: 20px 30px; | |||
cursor: pointer; | |||
transition: 0.2s ease; | |||
display: flex; | |||
justify-content: space-between; | |||
align-items: center; | |||
} | } | ||
. | #accordion-1 .arrow{ | ||
color: #563e6e; | |||
font-size: 60px; | |||
transition: 0.25s ease; | |||
opacity: 0.3; | |||
transform: rotate(-90deg); | |||
} | } | ||
#accordion-1 .head:hover .arrow{ | |||
opacity: 1; | |||
} | |||
. | #accordion-1 .head:hover, #accordion-1 .active{ | ||
background-color: #FFEAFF; | |||
} | } | ||
. | #accordion-1 .arrow-animate{ | ||
transform: rotate(0deg); | |||
opacity: 1; | |||
} | } | ||
.content { | #accordion-1 .content{ | ||
background-color: #FFFFFF; | |||
display: none; | |||
padding: 20px 30px; | |||
color: #333333; | |||
} | } | ||
/* accordion-2 */ | |||
#accordion-2{ | |||
position: relative; | |||
box-shadow: 0 1px 7px #DBDBDB; | |||
} | } | ||
#accordion-2 .head{ | |||
background-color: #FFFFFF; | |||
color: #563e6e; | |||
padding: 20px 30px; | |||
cursor: pointer; | |||
transition: 0.25s; | |||
} | } | ||
. | #accordion-2 .arrow{ | ||
content:''; | |||
position: absolute; | |||
right: 0; | |||
right: 30px; | |||
top: 65px; | |||
opacity: 1; | |||
border-left: 35px solid transparent; | |||
border-right: 35px solid transparent; | |||
border-top: 40px solid #FFFFFF; | |||
transition: 0.3s ease; | |||
z-index: 2; | |||
} | } | ||
. | #accordion-2 .head:hover .arrow, #accordion-2 .arrow-animate{ | ||
transform: | border-top: 40px solid #FFEAFF; | ||
transform: translateY(40px); | |||
} | } | ||
#accordion-2 .content{ | |||
background-color: #FFFFFF; | |||
display: none; | |||
padding: 30px; | |||
color: #333333; | |||
} | } | ||
#accordion-2 .head:hover, #accordion-2 .active{ | |||
background-color: #FFEAFF; | |||
} | } | ||
.containersınıf{ | .containersınıf{ | ||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
} | } |
11.39, 12 Ekim 2021 tarihindeki hâli
* {
margin: 1px;
box-sizing: border-box;
}
.flex-container {
display: flex;
flex-direction: row;
}
.flex-item-left {
padding: 10px;
flex: 60%;
}
.flex-item-right {
color: #ff5e5e;
padding: 10px;
flex: 40%;
}
/* Responsive layout - makes a one column-layout instead of a two-column layout */
@media (max-width: 800px) {
.flex-container {
flex-direction: column;
}
}
div.card {
border-spacing: 30px;
width: 100%;
height: 100%;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 8px 0 rgba(0, 0, 0, 0.19);
text-align: center;
}
body{
font-family: Lato;
background: linear-gradient(5deg, rgba(155,203,201,1) 0%, rgba(133,105,159,1) 60%);
height: 800px;
}
p.title{
text-align: center;
font-size: 45px;
color: #efdeff;
}
b{
color: #FFFFFF;
font-size: 55px;
}
p.remarks, a{
text-align: center;
margin-top: 100px;
color: #FFFFFF;
}
.container{
width: 100%;
max-width: 700px;
min-width: 300px;
margin: 0 auto;
padding: 0 5vh;
}
#accordion-1{
position: relative;
box-shadow: 0px 1px 7px #DBDBDB;
}
#accordion-1 .head{
background-color: #FFFFFF;
color: #563e6e;
padding: 20px 30px;
cursor: pointer;
transition: 0.2s ease;
display: flex;
justify-content: space-between;
align-items: center;
}
#accordion-1 .arrow{
color: #563e6e;
font-size: 60px;
transition: 0.25s ease;
opacity: 0.3;
transform: rotate(-90deg);
}
#accordion-1 .head:hover .arrow{
opacity: 1;
}
#accordion-1 .head:hover, #accordion-1 .active{
background-color: #FFEAFF;
}
#accordion-1 .arrow-animate{
transform: rotate(0deg);
opacity: 1;
}
#accordion-1 .content{
background-color: #FFFFFF;
display: none;
padding: 20px 30px;
color: #333333;
}
/* accordion-2 */
#accordion-2{
position: relative;
box-shadow: 0 1px 7px #DBDBDB;
}
#accordion-2 .head{
background-color: #FFFFFF;
color: #563e6e;
padding: 20px 30px;
cursor: pointer;
transition: 0.25s;
}
#accordion-2 .arrow{
content:'';
position: absolute;
right: 0;
right: 30px;
top: 65px;
opacity: 1;
border-left: 35px solid transparent;
border-right: 35px solid transparent;
border-top: 40px solid #FFFFFF;
transition: 0.3s ease;
z-index: 2;
}
#accordion-2 .head:hover .arrow, #accordion-2 .arrow-animate{
border-top: 40px solid #FFEAFF;
transform: translateY(40px);
}
#accordion-2 .content{
background-color: #FFFFFF;
display: none;
padding: 30px;
color: #333333;
}
#accordion-2 .head:hover, #accordion-2 .active{
background-color: #FFEAFF;
}
.containersınıf{
display: flex;
flex-wrap: wrap;
}