1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
css_string = '#comments{word-wrap: break-word; /解决留言不换行的问题/}';
css_string += 'a:hover {-webkit-transition: all 1s;}';
css_string += 'h2,h3,#about';
css_string += '{text-shadow:2px 2px 2px #84C1FF}';
css_string += '#lightbox-nav-btnPrev, #lightbox-nav-btnNext {zoom: 1;}';
css_string += 'h1';
css_string += '{text-shadow:2px 2px 2px #84C1FF;font-weight: bold;}';
css_string += '#header, .description{text-shadow:2px 2px 2px #84C1FF;font-weight: bold;}';
css_string += '.avatar';
css_string += '{-moz-box-shadow: rgba(0,0,0,.8) 1px 5px 7px; -webkit-box-shadow: rgba(0,0,0,.8) 1px 5px 7px; -khtml-box-shadow: rgba(0,0,0,.8) 1px 5px 7px; box-shadow: rgba(0,0,0,.8) 1px 5px 7px;}';
css_string += 'a img';
css_string += '{opacity: 0.9; -webkit-transition: all 0.2s ease-out;}';
css_string += 'a:hover img { opacity: 1; -moz-transform: scale(1.05) rotate(2deg); -webkit-transform: scale(1.05) rotate(2deg); -o-transform: scale(1.05) rotate(2deg); }';
document.write('<style type="text\/css">' + css_string + '<\/style>');
|