Advertisement
firoze

theme unit test all css

Mar 6th, 2015
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.29 KB | None | 0 0
  1. // theme unit test css
  2.  
  3. source link: http://themeshaper.com/2012/11/12/how-to-reset-rebuild-wordpress-theme-css-define-your-layouts/
  4.  
  5. /*
  6. Theme Name: Shape 2
  7. Theme URI: http://themeshaper.com/
  8. Author: ThemeShaper
  9. Author URI: http://themeshaper.com/
  10. Description: The Shape theme is a simple, minimalist theme based on Underscores and the original Shape Theme by Ian Stewart. It was created especially as a learning theme for The Theme Shaper WordPress Theme Tutorial: 2nd Edition.
  11. Version: 2.0
  12. License: GNU General Public License
  13. License URI: license.txt
  14. Tags: brown, green, light, tan, one-column, two-columns, left-sidebar, right-sidebar, flexible-width, custom-background, custom-header, custom-menu, featured-images, flexible-header, microformats, post-formats, rtl-language-support, threaded-comments, translation-ready
  15. This theme, like WordPress, is licensed under the GPL.
  16. Use it to make something cool, have fun, and share what you've learned with others.
  17.  
  18. Resetting and rebuilding styles have been helped along thanks to the fine work of
  19. Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
  20. along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
  21. and Blueprint http://www.blueprintcss.org/
  22. */
  23.  
  24.  
  25. /* =Reset
  26. -------------------------------------------------------------- */
  27.  
  28. html, body, div, span, applet, object, iframe,
  29. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  30. a, abbr, acronym, address, big, cite, code,
  31. del, dfn, em, font, ins, kbd, q, s, samp,
  32. small, strike, strong, sub, sup, tt, var,
  33. dl, dt, dd, ol, ul, li,
  34. fieldset, form, label, legend,
  35. table, caption, tbody, tfoot, thead, tr, th, td {
  36. border: 0;
  37. font-family: inherit;
  38. font-size: 100%;
  39. font-style: inherit;
  40. font-weight: inherit;
  41. margin: 0;
  42. outline: 0;
  43. padding: 0;
  44. vertical-align: baseline;
  45. }
  46. html {
  47. font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
  48. overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
  49. -webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
  50. -ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
  51. }
  52. body {
  53. background: #fff;
  54. }
  55. article,
  56. aside,
  57. details,
  58. figcaption,
  59. figure,
  60. footer,
  61. header,
  62. hgroup,
  63. nav,
  64. section {
  65. display: block;
  66. }
  67. ol, ul {
  68. list-style: none;
  69. }
  70. table { /* tables still need 'cellspacing="0"' in the markup */
  71. border-collapse: separate;
  72. border-spacing: 0;
  73. }
  74. caption, th, td {
  75. font-weight: normal;
  76. text-align: left;
  77. }
  78. blockquote:before, blockquote:after,
  79. q:before, q:after {
  80. content: "";
  81. }
  82. blockquote, q {
  83. quotes: "" "";
  84. }
  85. a:focus {
  86. outline: thin dotted;
  87. }
  88. a:hover,
  89. a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
  90. outline: 0;
  91. }
  92. a img {
  93. border: 0;
  94. }
  95.  
  96.  
  97. /* =Global
  98. ----------------------------------------------- */
  99.  
  100. body,
  101. button,
  102. input,
  103. select,
  104. textarea {
  105. color: #6b6252;
  106. font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  107. font-size: 16px;
  108. font-size: 1.6rem;
  109. line-height: 1.5;
  110. }
  111.  
  112. body {
  113. background: #e9e0d1;
  114. }
  115.  
  116. /* Headings */
  117. h1,h2,h3,h4,h5,h6 {
  118. clear: both;
  119. margin: 0.6em 0;
  120. }
  121. h1 {
  122. font-size: 36px;
  123. font-size: 3.6rem;
  124. }
  125. h2 {
  126. font-size: 28px;
  127. font-size: 2.8rem;
  128. }
  129. h3 {
  130. font-size: 22px;
  131. font-size: 2.2rem;
  132. }
  133. h4 {
  134. font-size: 16px;
  135. font-size: 1.6rem;
  136. }
  137. h5 {
  138. font-size: 14px;
  139. font-size: 1.4rem;
  140. }
  141. h6 {
  142. font-size: 12px;
  143. font-size: 1.2rem;
  144. }
  145. hr {
  146. background-color: #ccc;
  147. border: 0;
  148. height: 1px;
  149. margin-bottom: 1.5em;
  150. }
  151.  
  152. /* Text elements */
  153. p {
  154. margin-bottom: 1.5em;
  155. }
  156. ul, ol {
  157. margin: 0 0 1.5em 3em;
  158. }
  159. ul {
  160. list-style: disc;
  161. }
  162. ol {
  163. list-style: decimal;
  164. }
  165. ul ul, ol ol, ul ol, ol ul {
  166. margin-bottom: 0;
  167. margin-left: 1.5em;
  168. }
  169. dt {
  170. font-weight: bold;
  171. }
  172. dd {
  173. margin: 0 1.5em 1.5em;
  174. }
  175. b, strong {
  176. font-weight: bold;
  177. }
  178. dfn, cite, em, i {
  179. font-style: italic;
  180. }
  181. blockquote {
  182. font-style: italic;
  183. margin: 0 1.5em;
  184. }
  185. address {
  186. margin: 0 0 1.5em;
  187. }
  188. pre {
  189. background: #dfd6c7;
  190. font-family: "Courier 10 Pitch", Courier, monospace;
  191. font-size: 15px;
  192. font-size: 1.5rem;
  193. line-height: 1.6;
  194. margin-bottom: 1.6em;
  195. padding: 1.6em;
  196. overflow: auto;
  197. max-width: 100%;
  198. }
  199. code, kbd, tt, var {
  200. font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  201. }
  202. abbr, acronym {
  203. border-bottom: 1px dotted #666;
  204. cursor: help;
  205. }
  206. mark, ins {
  207. background: #fff9c0;
  208. text-decoration: none;
  209. }
  210. sup,
  211. sub {
  212. font-size: 75%;
  213. height: 0;
  214. line-height: 0;
  215. position: relative;
  216. vertical-align: baseline;
  217. }
  218. sup {
  219. bottom: 1ex;
  220. }
  221. sub {
  222. top: .5ex;
  223. }
  224. small {
  225. font-size: 75%;
  226. }
  227. big {
  228. font-size: 125%;
  229. }
  230. figure {
  231. margin: 0;
  232. }
  233. table {
  234. margin: 0 0 1.5em;
  235. width: 100%;
  236. }
  237. th {
  238. font-weight: bold;
  239. }
  240. button,
  241. input,
  242. select,
  243. textarea {
  244. font-size: 100%; /* Corrects font size not being inherited in all browsers */
  245. margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
  246. vertical-align: baseline; /* Improves appearance and consistency in all browsers */
  247. *vertical-align: middle; /* Improves appearance and consistency in all browsers */
  248. }
  249. button,
  250. input {
  251. line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
  252. *overflow: visible; /* Corrects inner spacing displayed oddly in IE6/7 */
  253. }
  254. button,
  255. html input[type="button"],
  256. input[type="reset"],
  257. input[type="submit"] {
  258. border: 1px solid #ccc;
  259. border-color: #ccc #ccc #bbb #ccc;
  260. border-radius: 3px;
  261. background: #e6e6e6;
  262. -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), inset 0 15px 17px rgba(255,255,255,0.5), inset 0 -5px 12px rgba(0,0,0,0.05);
  263. -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), inset 0 15px 17px rgba(255,255,255,0.5), inset 0 -5px 12px rgba(0,0,0,0.05);
  264. box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), inset 0 15px 17px rgba(255,255,255,0.5), inset 0 -5px 12px rgba(0,0,0,0.05);
  265. color: rgba(0,0,0,.8);
  266. cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
  267. -webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
  268. font-size: 12px;
  269. font-size: 1.4rem;
  270. line-height: 1;
  271. padding: 1.12em 1.5em 1em;
  272. text-shadow: 0 1px 0 rgba(255,255,255,.8);
  273. }
  274. button:hover,
  275. html input[type="button"]:hover,
  276. input[type="reset"]:hover,
  277. input[type="submit"]:hover {
  278. border-color: #ccc #bbb #aaa #bbb;
  279. -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), inset 0 15px 17px rgba(255,255,255,0.8), inset 0 -5px 12px rgba(0,0,0,0.02);
  280. -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), inset 0 15px 17px rgba(255,255,255,0.8), inset 0 -5px 12px rgba(0,0,0,0.02);
  281. box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), inset 0 15px 17px rgba(255,255,255,0.8), inset 0 -5px 12px rgba(0,0,0,0.02);
  282. }
  283. button:focus,
  284. html input[type="button"]:focus,
  285. input[type="reset"]:focus,
  286. input[type="submit"]:focus,
  287. button:active,
  288. html input[type="button"]:active,
  289. input[type="reset"]:active,
  290. input[type="submit"]:active {
  291. border-color: #aaa #bbb #bbb #bbb;
  292. -webkit-box-shadow: inset 0 -1px 0 rgba(255,255,255,0.5), inset 0 2px 5px rgba(0,0,0,0.15);
  293. -moz-box-shadow: inset 0 -1px 0 rgba(255,255,255,0.5), inset 0 2px 5px rgba(0,0,0,0.15);
  294. box-shadow: inset 0 -1px 0 rgba(255,255,255,0.5), inset 0 2px 5px rgba(0,0,0,0.15);
  295. }
  296. input[type="checkbox"],
  297. input[type="radio"] {
  298. box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */
  299. padding: 0; /* Addresses excess padding in IE8/9 */
  300. }
  301. input[type="search"] {
  302. -webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
  303. -moz-box-sizing: content-box;
  304. -webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
  305. box-sizing: content-box;
  306. }
  307. input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
  308. -webkit-appearance: none;
  309. }
  310. button::-moz-focus-inner,
  311. input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
  312. border: 0;
  313. padding: 0;
  314. }
  315. input[type=text],
  316. input[type=email],
  317. textarea {
  318. background: rgba( 255, 255, 255, 0.3 );
  319. border: 1px solid #ccc;
  320. border-radius: 3px;
  321. padding: 6px;
  322. }
  323. input[type=text]:focus,
  324. input[type=email]:focus,
  325. textarea:focus {
  326. background: #fff;
  327. }
  328. textarea {
  329. overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
  330. padding-left: 3px;
  331. vertical-align: top; /* Improves readability and alignment in all browsers */
  332. width: 98%;
  333. }
  334.  
  335. /* Links */
  336. a,
  337. a:visited {
  338. color: #748a81;
  339. text-decoration: none;
  340. transition: all .3s ease-in-out;
  341. -webkit-transition: all .3s ease-in-out;
  342. -moz-transition: all .3s ease-in-out;
  343. }
  344. a:hover,
  345. a:focus,
  346. a:active {
  347. color: #33605a;
  348. }
  349.  
  350. /* Alignment */
  351. .alignleft {
  352. display: inline;
  353. float: left;
  354. margin-right: 1.5em;
  355. margin-bottom: 1em;
  356. }
  357. .alignright {
  358. display: inline;
  359. float: right;
  360. margin-left: 1.5em;
  361. margin-bottom: 1em;
  362. }
  363. .aligncenter {
  364. clear: both;
  365. display: block;
  366. margin: 1.5em auto;
  367. }
  368.  
  369. /* Text meant only for screen readers */
  370. .assistive-text {
  371. clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  372. clip: rect(1px, 1px, 1px, 1px);
  373. position: absolute !important;
  374. }
  375.  
  376. .site-title,
  377. .entry-title,
  378. .page-title,
  379. .entry-content,
  380. .entry-summary,
  381. .widget-title,
  382. .comments-title,
  383. .comment .reply,
  384. .comment-meta,
  385. .comment-author,
  386. #reply-title {
  387. font-family: Georgia, 'Times New Roman', serif;
  388. }
  389.  
  390.  
  391. /* =Structure
  392. ----------------------------------------------- */
  393.  
  394. #main,
  395. .main-navigation,
  396. .site-title,
  397. .site-description {
  398. margin: 0 auto;
  399. max-width: 1050px;
  400. }
  401. #main {
  402. clear: both;
  403. overflow: hidden;
  404. }
  405. #primary {
  406. float: left;
  407. margin: 0 -27% 0 0;
  408. padding: 2em;
  409. width: 90%;
  410. }
  411. #content {
  412. margin: 0 27% 0 0;
  413. }
  414. #secondary,
  415. #tertiary {
  416. background: #ede8df;
  417. float: right;
  418. margin: 1em 1em 0;
  419. padding: 2em 2em 0;
  420. position: relative;
  421. width: 20%;
  422. }
  423. #tertiary {
  424. padding-top: 0;
  425. }
  426. .site-footer {
  427. clear: both;
  428. width: 100%;
  429. }
  430.  
  431. /* =Site Header
  432. ----------------------------------------------- */
  433.  
  434. .site-header hgroup {
  435. background: #33605a;
  436. padding: 1.5em 2em;
  437. }
  438. .site-title {
  439. font-size: 45px;
  440. font-size: 4.5rem;
  441. font-style: italic;
  442. }
  443. .site-description {
  444. font-size: 13px;
  445. font-size: 1.3rem;
  446. }
  447. .site-title a,
  448. .site-description {
  449. color: #e9e0d1;
  450. }
  451.  
  452. /* =Menu
  453. ----------------------------------------------- */
  454.  
  455. .main-navigation {
  456. clear: both;
  457. display: block;
  458. padding: 1.5em;
  459. }
  460. .main-navigation:after {
  461. clear: both;
  462. content: "";
  463. display: block;
  464. }
  465. .main-navigation ul {
  466. list-style: none;
  467. margin: 0;
  468. padding-left: 0;
  469. }
  470. .main-navigation li {
  471. float: left;
  472. margin: 0.5em 0;
  473. position: relative;
  474. }
  475. .main-navigation a {
  476. color: #7c948a;
  477. display: block;
  478. font-size: 1.4rem;
  479. font-weight: bold;
  480. margin-right: 2em;
  481. text-decoration: none;
  482. }
  483. .main-navigation ul ul {
  484. background: #e9e0d1;
  485. border: 1px solid rgba( 0, 0, 0, 0.1 );
  486. display: none;
  487. float: left;
  488. position: absolute;
  489. top: 1.2em;
  490. left: 0;
  491. z-index: 99999;
  492. }
  493. .main-navigation ul ul ul {
  494. left: 100%;
  495. top: 0;
  496. }
  497. .main-navigation ul ul a {
  498. padding: 0 1.5em;
  499. width: 200px;
  500. }
  501. .main-navigation ul ul li {
  502. }
  503. .main-navigation li:hover > a,
  504. .main-navigation li.current_page_item a,
  505. .main-navigation li.current-menu-item a,
  506. .main-navigation ul ul a:hover {
  507. color: #33605a;
  508. }
  509. .main-navigation ul ul :hover > a {
  510. }
  511. .main-navigation ul li:hover > ul {
  512. display: block;
  513. }
  514.  
  515. /* Small menu */
  516. .menu-toggle {
  517. color: #7c948a;
  518. cursor: pointer;
  519. font-size: 20px;
  520. font-weight: bold;
  521. text-align: center;
  522. }
  523. .main-small-navigation .menu {
  524. display: none;
  525. }
  526.  
  527.  
  528. /* =Content
  529. ----------------------------------------------- */
  530.  
  531. .site-main {
  532. background: #f1ece3;
  533. border: 1px solid rgba(0, 0, 0, 0.1);
  534. border-width: 3px 1px;
  535. }
  536. .sticky {
  537. }
  538. .hentry {
  539. border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  540. margin: 0 0 1.5em;
  541. padding-bottom: 1.5em;
  542. }
  543. .entry-title,
  544. .page-title {
  545. font-size: 28px;
  546. font-size: 2.8rem;
  547. font-style: italic;
  548. margin: 0 0 0.2em;
  549. }
  550. .entry-title a {
  551. text-decoration: none;
  552. }
  553. body.search .page-title,
  554. body.archive .page-title {
  555. font-size: 16px;
  556. font-size: 1.6rem;
  557. margin-bottom: 1em;
  558. }
  559. .entry-meta {
  560. clear: both;
  561. font-size: 12px;
  562. font-size: 1.2rem;
  563. }
  564. .byline {
  565. display: none;
  566. }
  567. .single .byline,
  568. .group-blog .byline {
  569. display: inline;
  570. }
  571. .entry-content,
  572. .entry-summary {
  573. margin: 1.5em 0 0;
  574. }
  575. .entry-content table,
  576. .comment-content table {
  577. border: 1px solid #d9d9d9;
  578. border-left-width: 0;
  579. margin: 0 -0.083em 2.083em 0;
  580. text-align: left;
  581. width: 100%;
  582. }
  583. .entry-content tr th,
  584. .entry-content thead th,
  585. .comment-content tr th,
  586. .comment-content thead th {
  587. border-left: 1px solid #d9d9d9;
  588. font-weight: bold;
  589. padding: 0.5em 1.25em;
  590. }
  591. .entry-content tr td,
  592. .comment-content tr td {
  593. border: 1px solid #d9d9d9;
  594. border-width: 1px 0 0 1px;
  595. padding: 0.5em 1.25em;
  596. }
  597. .entry-content tr.odd td,
  598. .comment-content tr.odd td {
  599. background: #dfd6c7;
  600. }
  601. .page-links {
  602. clear: both;
  603. margin: 0 0 1.5em;
  604. }
  605.  
  606.  
  607. /* =Aside Post Format
  608. ----------------------------------------------- */
  609.  
  610. .format-aside .entry-content {
  611. border-left: 4px solid rgba( 0, 0, 0, 0.1 );
  612. padding-left: 1em;
  613. }
  614.  
  615.  
  616. /* =Media
  617. ----------------------------------------------- */
  618.  
  619. .site-header img,
  620. .entry-content img,
  621. .comment-content img,
  622. .widget img {
  623. max-width: 100%; /* Fluid images for posts, comments, and widgets */
  624. }
  625. .site-header img,
  626. .entry-content img,
  627. .widget-img,
  628. img[class*="align"],
  629. img[class*="wp-image-"],
  630. .wp-caption img {
  631. height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
  632. }
  633. .site-header img,
  634. .entry-content img,
  635. .widget img,
  636. img.size-full {
  637. max-width: 100%;
  638. width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */
  639. }
  640. .entry-content img.wp-smiley,
  641. .comment-content img.wp-smiley {
  642. border: none;
  643. margin-bottom: 0;
  644. margin-top: 0;
  645. padding: 0;
  646. }
  647. .wp-caption {
  648. border: 1px solid #ccc;
  649. max-width: 100%;
  650. }
  651. .wp-caption.aligncenter,
  652. .wp-caption.alignleft,
  653. .wp-caption.alignright,
  654. .wp-caption.alignnone {
  655. margin-bottom: 1.5em;
  656. }
  657. .wp-caption img {
  658. display: block;
  659. margin: 1.2% auto 0;
  660. max-width: 98%;
  661. }
  662. .wp-caption-text {
  663. text-align: center;
  664. }
  665. .wp-caption .wp-caption-text {
  666. margin: 0.8075em 0;
  667. }
  668. #content .gallery {
  669. margin-bottom: 1.5em;
  670. }
  671. .wp-caption-text,
  672. .gallery-caption {
  673. font-size: 12px;
  674. font-size: 1.2rem;
  675. font-style: italic;
  676. }
  677. #content .gallery a img {
  678. border: none;
  679. height: auto;
  680. max-width: 90%;
  681. }
  682. #content .gallery dd {
  683. margin: 0;
  684. }
  685.  
  686. /* Make sure embeds and iframes fit their containers */
  687. embed,
  688. iframe,
  689. object {
  690. max-width: 100%;
  691. }
  692.  
  693.  
  694. /* =Navigation
  695. ----------------------------------------------- */
  696.  
  697. .site-content .site-navigation {
  698. font-size: 13px;
  699. font-size: 1.3rem;
  700. font-style: italic;
  701. margin: 0 0 1.5em;
  702. overflow: hidden;
  703. }
  704. .site-content .nav-previous {
  705. float: left;
  706. width: 50%;
  707. }
  708. .site-content .nav-next {
  709. float: right;
  710. text-align: right;
  711. width: 50%;
  712. }
  713.  
  714. /* =Comments
  715. ----------------------------------------------- */
  716.  
  717. #comments {
  718. clear: both;
  719. }
  720. .bypostauthor {
  721. }
  722. .comments-title,
  723. #reply-title {
  724. font-size: 20px;
  725. font-size: 2rem;
  726. }
  727. .commentlist li {
  728. list-style: none;
  729. }
  730. .commentlist,
  731. .children {
  732. list-style: none;
  733. margin: 0;
  734. }
  735. .children {
  736. margin: 0 0 0 6%;
  737. }
  738. .commentlist li.comment,
  739. .commentlist li.pingback {
  740. border-bottom: 1px solid rgba( 0, 0, 0, 0.2 );
  741. padding-left: 2.5em;
  742. }
  743. .commentlist .children li,
  744. .commentlist li:last-of-type {
  745. border: none;
  746. }
  747. article.comment,
  748. li.pingback {
  749. overflow: hidden;
  750. padding: 2.5em 0 0.7em;
  751. position: relative;
  752. }
  753. .children article.comment,
  754. .children li.pingback {
  755. padding-top: 1.0em;
  756. }
  757. .comment .avatar {
  758. float: left;
  759. margin-right: 1.25em;
  760. }
  761. .comment-author {
  762. font-size: 14px;
  763. font-size: 1.4rem;
  764. }
  765. .comment-meta {
  766. font-size: 12px;
  767. font-size: 1.2rem;
  768. }
  769. .comment-content{
  770. font-size: 13px;
  771. font-size: 1.3rem;
  772. margin: 1em 0 0 4.5em;
  773. }
  774. .comment .reply {
  775. font-size: 12px;
  776. font-size: 1.2rem;
  777. text-align: right;
  778. }
  779. li.pingback {
  780. font-weight: bold;
  781. }
  782. li.pingback a {
  783. font-weight: normal;
  784. }
  785.  
  786. /* Comment Form */
  787. .comment-notes,
  788. #commentform .form-allowed-tags,
  789. p.nocomments,
  790. p.logged-in-as,
  791. #commentform label {
  792. font-size: 13px;
  793. font-size: 1.3rem;
  794. }
  795. .required {
  796. color: #880000;
  797. }
  798. #commentform label {
  799. font-weight: bold;
  800. padding: 1em 0;
  801. }
  802. #commentform input[type="text"] {
  803. margin-left: 0.5em;
  804. }
  805. #commentform #comment {
  806. margin-top: 0.6em;
  807. }
  808. #commentform .form-allowed-tags,
  809. #commentform .form-allowed-tags code {
  810. font-size: 11px;
  811. font-size: 1.1rem;
  812. }
  813. p.nocomments {
  814. margin: 2.5em;
  815. }
  816.  
  817.  
  818. /* =Widgets
  819. ----------------------------------------------- */
  820.  
  821. .widget {
  822. font-size: 12px;
  823. font-size: 1.2rem;
  824. line-height: 1.8;
  825. margin: 0 0 1.5em;
  826. }
  827. .widget-title {
  828. color: #999;
  829. font-size: 20px;
  830. font-size: 2rem;
  831. font-style: italic;
  832. }
  833.  
  834. /* Search widget */
  835. #searchsubmit {
  836. display: none;
  837. }
  838.  
  839.  
  840. /* =Site Footer
  841. ----------------------------------------------- */
  842.  
  843. .site-info {
  844. font-size: 13px;
  845. font-size: 1.3rem;
  846. padding: 1.5em 0;
  847. text-align: center;
  848. }
  849.  
  850.  
  851. /* =Responsive Structures
  852. ----------------------------------------------- */
  853.  
  854. @media only screen and (max-width: 800px) {
  855.  
  856. #main {
  857. overflow: visible;
  858. }
  859. #content,
  860. #primary,
  861. #secondary,
  862. #tertiary {
  863. background: none;
  864. float: none;
  865. margin: 0;
  866. padding: 0;
  867. }
  868. #primary,
  869. #secondary,
  870. #tertiary {
  871. width: 100%;
  872. }
  873. .site-header hgroup,
  874. #main {
  875. padding: 0.8em;
  876. }
  877. }
  878.  
  879.  
  880. /* =IE Styles
  881. ----------------------------------------------- */
  882.  
  883. #ie8 .site-header img,
  884. #ie8 .entry-content img,
  885. #ie8 img.size-full,
  886. #ie8 .entry-thumbnail img,
  887. #ie8 .widget img,
  888. #ie8 .wp-caption img {
  889. width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */
  890. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement