Difference between revisions of "Template:Team:NUS Singapore/CSS"

Line 720: Line 720:
 
article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block;}audio,canvas,video{display:inline-block;}audio:not([controls]){display:none;height:0;}[hidden]{display:none;}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;}body{margin:0;}a:focus{outline:thin dotted;}a:active,a:hover{outline:0;}h1{font-size:2em;margin:0.67em 0;}abbr[title]{border-bottom:1px dotted;}b,strong{font-weight:bold;}dfn{font-style:italic;}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0;}mark{background:#ff0;color:#000;}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em;}pre{white-space:pre-wrap;}q{quotes:"\201C" "\201D" "\2018" "\2019";}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sup{top:-0.5em;}sub{bottom:-0.25em;}img{border:0;}svg:not(:root){overflow:hidden;}figure{margin:0;}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em;}legend{border:0;padding:0;}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0;}button,input{line-height:normal;}button,select{text-transform:none;}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;}button[disabled],html input[disabled]{cursor:default;}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}textarea{overflow:auto;vertical-align:top;}table{border-collapse:collapse;border-spacing:0;}
 
article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block;}audio,canvas,video{display:inline-block;}audio:not([controls]){display:none;height:0;}[hidden]{display:none;}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;}body{margin:0;}a:focus{outline:thin dotted;}a:active,a:hover{outline:0;}h1{font-size:2em;margin:0.67em 0;}abbr[title]{border-bottom:1px dotted;}b,strong{font-weight:bold;}dfn{font-style:italic;}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0;}mark{background:#ff0;color:#000;}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em;}pre{white-space:pre-wrap;}q{quotes:"\201C" "\201D" "\2018" "\2019";}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sup{top:-0.5em;}sub{bottom:-0.25em;}img{border:0;}svg:not(:root){overflow:hidden;}figure{margin:0;}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em;}legend{border:0;padding:0;}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0;}button,input{line-height:normal;}button,select{text-transform:none;}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;}button[disabled],html input[disabled]{cursor:default;}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}textarea{overflow:auto;vertical-align:top;}table{border-collapse:collapse;border-spacing:0;}
  
 +
/*sidebar_transitions_demo.css*/
 +
body {
 +
background: #444;
 +
color: #48a770;
 +
font-weight: 300;
 +
font-family: 'Lato', Calibri, Arial, sans-serif;
 +
}
 +
 +
a {
 +
text-decoration: none;
 +
color: #48a770;
 +
outline: none;
 +
}
 +
 +
a:hover, a:focus {
 +
color: #2c774b;
 +
outline: none;
 +
}
 +
 +
/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
 +
.clearfix:before,
 +
.clearfix:after {
 +
display: table;
 +
content: " ";
 +
}
 +
 +
.clearfix:after {
 +
clear: both;
 +
}
 +
 +
.codrops-header,
 +
.codrops-top {
 +
font-family: 'Lato', Arial, sans-serif;
 +
}
 +
 +
.codrops-header {
 +
margin: 0 auto 3em;
 +
padding: 3em;
 +
text-align: center;
 +
}
 +
 +
.codrops-header h1 {
 +
margin: 0;
 +
font-weight: 300;
 +
font-size: 2.625em;
 +
line-height: 1.3;
 +
}
 +
 +
.codrops-header span {
 +
display: block;
 +
padding: 0 0 0.6em 0.1em;
 +
font-size: 60%;
 +
color: #aca89a;
 +
}
 +
 +
/* To Navigation Style */
 +
.codrops-top {
 +
width: 100%;
 +
text-transform: uppercase;
 +
font-size: 0.69em;
 +
line-height: 2.2;
 +
font-weight: 400;
 +
background: rgba(255,255,255,0.3);
 +
}
 +
 +
.codrops-top a {
 +
display: inline-block;
 +
padding: 0 1em;
 +
text-decoration: none;
 +
letter-spacing: 0.1em;
 +
}
 +
 +
.codrops-top a:hover {
 +
background: rgba(255,255,255,0.4);
 +
color: #333;
 +
}
 +
 +
.codrops-top span.right {
 +
float: right;
 +
}
 +
 +
.codrops-top span.right a {
 +
display: block;
 +
float: left;
 +
}
 +
 +
.codrops-icon:before {
 +
margin: 0 4px;
 +
text-transform: none;
 +
font-weight: normal;
 +
font-style: normal;
 +
font-variant: normal;
 +
font-family: 'codropsicons';
 +
line-height: 1;
 +
speak: none;
 +
-webkit-font-smoothing: antialiased;
 +
-ms-font-smoothing: scale(1.1) translate(70px); /* IE 9 */
 +
}
 +
 +
.codrops-icon-drop:before {
 +
content: "\e001";
 +
}
 +
 +
.codrops-icon-prev:before {
 +
content: "\e004";
 +
}
 +
 +
.main {
 +
max-width: 69em;
 +
margin: 0 auto;
 +
}
 +
 +
.column {
 +
float: left;
 +
width: 50%;
 +
padding: 0 2em;
 +
min-height: 300px;
 +
position: relative;
 +
text-align: right;
 +
}
 +
 +
.column:nth-child(2) {
 +
box-shadow: -1px 0 0 rgba(0,0,0,0.1);
 +
text-align: left;
 +
}
 +
 +
.column p {
 +
font-weight: 300;
 +
font-size: 2em;
 +
padding: 0 0 0.5em;
 +
margin: 0;
 +
line-height: 1.5;
 +
}
 +
 +
button {
 +
border: none;
 +
padding: 0.6em 1.2em;
 +
background: #388a5a;
 +
color: #fff;
 +
font-family: 'Lato', Calibri, Arial, sans-serif;
 +
font-size: 1em;
 +
letter-spacing: 1px;
 +
text-transform: uppercase;
 +
cursor: pointer;
 +
display: inline-block;
 +
margin: 3px 2px;
 +
border-radius: 2px;
 +
-webkit-transition: all .2s ease-in-out;
 +
transition: all .2s ease-in-out;
 +
}
 +
 +
button:hover {
 +
background-color: rgba(0,0,0,.5);
 +
    color: rgba(255,255,255,1);
 +
    -ms-transform: scale(1.7) translate(40px); /* IE 9 */
 +
    -webkit-transform: scale(1.7) translate(40px); /* Safari */
 +
    transform: scale(1.7) translate(40px); /* Standard syntax */
 +
outline: none;
 +
}
 +
 +
.info {
 +
text-align: center;
 +
font-size: 1.5em;
 +
margin-top: 3em;
 +
clear: both;
 +
padding: 3em 0;
 +
opacity: 0.7;
 +
color: #aca89a;
 +
}
 +
 +
.info a {
 +
font-weight: 700;
 +
font-size: 0.9em;
 +
}
 +
 +
@media screen and (max-width: 46.0625em) {
 +
.column {
 +
width: 100%;
 +
min-width: auto;
 +
min-height: auto;
 +
padding: 2em;
 +
text-align: center;
 +
}
 +
 +
.column p {
 +
font-size: 1.5em;
 +
}
 +
 +
.column:nth-child(2) {
 +
text-align: center;
 +
box-shadow: 0 -1px 0 rgba(0,0,0,0.1);
 +
}
 +
}
 +
 +
@media screen and (max-width: 25em) {
 +
 +
.codrops-header {
 +
font-size: 80%;
 +
}
 +
 +
.codrops-top {
 +
font-size: 120%;
 +
}
 +
 +
.codrops-icon span {
 +
display: none;
 +
}
 +
 +
}
  
  

Revision as of 14:43, 20 September 2016