Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 36 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
36
Dung lượng
670,69 KB
Nội dung
Chapter 11 font: bold 12px Arial; color: #d11e1e; display: block; padding: 2px 2px 8px; line-height: 15px; text-decoration: none; } portlet-content ul { list-style-image:none; list-style-position:outside; list-style-type:none; margin: 0; padding: 0; } portlet-content li { padding: 2px 4px 0px; } operations { list-style-type: none; margin: 0; padding: 0; } operations li { padding-bottom: 2px; } operations li a { font: bold 12px Arial; color: #0066A4; display: block; padding: 2px 2px 8px; line-height: 15px; text-decoration: none; } operations li a:visited { color: #d11e1e; } operations li a:hover { background: #fff; } [ 275 ] Iteration 8: Making it Pretty- Design, Layout, Themes, and Internationalization(i18n) You may have noticed that some of these changes are referencing image files that not yet exist in our project We have added a background.gif image reference in the body declaration, a new bg2.gif image referenced in the #mainmenu ID declaration and a new header.jpg image in the #header ID declaration These can be viewed, downloaded and used by viewing the site online or accessing the images directly from http://www.yippyii.com/trackstar/themes/new/css/background.gif, http://www.yippyii.com/trackstar/themes/new/css/bg2.gif, and http://www.yippyii.com/trackstar/themes/new/css/header.jpg We need to place these new images into the same CSS folder we are using for this theme, namely Webroot/themes/new/css/ After these changes are in place, we need to make a couple of small adjustments to our main.php layout file in this new theme For one, we need to alter the markup in the element to properly reference our new main.css file Currently the main.css file is being pulled in via this line: