Difference between revisions of "Template:HSNU-TAIPEI/css/main"

Line 1: Line 1:
 
<html>
 
<html>
 
<style>
 
<style>
 +
 +
/* Remove Wiki */
 
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
 
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
 
   display:none;
 
   display:none;
Line 17: Line 19:
 
}
 
}
  
 +
#globalWrapper {
 +
  width: 100%;
 +
  margin: 0;
 +
  padding: 0;
 +
}
 +
 +
/* GENERAL */
 
* {
 
* {
box-sizing: border-box;
+
  box-sizing: border-box;
 +
}
 +
 
 +
#bodyContent {
 +
  margin-top: -6px;
 
}
 
}
  
 +
#globalWrapper,
 
html,
 
html,
 
body,
 
body,
 
.wrapper {
 
.wrapper {
height: 100%;
+
  height: 100%;
 
}
 
}
  
 
.wrapper {
 
.wrapper {
background: rgb(250, 250, 250);
+
  background: rgb(250, 250, 250);
width: 100%;
+
  width: 100%;
 
}
 
}
  
 
.main-content {
 
.main-content {
width: 80%;
+
  width: 80%;
margin: 0 auto;
+
  margin: 0 auto;
padding: 5%;
+
  padding: 5%;
 
}
 
}
  
 
.main-content h1 {
 
.main-content h1 {
font-weight: bold;
+
  font-weight: bold;
font-size: 4em;
+
  font-size: 4em;
text-align: center;
+
  text-align: center;
margin: 0 auto 30px;
+
  margin: 0 auto 30px;
 
}
 
}
  
 
.sec {
 
.sec {
width: 100%;
+
  width: 100%;
 
}
 
}
  
 
.sec h2 {
 
.sec h2 {
font-weight: bold;
+
  font-weight: bold;
border-bottom: 2px solid #aaa;
+
  border-bottom: 2px solid #aaa;
 
}
 
}
  
 
.sec p {
 
.sec p {
font-size: 1.25em;
+
  font-size: 1.25em;
line-height: 1.5;
+
  line-height: 1.5;
 
}
 
}
 +
 
</style>
 
</style>
 
</html>
 
</html>

Revision as of 16:06, 19 March 2015