Difference between revisions of "Team:Jilin China/CSS Details"

 
(110 intermediate revisions by the same user not shown)
Line 20: Line 20:
 
transition: color 0.3s ease;
 
transition: color 0.3s ease;
 
}
 
}
 +
.bodycontent .s2 > ul > li .bg_dark{
 +
color:white;
 +
background:black;
 +
}
 +
 +
 
.HP_Reflections{
 
.HP_Reflections{
 
padding:0;
 
padding:0;
Line 36: Line 42:
 
padding:1rem;
 
padding:1rem;
 
box-sizing:border-box;
 
box-sizing:border-box;
 +
text-align:left !important;
 
}
 
}
  
Line 71: Line 78:
 
opacity:0.5;
 
opacity:0.5;
 
}
 
}
 
+
.HP_Quote_text{
 +
/*font-family: Trebuchet MS;*/
 +
font-style:Italic;
 +
background:rgba(0,0,0,0.05);
 +
display:block;
 +
text-indent:0;
 +
padding:4rem !important;
 +
box-sizing:border-box;
 +
position:relative;
 +
width:calc(100% - 2rem) !important;
 +
margin:3rem 1rem !important;
 +
border-left:6px solid #C0C0C0;
 +
}
 +
.bodycontent .s2 > ul > li > div > .definition{
 +
font-size: 1.5rem !important;
 +
width:70% !important;
 +
display:block;
 +
background-color:rgba(0,0,0,0.05);
 +
font-family: Trebuchet MS !important;
 +
font-weight:bolder;
 +
padding:3rem;
 +
z-index:2;
 +
margin:3rem auto !important;
 +
box-sizing:border-box;
 +
position:relative;
 +
overflow:hidden;
 +
}
 +
.definition::after{
 +
content:"Def";
 +
position:absolute;
 +
bottom:0;
 +
right:0;
 +
z-index:1;
 +
font-size:10vw;
 +
color:rgba(0,0,0,0.1);
 +
font-family: Trebuchet MS !important;
 +
}
  
  
Line 77: Line 120:
 
.bodycontent .s2 > ul > li{
 
.bodycontent .s2 > ul > li{
 
background: white;
 
background: white;
padding: 7.5vw 0 7.5vw 0 !important;
+
padding: 3.5vw 0 3.5vw 0 !important;
 
margin-bottom: 2rem;
 
margin-bottom: 2rem;
 
}
 
}
Line 89: Line 132:
 
margin:0 0 0 calc(42.5vw - 11rem) !important;
 
margin:0 0 0 calc(42.5vw - 11rem) !important;
 
}
 
}
 +
}
 +
.pdfs{
 +
width:100%;
 +
height:50rem;
 +
padding:
 +
}
 +
.pdfs object {
 +
width:100%;
 +
height:100%;
 +
object-fit:cover;
 +
overflow:auto;
 +
min-height: 100%
 
}
 
}
 
@media screen and (min-width:680px){
 
@media screen and (min-width:680px){
Line 98: Line 153:
 
}
 
}
 
.s1 .title_con{
 
.s1 .title_con{
left:5rem;
+
left:7.5vw;
 
bottom:15vh;
 
bottom:15vh;
 
position: fixed;
 
position: fixed;
Line 105: Line 160:
 
.s1_simplified{
 
.s1_simplified{
 
width: 100%;
 
width: 100%;
height: 14rem !important;
+
height:auto;
 
padding-bottom: 5rem;
 
padding-bottom: 5rem;
 
}
 
}
 
.s1_simplified .title_con{
 
.s1_simplified .title_con{
left:5rem;
+
left:7.5vw;
 
bottom:auto;
 
bottom:auto;
 
position: relative;
 
position: relative;
Line 134: Line 189:
 
color: black;
 
color: black;
 
font-size: 6vw !important;
 
font-size: 6vw !important;
line-height:8vw !important;
+
line-height:1 !important;
font-weight: bold;
+
font-weight: bold !important;
z-index: 0;
+
 
float:left;
 
float:left;
 +
z-index: 0;
 
border-right: 8px black solid !important;
 
border-right: 8px black solid !important;
 
text-shadow: 0 0 1rem rgba(0,0,0,0.1);
 
text-shadow: 0 0 1rem rgba(0,0,0,0.1);
Line 147: Line 202:
 
line-height:1 !important;
 
line-height:1 !important;
 
color: rgba(255,255,255,0.8) !important;
 
color: rgba(255,255,255,0.8) !important;
 +
}
 +
.s1_simplified p span{
 +
font-size: 5vw !important;
 +
line-height:1 !important;
 +
color: rgba(0,0,0,0.8) !important;
 
}
 
}
 
.s1 table{
 
.s1 table{
Line 210: Line 270:
 
padding: 0;
 
padding: 0;
 
margin: 0 auto 0.5rem ;
 
margin: 0 auto 0.5rem ;
 +
}
 +
.bodycontent .s2 > ul > li.full-width .full-left{
 +
width:60%;
 +
float:left;
 +
}
 +
.bodycontent .s2 > ul > li.full-width .full-right{
 +
width:60%;
 +
float:right;
 
}
 
}
 
.bodycontent .s2 > ul > li{
 
.bodycontent .s2 > ul > li{
 
background: white;
 
background: white;
padding: 7.5vw 0 7.5vw 0;
+
padding: 3.5vw 0 3.5vw 0;
 
margin: 0;
 
margin: 0;
 
}
 
}
Line 251: Line 319:
 
.bodycontent .s2 h2{
 
.bodycontent .s2 h2{
 
box-sizing: border-box;
 
box-sizing: border-box;
padding: 1rem 0 1rem 0 !important;
+
padding: 1rem 4rem 1rem 2rem !important;
 
font-size: 2rem !important;
 
font-size: 2rem !important;
 
margin: 2rem 1rem !important;
 
margin: 2rem 1rem !important;
border-bottom: 0px solid #CFCFCF;
+
border-left: 6px solid;
 
line-height: 3rem;
 
line-height: 3rem;
 +
position: relative;
 +
}
 +
.bodycontent .s2 h2:before {
 +
content:"";
 +
position: absolute;
 +
top:0;
 +
right:0;
 +
width:3rem;
 +
height:100%;
 +
animation: IconSpin 1s ease infinite alternate;
 
}
 
}
 
.bodycontent .s2 h3{
 
.bodycontent .s2 h3{
 
box-sizing: border-box;
 
box-sizing: border-box;
padding: 1rem 1rem 0 1rem !important;
+
margin: 1rem 1rem 0 1rem !important;
 
font-size: 1.5rem !important;
 
font-size: 1.5rem !important;
 
line-height: 2rem;
 
line-height: 2rem;
 
color:#595959;
 
color:#595959;
text-indent: 2rem !important;
+
padding-left:1rem;
 +
border-left: 6px solid #595959;
 
}
 
}
 
.bodycontent .s2 p:first-of-type:first-letter{
 
.bodycontent .s2 p:first-of-type:first-letter{
Line 282: Line 361:
 
box-sizing: border-box;
 
box-sizing: border-box;
 
clear: both;
 
clear: both;
text-indent: 2rem !important;
+
/*text-indent: 2rem !important;*/
 
line-height: 1.9rem !important;
 
line-height: 1.9rem !important;
 
column-count: 1;
 
column-count: 1;
Line 304: Line 383:
 
float:right;
 
float:right;
 
width:100%;
 
width:100%;
 +
font-family: Trebuchet MS;
 +
}
 +
.bodycontent .s2 .tables{
 +
font-size:1.3rem !important;
 +
padding: 4rem 0 1rem;
 +
margin: 0 1rem;
 +
border-bottom:2px solid #CCCCCC;
 +
font-weight:100;
 +
width:calc(100% - 2rem);
 
font-family: Trebuchet MS;
 
font-family: Trebuchet MS;
 
}
 
}
Line 323: Line 411:
 
}
 
}
 
.bodycontent section table td,th{
 
.bodycontent section table td,th{
border-right: 1px solid #d4d8da;
+
border: 2px solid #d4d8da !important;
border-bottom: 1px solid #d4d8da;
+
 
padding: 0.5rem;
 
padding: 0.5rem;
 
box-sizing: border-box;
 
box-sizing: border-box;
 
text-align: center;
 
text-align: center;
 +
background:white !important;
 
}
 
}
 
.bodycontent table tr:first-child th{
 
.bodycontent table tr:first-child th{
Line 367: Line 455:
 
background:rgba(0,0,0,0.1);
 
background:rgba(0,0,0,0.1);
 
}
 
}
.subway_stops > ul > li > a > p{
+
.bodycontent .s2 > ul > li > div > .subway_stops > ul > li > a > p{
 
font-weight:100 !important;
 
font-weight:100 !important;
 
color:#999999 !important;
 
color:#999999 !important;
Line 373: Line 461:
 
margin-top:-2rem !important;
 
margin-top:-2rem !important;
 
width:calc(100% - 4rem) !important;
 
width:calc(100% - 4rem) !important;
font-size:0.2vw !important;
+
font-size:0.9vw !important;
 
}
 
}
 
.subway_stops ul li h4{
 
.subway_stops ul li h4{
Line 387: Line 475:
  
 
.bodycontent .reference ul li{
 
.bodycontent .reference ul li{
list-style: decimal;
+
list-style: none;
padding: 1rem 1rem 0 1rem;
+
padding: 0.3rem 1rem 0 0;
 
box-sizing: border-box;
 
box-sizing: border-box;
 +
text-align: justify;
 +
font-family:Times New Roman;
 
}
 
}
 
.triangle{
 
.triangle{
Line 398: Line 488:
 
padding: 0;
 
padding: 0;
 
}
 
}
.figure{
+
.bodycontent section .figure:first-letter{
color:rgba(0,20,86,1.00);
+
color:gray !important;
font-style: italic;
+
font-size: 0.9rem !important;
font-size: 1rem;
+
font-family: Arial !important;
 
font-weight: normal;
 
font-weight: normal;
text-align: center;
+
margin: 0 auto;
margin: 0;
+
width:auto !important;
}
+
line-height: 0.9rem !important;
 
+
float:none !important;
.details_button_background{
+
box-sizing: border-box;
+
}
+
.details_button_button{
+
position:absolute;
+
z-index:99;
+
height: 4rem;
+
width: 12rem;
+
margin:0 0 0 calc(42.5vw - 6rem);
+
opacity:0;
+
cursor:pointer;
+
}
+
.details_button_button:checked ~ .li_fold{
+
height:auto !important;
+
opacity:1;
+
}
+
.details_button_button:checked ~ .li_fold >:not(.details_button_background){
+
opacity:1;
+
}
+
.details_button{
+
border:3px solid black;
+
height:3.5rem !important;
+
width:3.5rem !important;
+
border-radius: 3.5rem;
+
transition: all 0.3s ease;
+
position: relative;
+
 
padding:0 !important;
 
padding:0 !important;
margin:0 0 0 calc(42.5vw - 6rem);
 
box-sizing: border-box;
 
 
}
 
}
.details_button_button:hover ~ .li_fold > .details_button_background > .details_button, .details_button_button:checked ~ .li_fold > .details_button_background > .details_button{
+
.bodycontent section .figure{
width:12rem !important;
+
color:gray;
background:black;
+
font-size: 0.9rem !important;
 +
font-family: Arial !important;
 +
font-weight: normal;
 +
width:auto !important;
 +
line-height:0.9rem !important;
 +
text-align:center !important;
 
}
 
}
.details_button svg{
 
transform: translate(2.25px,2.25px);
 
}
 
.li_fold .details_button svg{
 
transform: translate(2.25px,2.25px) rotate(90deg);
 
}
 
.details_button .vertical_line{
 
transition: all 0.4s ease;
 
d:path('M27.5,12,27.5,27.5,27.5,43');
 
  
}
 
.details_button_button:hover ~ .li_fold > .details_button_background > .details_button .vertical_line, .details_button_button:checked ~ .li_fold > .details_button_background > .details_button .vertical_line{
 
d:path('M27.5,12,42.94,27.5,27.5,43');
 
stroke:white;
 
}
 
.details_button h5{
 
transform: translate(-3px,-3px);
 
padding:0 !important;
 
margin:0 !important;
 
color: black;
 
line-height: 3.5rem !important;
 
position:absolute;
 
top:0;
 
left:3rem;
 
width:8.5rem !important;
 
text-align: center;
 
transition: all 0.3s ease;
 
font-size:1.1rem !important;
 
}
 
.details_button_button:hover ~ .li_fold > .details_button_background > .details_button h5 , .details_button_button:checked ~ .li_fold > .details_button_background > .details_button h5{
 
 
color: white;
 
}
 
.details_button .horizon_line, .vertical_line {
 
fill: none;
 
stroke: #000;
 
stroke-width: 3.5px;
 
}
 
.details_button .horizon_line {
 
stroke-miterlimit: 10;
 
}
 
.details_button .vertical_line {
 
stroke-linejoin: round;
 
}
 
 
}
 
}
  
Line 491: Line 515:
 
.s1{
 
.s1{
 
width: 100%;
 
width: 100%;
height: 30%;
+
height: 40%;
 
background-size: cover;
 
background-size: cover;
 
margin-top: calc(4rem - 1px);
 
margin-top: calc(4rem - 1px);
 
animation: fadeIn 0.5s ease;
 
animation: fadeIn 0.5s ease;
 
position:relative;
 
position:relative;
margin-bottom: calc(24vw + 1rem);
+
margin-bottom: calc(28vw + 1rem);
 
}
 
}
 
.s1 p{
 
.s1 p{
 
position: absolute;
 
position: absolute;
bottom: -24vw;
+
bottom: -28vw;
 
margin: 0 !important;
 
margin: 0 !important;
 
padding: 0 1.5rem  !important;
 
padding: 0 1.5rem  !important;
Line 541: Line 565:
 
}
 
}
 
.bodycontent section h2{
 
.bodycontent section h2{
height: 2.5rem;
+
height: 2.8rem;
line-height: 2.5rem;
+
line-height: 2.8rem;
 
font-weight:100 !important;
 
font-weight:100 !important;
font-size:1.3rem;
+
font-size:1.5rem;
 
padding: 0;
 
padding: 0;
margin: 1rem 0 1rem 0 !important;
+
margin: 3rem 0 1rem 0 !important;
 
text-align: left;
 
text-align: left;
 
}
 
}
Line 564: Line 588:
 
font-weight:100 !important;
 
font-weight:100 !important;
 
padding: 0 0 1rem 0;
 
padding: 0 0 1rem 0;
color:#404040
+
color:#404040;
 
}
 
}
 
.bodycontent section table{
 
.bodycontent section table{
Line 601: Line 625:
 
}
 
}
 
.bodycontent .s2 .paragraph_banner{
 
.bodycontent .s2 .paragraph_banner{
height:10rem;
+
height:12rem;
margin:1rem 0;
+
margin:3rem 0;
 
}
 
}
 
.bodycontent .s2 .paragraph_banner div{
 
.bodycontent .s2 .paragraph_banner div{
Line 644: Line 668:
 
float:right;
 
float:right;
 
margin-top:-2rem !important;
 
margin-top:-2rem !important;
width:calc(100% - 4rem) !important;
+
width:calc(100% - 6rem) !important;
font-size:0.9vw !important;
+
font-size:0.9rem !important;
 
}
 
}
 
.subway_stops ul li h4{
 
.subway_stops ul li h4{
Line 656: Line 680:
 
padding:0 0.5rem;
 
padding:0 0.5rem;
 
color: #BBBBBB;
 
color: #BBBBBB;
}
+
}        
 
+
  
 
.bodycontent .reference ul li{
 
.bodycontent .reference ul li{
Line 671: Line 694:
 
.figure{
 
.figure{
 
color:rgba(0,20,86,1.00);
 
color:rgba(0,20,86,1.00);
font-style: italic;
 
 
font-size: 0.9rem;
 
font-size: 0.9rem;
 
font-weight: normal;
 
font-weight: normal;
text-align: center;
+
margin: 0 auto;
margin: 0;
+
 
}
 
}
 
.bodycontent .s2 p .figures{
 
.bodycontent .s2 p .figures{
Line 690: Line 711:
 
float: left;
 
float: left;
 
}
 
}
.bodycontent .s2 p .figures .figure{
+
.bodycontent .s2 p .figures .figure_in{
 
float:right;
 
float:right;
 
width: 100%;
 
width: 100%;

Latest revision as of 19:24, 17 October 2018