Difference between revisions of "Template:HSNU-TAIPEI/main"
Line 35: | Line 35: | ||
.wrapper { | .wrapper { | ||
− | |||
width: 100%; | width: 100%; | ||
+ | background: #f2f2e8; | ||
} | } | ||
.main-content { | .main-content { | ||
− | width: 80%; | + | /*width: 80%;*/ |
+ | width: 100%; | ||
margin: 0 auto; | margin: 0 auto; | ||
− | padding: 5%; | + | padding: 110px 5% 5%; |
} | } | ||
.main-content h1 { | .main-content h1 { | ||
font-weight: bold; | font-weight: bold; | ||
− | font-size: | + | font-size: 4rem; |
text-align: center; | text-align: center; | ||
margin: 0 auto 30px; | margin: 0 auto 30px; | ||
− | |||
} | } | ||
Line 62: | Line 62: | ||
} | } | ||
− | + | article p { | |
− | font-size: 1. | + | font-size: 1.1rem; |
line-height: 1.5; | line-height: 1.5; | ||
} | } | ||
− | + | article img { | |
+ | width: 100%; | ||
float: right; | float: right; | ||
− | |||
} | } | ||
− | + | @media screen and (min-width: 1024px) { | |
− | + | .main-content { | |
− | + | width: 90%; | |
− | + | } | |
− | + | article p { | |
− | + | font-size: 1.25rem; | |
− | width: | + | } |
+ | article img { | ||
+ | width: 50%; | ||
+ | } | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</style> | </style> | ||
</html> | </html> |
Revision as of 12:37, 3 June 2015