Difference between revisions of "Team:SSTi-SZGD/css/Design"

Line 3: Line 3:
 
.Content{ font-size: 1.6rem; margin-bottom: 100px; margin: auto; float: none;}
 
.Content{ font-size: 1.6rem; margin-bottom: 100px; margin: auto; float: none;}
 
.Content .Ccontent{ padding: 0 15px;}
 
.Content .Ccontent{ padding: 0 15px;}
.Content .content{ background: #c4ecff; padding: 15px; border-radius: 10px;}
+
.Content .content{ background: #c4ecff; padding: 15px; border-radius: 10px; display: none;}
.Content .title{ font-size: 3rem; font-weight: 600; margin: 10px 0; background: #2ca6e0; color: #fff; border-radius: 30px; padding: 5px 40px; text-align: center;}
+
.Content .title{ font-size: 3rem; font-weight: 600; margin: 10px 0; background: #2ca6e0; color: #fff; border-radius: 30px; padding: 5px 40px; text-align: center; cursor: pointer;}
 
.Content .Ctitle{ font-size: 3rem; font-weight: 600; margin: 10px 0;}
 
.Content .Ctitle{ font-size: 3rem; font-weight: 600; margin: 10px 0;}
 
.Content .Ctitle span{ background: #2ca6e0; color: #fff; border-radius: 30px; padding: 5px 40px; display: inline-block; text-align: center;}
 
.Content .Ctitle span{ background: #2ca6e0; color: #fff; border-radius: 30px; padding: 5px 40px; display: inline-block; text-align: center;}

Revision as of 01:02, 17 October 2018

.Banner{ text-align: center; padding: 10% 0;} .Banner img{ margin: auto; float: none;} .Content{ font-size: 1.6rem; margin-bottom: 100px; margin: auto; float: none;} .Content .Ccontent{ padding: 0 15px;} .Content .content{ background: #c4ecff; padding: 15px; border-radius: 10px; display: none;} .Content .title{ font-size: 3rem; font-weight: 600; margin: 10px 0; background: #2ca6e0; color: #fff; border-radius: 30px; padding: 5px 40px; text-align: center; cursor: pointer;} .Content .Ctitle{ font-size: 3rem; font-weight: 600; margin: 10px 0;} .Content .Ctitle span{ background: #2ca6e0; color: #fff; border-radius: 30px; padding: 5px 40px; display: inline-block; text-align: center;} .Content .subtitle{ font-size: 2rem; color: #2ca6e0; margin-top: 15px;} .Content .Csubtitle{ margin: 5px 0;} .Content .Csubtitle span{ background: #e7f7ff; color: #2ca6e0; border-radius: 30px; padding: 5px 40px; display: inline-block; text-align: center; width: 100%; cursor: pointer;} .Content .Csubtitle span.active{ background: #6dc3ec; color: #fff;} .Content .Csubtitle span:hover{ background: #2ca6e0; color: #fff;} .Content .info{ background: #e7f7ff; border-radius: 10px; margin: 10px 0; padding: 15px;} .Content section{ margin: 20px auto; float: none;} .Content li{ float: none; display: list-item;} .Content ol li{ list-style: decimal; margin-left: 25px;} .Content ul li{ list-style: disc; margin-left: 25px;} .Content .Cimg,.Content .img{ margin: 15px auto; font-weight: 600; text-align: center;} .Content .Cimg{ float: none;} .Content .img img,.Content .Cimg img{ width: 100%; border-radius: 10px; box-shadow: rgba(0,0,0,0.38) 0px 0px 10px 0; margin: 5px 0;} .Content .Cimg p,.Content .img p{ margin: 5px auto;} .Content sup{ font-weight: 600;} .Content p span{ font-weight: 600;} .Reference .Rtitle span{ text-align: center; font-size: 2.6rem;} .Reference .Rtitle span:nth-of-type(2n-1){ border-top: 1px solid #2ca6e0; margin: 18px 0;} .Content .Rtitle{ margin: 50px 0 15px 0;} .Content .info>div{ display: none;} .Content .info>div:nth-of-type(1){ display: block;}


@media only screen and (max-width: 767px) { .Reference span{ font-size: 1.6rem; padding: 0 5px;} .Reference span:nth-of-type(2n-1){ margin: 10px 0;} }