Difference between revisions of "Team:NUS Singapore-A/Templates/Style"

 
(31 intermediate revisions by 2 users not shown)
Line 24: Line 24:
 
     padding: 0;
 
     padding: 0;
 
     margin: 0;
 
     margin: 0;
    background-color: white;
 
 
}
 
}
  
Line 89: Line 88:
 
   position: relative;
 
   position: relative;
 
   margin: auto;
 
   margin: auto;
   background-color: rgba(255, 255, 255, 0.6);
+
   background-color: rgba(255, 255, 255, 1.0);
 
}
 
}
  
Line 163: Line 162:
 
}
 
}
  
  p{
+
  p, p~ul li, p~ol li, .row ul li{
 
     font-family: Arial;
 
     font-family: Arial;
 
     font-size: 20px;
 
     font-size: 20px;
Line 172: Line 171:
 
     text-align: justify;
 
     text-align: justify;
 
}
 
}
 
p~ul li, p~ol li {
 
    font-family: Arial;
 
    font-size: 20px;
 
    font-style: normal;
 
    font-variant: normal;
 
    font-weight: 100;
 
    line-height: 29px;
 
    text-align: justify;
 
}
 
 
.row ul li, p~ol li {
 
    font-family: Arial;
 
    font-size: 20px;
 
    font-style: normal;
 
    font-variant: normal;
 
    font-weight: 100;
 
    line-height: 29px;
 
    text-align: justify;
 
}
 
  
 
  blockquote {
 
  blockquote {
Line 238: Line 217:
 
     font-size: 32px;
 
     font-size: 32px;
 
}
 
}
 +
@media only screen and (max-width: 700px) {
  
 +
h1 { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 19px; font-style: normal; font-variant: normal; font-weight: 700; line-height: 19px; }
 +
 +
h2 { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 17px; font-style: normal; font-variant: normal; font-weight: 700; line-height: 19px; }
 +
 +
h3 { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 700; line-height: 19px; }
 +
 +
h4{ font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 13.5px; font-style: normal; font-variant: normal; font-weight: 100; line-height: 19px; }
 +
 +
p, p~ul li, p~ol li, .row ul li { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 100; line-height: 19px; }
 +
 +
blockquote { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; line-height: 19px; }
 +
 +
pre { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 10px; font-style: normal; font-variant: normal; font-weight: 400; line-height: 19px; }
 +
 +
.accordion{
 +
font-size: 12px !important;
 +
padding: 10px;
 +
}
 +
.accordion:after {
 +
  font-size: 20px !important;
 +
}
 +
.active,
 +
.accordion:hover {
 +
  font: bold 12px "Montserrat", sans-serif;
 +
  background-color: #2980b9;
 +
}
 +
.accordion-closer{
 +
  padding: 5px;
 +
  width: 12.0%;
 +
  font-size: 12px !important;
 +
  margin: 6px 0px;
 +
}
 +
.accordion-closer:hover {
 +
  font: bold 12px "Montserrat", sans-serif;
 +
  background-color: #a80d31;
 +
}
 +
.accordion-closer:after{
 +
  font-size: 20px !important;
 +
}
 +
table{
 +
  font-size: 10px !important;
 +
}
 +
.figures2 figcaption, .figures figcaption{
 +
  font-size: 11px;
 +
}
 +
 +
}
  
 
/********************** CSS FROM DESIGN *****************************************************/
 
/********************** CSS FROM DESIGN *****************************************************/
Line 312: Line 339:
 
.panel {
 
.panel {
 
   background-color: transparent;
 
   background-color: transparent;
   text-align: center;
+
   text-align: justify;
 
   margin-top: 0;
 
   margin-top: 0;
 
   max-height: 0;
 
   max-height: 0;
 
   overflow: hidden;
 
   overflow: hidden;
 
   transition: max-height 0.2s ease-out;
 
   transition: max-height 0.2s ease-out;
}
 
.panel-inside{
 
  display: inline-block;
 
  text-align: justify;
 
 
   max-width: 100%;
 
   max-width: 100%;
 
}
 
}
Line 438: Line 461:
 
   display: table;
 
   display: table;
 
   clear: both;
 
   clear: both;
 +
}
 +
.video-landscape{
 +
width: 80%;
 +
height: auto;
 +
margin: auto auto;
 +
}
 +
.video-portrait{
 +
width: 30%;
 +
height: auto;
 +
margin: auto auto;
 +
}
 +
video{
 +
width: 100%;
 +
height: auto;
 +
}
 +
 +
/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
 +
@media screen and (max-width: 800px) {
 +
    .column {
 +
        width: 100%;
 +
        margin: 15px;
 +
    }
 
}
 
}
  
Line 479: Line 524:
 
     }
 
     }
  
/* Style the main tab content */
 
.tabcontent {
 
    display: none;
 
    border: none;
 
    margin: none;
 
    -webkit-animation: fadeEffect 1s;
 
    animation: fadeEffect 1s;
 
    min-height: 500px;
 
}
 
  
 
/* Fade in tabs */
 
/* Fade in tabs */
Line 536: Line 572:
 
.sponsor-boxes{
 
.sponsor-boxes{
 
   vertical-align: 50%;
 
   vertical-align: 50%;
 +
  margin: auto auto;
 
   outline: none;
 
   outline: none;
 
   border: none;
 
   border: none;
Line 556: Line 593:
  
 
.tabcontent-wrapper{
 
.tabcontent-wrapper{
   text-align: center;
+
   text-align: justify;
 
   max-width: 100%;
 
   max-width: 100%;
 
   background-color: rgba(255, 255, 255, 0.6);
 
   background-color: rgba(255, 255, 255, 0.6);
 
}
 
}
 +
 
/* Style the tab content */
 
/* Style the tab content */
 
.tabcontent {
 
.tabcontent {
 
     display: none;
 
     display: none;
 
     max-width: 85%;
 
     max-width: 85%;
 +
    height: auto;
 
     margin: auto auto;
 
     margin: auto auto;
    padding: 6px 12px;
 
/*
 
    border-radius: 12px;
 
    background-color: rgba(255, 255, 255, 0.6);
 
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
 
    -moz-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
 
    -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
 
*/
 
    flex-direction: row;
 
    justify-content: flex-start;
 
    align-items: center;
 
 
}
 
}
 +
 
.sponsor-pic{
 
.sponsor-pic{
 
   display: flex;
 
   display: flex;
 
   width: 235px;
 
   width: 235px;
 
   max-width: 235px;
 
   max-width: 235px;
  min-width: 235px;
 
 
   height: auto;
 
   height: auto;
 +
  position: absolute;
 +
  top: 0;
 +
  left: 0;
 
}
 
}
 
.sponsor-description{
 
.sponsor-description{
 
   display: flex;
 
   display: flex;
   margin-left: 24px;
+
   margin-left: 16px;
  font-family: "Lora", sans-serif;
+
  font-weight: 400;
+
  font-size: 1.25em;
+
 
   line-height: normal;
 
   line-height: normal;
 
   text-align: justify;
 
   text-align: justify;
Line 596: Line 624:
 
/*************************************CSS FOR COLLAB *********************************/
 
/*************************************CSS FOR COLLAB *********************************/
  
.tabcontent p{
 
font-size: 1.25em;
 
}
 
 
.collab-content{
 
.collab-content{
 
   text-align: justify;
 
   text-align: justify;

Latest revision as of 01:48, 18 October 2018