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

 
(13 intermediate revisions by 2 users not shown)
Line 24: Line 24:
 
     padding: 0;
 
     padding: 0;
 
     margin: 0;
 
     margin: 0;
    background-color: white;
 
 
}
 
}
  
Line 262: Line 261:
 
   font-size: 10px !important;
 
   font-size: 10px !important;
 
}
 
}
 
+
.figures2 figcaption, .figures figcaption{
 +
  font-size: 11px;
 +
}
  
 
}
 
}
Line 523: 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 580: Line 572:
 
.sponsor-boxes{
 
.sponsor-boxes{
 
   vertical-align: 50%;
 
   vertical-align: 50%;
 +
  margin: auto auto;
 
   outline: none;
 
   outline: none;
 
   border: none;
 
   border: none;
Line 600: 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 640: 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