/* General styles */ body { background-color: #DDDDDD; font-family: Century Gothic, Tahoma, Arial, Verdana, Helvetica, sans-serif; margin: 0px auto; max-width:1000px; border:solid; border-color:#DDDDDD; } img { width: 200px; height: 150px; } #MyMainContainer { background-color: #AAAAFF; } /* Header and footer styles */ header { background-color: LightBlue; color: Yellow; text-align: center; margin: 0px; padding: 10px; } header h2 { margin: 0px; } h1 { font-size: 50px; margin: 0px; } h2 { color: White; font-size: 20px; margin: 0px; } h3 { font-size: 15px; text-align:center; color: Navy; margin: 0px; } footer { clear: both; background-color: LightBlue; color:Yellow; text-align:center; padding: 15px; } footer h2 { font-size: 14px; color: White; } /* Navigation area styles */ nav { width:25%; float:left; } nav a:link { color: Navy; display: block; border-bottom: 1px solid Yellow; padding: 10px; text-decoration: none; font-weight: bold; margin: 2px; } nav a:hover { color: Orange; background-color: White; } nav h3 { margin: 15px; color: Yellow; } /* Main section styles */ section { width:75%; float:left; } article { background-color: #eee; margin: 10px; padding: 10px; } article header { padding: 5px; } article footer { padding: 5px; } article h1 { font-size: 18px; } /* Aside area */ aside { width:23%; float:right; border: 4px solid orange; background-color: #5555ff; margin: 15px 5px 0px 0px; } aside h3 { margin: 15px; color: yellow; } aside p { margin: 15px; color: white; font-size: 15px; font-style: italic; } /* Figure captions area */ figcaption { text-align: center; color: blue; font-size: 10px; }