| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446 |
- //
- // Site Name:
- // Author:
- //
- // Stylesheet: TABLET & SMALLER LAPTOPS
- //
- // This stylesheet is loaded for larger mobile devices. It's set to
- // 481px because at 480px it would load on a landscaped iPhone.
- // This isn't ideal because then you would be loading all those
- // extra styles on that same mobile connection.
- //
- // A word of warning. This size COULD be a larger mobile device,
- // so you still want to keep it pretty light and simply expand
- // upon your base.less styles.
- //
- //
- //
- // GENERAL STYLES
- //
- body
- //
- // LAYOUT & GRID STYLES
- //
- .wrap
- //
- // HEADER SYTLES
- //
- .header
- #logo
-
- //
- // NAVIGATION STYLES
- //
-
- //
- // POSTS & CONTENT STYLES
- //
- #content
- // want to style individual post classes? Booya!
- .hentry // standard post class
- .post-id // post by id (i.e. post-3)
- .post // general post style
- .page // general article on a page style
- .attachment // general style on an attatchment
- .sticky // sticky post style
- .hentry // hentry class
- .category-slug // style by category (i.e. category-videos)
- .tag-slug // style by tag (i.e. tag-news)
-
- .article-header // the header element inside each post
- .article-footer // the footer element inside each post
-
- .single-title, // the title (h1) on each single post or page
- .page-title
-
- .single-title // the title (h1) on single posts
- .page-title // the title (h1) on pages
- .archive-title // the archive title on archive / category pages
-
-
- // post meta
- .meta
-
- time
-
- // post content
- .post-content
-
- p
-
- ul, ol, table, dl
-
- ul, ol
-
- li
-
- ul
- li
-
- ol
-
- li
-
- blockquote
-
- &:before
-
- dl
-
- dt
-
- dd
-
- img
-
- //
- // image alignment on a screen this size may be
- // a bit difficult. It's set to start aligning
- // and floating images at the next breakpoint,
- // but it's up to you. Feel free to change it up.
- //
- .alignleft, img.alignleft
- margin-right: 1.5em
- display: inline
- float: left
-
- .alignright, img.alignright
- margin-left: 1.5em
- display: inline
- float: right
-
- .aligncenter, img.aligncenter
- margin-right: auto
- margin-left: auto
- display: block
- clear: both
-
- video, object
-
- pre, code
-
- // end .post-content
-
- .wp-caption
-
- // images inside wp-caption
- img
-
- p.wp-caption-text
-
- // end .wp-caption
-
- // image gallery styles
- .gallery
-
- dl
-
- a
-
- img
-
- dt
-
- dd
-
- // end .gallery
-
- // gallery caption styles
- .gallery-caption
-
- .size-full
- .size-large
- .size-medium
- .size-thumbnail
- //
- // PAGE NAVI STYLES
- //
- .page-navigation,
- .wp-prev-next
-
- .bones_page_navi
-
- li
-
- a
-
- &:hover,
- &:focus
-
- // end .bones_page_navi
-
- // current page link
- li.bpn-current
-
- a
- // hovering on current page link
- &:hover,
- &:focus
-
- // common styles for page-navi links
- li.bpn-prev-link,
- li.bpn-next-link
-
- a
-
- // remove the bg on end links
- li.bpn-prev-link a:hover,
- li.bpn-next-link a:hover,
- li.bpn-first-page-link a:hover,
- li.bpn-last-page-link a:hover
-
- // previous link
- li.bpn-prev-link
- a
- &:hover,
- &:focus
-
- // next page link
- li.bpn-next-link
- a
- &:hover,
- &:focus
-
- // first page link
- li.bpn-first-page-link
- a
- &:hover,
- &:focus
-
- // last page link
- li.bpn-last-page-link
- a
- &:hover,
- &:focus
-
- // fallback previous & next links
- .wp-prev-next
-
- ul
-
- .prev-link
-
- .next-link
-
- // end .wp-prev-next
- //
- // COMMENT STYLES
- //
- // h3 comment title
- #comments
- // number of comments span
- span
-
- .comment-nav
-
- ul
-
- li
- // end .comment-nav
-
- // comment styles
- .commentlist
-
- li
-
- &:last-child
-
- ul.children
-
- li
-
- li[class*=depth-]
-
- li.depth-1
-
- li:not(.depth-1)
-
- li.depth-2
- li.depth-3
- li.depth-4
- li.depth-5
-
- .odd
- .even
- // wordpress comment classes
- .comment // regular comment class (present on all)
- .alt // an alt comment
- .parent // a parent comment
- .children // a child comment
- .pingback // a pingback
- .bypostauthor // a comment by the post author
- .comment-author // a comment by the author
- .comment-author-admin // a comment by the author who is admin
- .thread-alt // a comment inside a thread alt
- .thread-odd // an odd comment inside thread
- .thread-even // an even comment inside thread
-
- /// comment vcard
- .vcard
-
- // comment author name
- cite.fn
-
- // author link url
- a.url
-
- // comment date
- time
-
- a
-
- &:hover
-
- // the comment gravatar
- img.avatar
-
- // end .commentlist
-
- // comment meta
- .comment-meta
-
- a
-
- // comment meta data
- .commentmetadata
-
- a
-
- // comment content
- .comment_content
-
- p
-
- // end .comment_content
-
- // comment reply link
- .comment-reply-link
-
- &:hover,
- &:focus
-
- // end .comment-reply-link
-
- //
- // COMMENT FORM STYLES
- //
- .respond-form
-
- form
-
- li
-
- label,
- small
-
- input[type=text],
- input[type=email],
- input[type=url],
- textarea
-
- &:focus
-
- // form validation
- &:invalid
-
- input[type=text],
- input[type=email],
- input[type=url]
-
- textarea
- // end .respond-form
-
- // comment submit button
- #submit
-
- // comment form title
- #comment-form-title
-
- // cancel comment reply link
- #cancel-comment-reply
- a
-
- // logged in comments
- .comments-logged-in-as
-
- // allowed tags
- #allowed_tags
-
- // no comments
- .nocomments
-
-
- //
- // SIDEBARS & ASIDES
- //
- .sidebar
- .widgettitle
- .widget
-
- ul
-
- li
-
- &:first-child
-
- &:last-child
-
- a
-
- // deep nesting
- ul
-
- // end .widget
- //
- // FOOTER STYLES
- //
- .footer
-
- //
- // if you checked out the link above:
- // http://www.alistapart.com/articles/organizing-mobile/
- // you'll want to style the footer nav
- // a bit more in-depth. Remember to keep
- // it simple because you'll have to
- // override these styles for the desktop
- // view.
- //
- .footer-links
-
- ul
-
- li
-
- // end .footer-links
-
- .attribution
-
|