123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303 |
- /*
- Theme Name: Libretto
- Theme URI: http://wordpress.com/themes/libretto
- Author: Automattic
- Author URI: http://wordpress.com/themes/
- Description: Libretto is a responsive one-column theme with classic styling and careful typographic details. It’s ideally suited to showcasing longform writing interspersed with beautiful images and inspiring quotes.
- Version: 1.0.12-wpcom
- License: GNU General Public License
- License URI: http://www.gnu.org/licenses/gpl.html
- Text Domain: libretto
- Tags: art, artwork, blog, classic-menu, clean, conservative, custom-background, custom-colors, custom-header, custom-menu, design, design, editor-style, elegant, faded, fashion, featured-image-header, featured-images, flexible-header, food, formal, gray, hotel, infinite-scroll, journal, lifestream, light, light, microformats, minimal, one-column, photoblogging, photography, post-formats, red, responsive-layout, rtl-language-support, silver, simple, site-logo, sophisticated, sticky-post, theme-options, traditional, translation-ready, white
- Libretto WordPress Theme, Copyright 2015 Automattic, Inc.
- Libretto is distributed under the terms of the GNU GPL.
- This theme, like WordPress, is licensed under the GPL.
- Use it to make something cool, have fun, and share what you've learned with others.
- Resetting and rebuilding styles have been helped along thanks to the fine work of
- Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
- along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
- and Blueprint http://www.blueprintcss.org/
- */
- /*--------------------------------------------------------------
- >>> TABLE OF CONTENTS:
- ----------------------------------------------------------------
- 0.1 Colour scheme
- 1.0 Reset
- 2.0 Typography
- 3.0 Elements
- 4.0 Forms
- 5.0 Overall site structure
- 5.1 Header
- 5.2 Footer
- 6.0 Navigation
- 6.1 Links
- 6.2 Menus
- 7.0 Content
- 7.1 Posts and pages
- 7.2 Asides
- 7.3 Comments
- 8.0 Widgets
- 9.0 Accessibility
- 10.0 Alignments
- 11.0 Clearings
- 12.0 Jetpack/WordPress.com
- 13.0 Media
- 13.1 Captions
- 13.2 Galleries
- --------------------------------------------------------------*/
- /*--------------------------------------------------------------
- 0.1 Colour scheme
- ----------------------------------------------------------------
- Dark red: #712012;
- Lighter red: #932817;
- Off-white: #faf9f5;
- Cream: #eae9e6;
- Light grey: #d9d6d0;
- Medium grey: #a09a92;
- Darker grey: #787065;
- Charcoal: #363431;
- Black-ish: #26231e;
- /*--------------------------------------------------------------
- 1.0 Reset
- --------------------------------------------------------------*/
- html,
- body,
- div,
- span,
- applet,
- object,
- iframe,
- h1,
- h2,
- h3,
- h4,
- h5,
- h6,
- p,
- blockquote,
- pre,
- a,
- abbr,
- acronym,
- address,
- big,
- cite,
- code,
- del,
- dfn,
- em,
- font,
- ins,
- kbd,
- q,
- s,
- samp,
- small,
- strike,
- strong,
- sub,
- sup,
- tt,
- var,
- dl,
- dt,
- dd,
- ol,
- ul,
- li,
- fieldset,
- form,
- label,
- legend,
- table,
- caption,
- tbody,
- tfoot,
- thead,
- tr,
- th,
- td {
- border: 0;
- font-family: inherit;
- font-size: 100%;
- font-style: inherit;
- font-weight: inherit;
- margin: 0;
- outline: 0;
- padding: 0;
- vertical-align: baseline;
- }
- html {
- box-sizing: border-box; /* Apply a natural box layout model to the document; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
- 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 */
- overflow-y: scroll; /* Keeps page centered in all browsers regardless of content height */
- -webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
- -ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
- }
- *,
- *:before,
- *:after {
- /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
- box-sizing: inherit;
- }
- body {
- background: #fff; /* Fallback for when there is no custom background color defined. */
- }
- article,
- aside,
- details,
- figcaption,
- figure,
- footer,
- header,
- main,
- nav,
- section {
- display: block;
- }
- ol,
- ul {
- list-style: none;
- }
- table {
- /* tables still need 'cellspacing="0"' in the markup */
- border-collapse: separate;
- border-spacing: 0;
- }
- caption,
- th,
- td {
- font-weight: normal;
- text-align: left;
- }
- blockquote:before,
- blockquote:after,
- q:before,
- q:after {
- content: "";
- }
- blockquote,
- q {
- quotes: "" "";
- }
- a:focus {
- outline: thin dotted;
- }
- a:hover,
- a:active {
- outline: 0;
- }
- a img {
- border: 0;
- }
- /*--------------------------------------------------------------
- 2.0 Typography
- --------------------------------------------------------------*/
- body,
- button,
- input,
- select,
- textarea {
- color: #363431;
- font-family: "Libre Baskerville", Baskerville, "Book Antiqua", Georgia, Times, serif;
- font-size: 17px;
- font-size: 1.7rem;
- line-height: 2;
- }
- h1,
- h2,
- h3,
- h4,
- h5,
- h6 {
- clear: both;
- line-height: 1.6;
- }
- h1 {
- color: #a09a92;
- font-family: "Playfair Display", Georgia, serif;
- font-size: 44px;
- font-size: 4.4rem;
- font-style: italic;
- margin: 1em 0 0.5em;
- }
- h2 {
- border-bottom: 1px solid #787065;
- color: #787065;
- font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
- font-size: 21px;
- font-size: 2.1rem;
- letter-spacing: 2px;
- margin: 4em 0 2em;
- padding-bottom: 0.5em;
- text-transform: uppercase;
- }
- h3 {
- color: #a09a92;
- font-size: 25px;
- font-size: 2.5rem;
- font-style: italic;
- margin: 2em 0 1em;
- }
- h4 {
- color: #787065;
- font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
- font-size: 16px;
- font-size: 1.6rem;
- letter-spacing: 1px;
- margin: 3em 0 1.5em;
- text-transform: uppercase;
- }
- h5 {
- color: #a09a92;
- font-size: 21px;
- font-size: 2.1rem;
- font-style: italic;
- margin: 1.5em 0 0.75em;
- }
- h6 {
- color: #787065;
- font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
- font-size: 14px;
- font-size: 1.4rem;
- letter-spacing: 1px;
- margin: 1.5em 0 0.75em;
- text-transform: uppercase;
- }
- p {
- margin-bottom: 1.5em;
- }
- b,
- strong {
- font-weight: bold;
- }
- dfn,
- cite,
- em,
- i {
- font-style: italic;
- }
- blockquote {
- color: #a09a92;
- font-family: "Playfair Display", Georgia, serif;
- font-size: 28px;
- font-size: 2.8rem;
- font-style: italic;
- line-height: 1.4;
- position: relative;
- z-index: 10000;
- }
- blockquote::before {
- color: #ebe7e1;
- content: "\201C";
- display: block;
- font-size: 208px;
- font-size: 20.8rem;
- font-style: normal;
- left: -35px;
- line-height: 1;
- position: absolute;
- top: -40px;
- z-index: -1;
- }
- blockquote cite {
- color: #787065;
- float: right;
- font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
- font-size: 16px;
- font-size: 1.6rem;
- font-style: normal;
- letter-spacing: 1px;
- margin-top: 1em;
- text-transform: uppercase;
- }
- blockquote cite::before {
- content: "\2013";
- display: inline;
- }
- blockquote.alignleft,
- blockquote.alignright {
- background: #fff;
- border-bottom: 1px solid #ebe7e1;
- border-top: 2px solid #a09a92;
- box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.025);
- font-size: 27px;
- font-size: 2.7rem;
- max-width: 75%;
- padding: 0.5em;
- }
- blockquote.alignleft p:last-of-type,
- blockquote.alignright p:last-of-type {
- margin-bottom: 0;
- }
- blockquote.alignleft::before,
- blockquote.alignright::before {
- display: none;
- }
- address {
- margin: 0 0 1.5em;
- }
- pre {
- background: #d9d6d0;
- font-family: "Droid Sans Mono", "Andale Mono", Consolas, "DejaVu Sans Mono", monospace;
- font-size: 16px;
- font-size: 1.6rem;
- line-height: 1.6;
- margin-bottom: 1.6em;
- max-width: 100%;
- padding: 1.6em;
- white-space: pre;
- white-space: pre-wrap;
- }
- code,
- kbd,
- tt,
- var {
- font-family: "Droid Sans Mono", "Andale Mono", Consolas, "DejaVu Sans Mono", monospace;
- font-size: 16px;
- font-size: 1.6rem;
- }
- abbr,
- acronym {
- border-bottom: 1px dotted #a09a92;
- cursor: help;
- }
- mark,
- ins {
- background: #faf9f5;
- text-decoration: none;
- }
- sup,
- sub {
- font-size: 75%;
- height: 0;
- line-height: 0;
- position: relative;
- vertical-align: baseline;
- }
- sup {
- bottom: 1ex;
- }
- sub {
- top: 0.5ex;
- }
- small {
- font-size: 75%;
- }
- big {
- font-size: 125%;
- }
- strong em,
- em strong,
- b i,
- i b,
- b em,
- em b,
- strong i,
- i strong,
- .wp-caption strong {
- background: rgba(234, 233, 230, 0.5);
- color: #787065;
- font-size: 0.8em;
- font-style: normal;
- font-weight: bold;
- letter-spacing: 1px;
- padding: 2px 0;
- text-transform: uppercase;
- }
- em code,
- strong code,
- i code,
- b code {
- font-style: normal;
- font-weight: normal;
- }
- /* Prettier select colours for insane people like me who select text constantly while reading */
- ::selection {
- background: #eae9e6;
- color: #787065;
- }
- ::-moz-selection {
- background: #eae9e6;
- color: #787065;
- }
- /*--------------------------------------------------------------
- 3.0 Elements
- --------------------------------------------------------------*/
- hr {
- background-color: #d9d6d0;
- border: 0;
- height: 1px;
- margin-bottom: 1.5em;
- }
- ul,
- ol {
- margin: 0 0 1.5em;
- }
- ul {
- list-style: disc outside;
- }
- ul ul {
- list-style: circle outside;
- }
- ol {
- list-style: decimal outside;
- }
- ol ol {
- list-style: lower-alpha outside;
- }
- li {
- line-height: 1.6;
- margin: 0.5em 0;
- }
- li > ul,
- li > ol {
- margin-bottom: 0;
- margin-left: 1em;
- }
- dt {
- font-weight: bold;
- }
- dd {
- margin: 0 1.5em 1.5em;
- }
- img {
- height: auto; /* Make sure images are scaled correctly. */
- max-width: 100%; /* Adhere to container width. */
- }
- figure {
- margin: 0;
- }
- table {
- font-size: 0.85em;
- line-height: 1.4;
- margin: 0.5em 0 1.5em;
- width: 100%;
- }
- tr:nth-of-type(odd) {
- background: rgba(255, 255, 255, 0.5);
- }
- th,
- td {
- border-bottom: 1px solid #d9d6d0;
- padding: 0.8em 1em;
- }
- th {
- font-style: italic;
- }
- thead:nth-of-type(odd) tr {
- background: none;
- }
- thead th {
- border-width: 2px;
- color: #a09a92;
- font-style: normal;
- font-weight: bold;
- padding: 0.4em 1em;
- }
- /*--------------------------------------------------------------
- 4.0 Forms
- --------------------------------------------------------------*/
- button,
- input,
- select,
- textarea {
- font-size: 100%; /* Corrects font size not being inherited in all browsers */
- margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
- vertical-align: baseline; /* Improves appearance and consistency in all browsers */
- }
- button,
- html input[type="button"],
- input[type="reset"],
- input[type="submit"] {
- cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
- -webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
- }
- input[type="checkbox"],
- input[type="radio"] {
- box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */
- padding: 0; /* Addresses excess padding in IE8/9 */
- }
- input[type="search"]::-webkit-search-decoration {
- /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
- -webkit-appearance: none;
- }
- input[type="search"]::-webkit-search-cancel-button,
- input[type="search"]::-webkit-search-decoration {
- -webkit-appearance: none;
- }
- button::-moz-focus-inner,
- input::-moz-focus-inner {
- border: 0;
- padding: 0;
- }
- button::-moz-focus-inner,
- 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/ */
- border: 0;
- padding: 0;
- }
- /* Inputs */
- input[type="text"],
- input[type="email"],
- input[type="password"],
- input[type="search"],
- input[type="url"],
- input[type="tel"],
- textarea {
- -moz-transition: all 0.15s ease-in-out;
- -ms-transition: all 0.15s ease-in-out;
- -o-transition: all 0.15s ease-in-out;
- -webkit-transition: all 0.15s ease-in-out;
- background: rgba(255, 255, 255, 0.75);
- border: 0;
- border-bottom: 2px solid #a09a92;
- color: #a09a92;
- font-size: 14px;
- font-size: 1.4rem;
- line-height: 1.6;
- padding: 1.2rem 1.4rem;
- width: 100%;
- }
- input[type="text"]:focus,
- input[type="email"]:focus,
- input[type="password"]:focus,
- input[type="search"]:focus,
- input[type="url"]:focus,
- textarea:focus {
- background: #fff;
- border: 1px solid #d9d6d0;
- box-shadow: 0 0 5px rgba(255, 255, 255, 1);
- color: #363431;
- outline: none;
- }
- textarea {
- overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
- vertical-align: top; /* Improves readability and alignment in all browsers */
- width: 100%;
- }
- /* Vendor prefixes for placeholder text */
- ::-webkit-input-placeholder {
- color: #d9d6d0;
- }
- ::-moz-placeholder {
- color: #d9d6d0;
- }
- :-ms-input-placeholder {
- color: #d9d6d0;
- }
- /* Submit buttons */
- .form-submit,
- .contact-submit,
- form p {
- margin: 1em 0;
- text-align: center;
- }
- input[type="submit"],
- button {
- background: #a09a92;
- border: 1px solid #eae9e6;
- color: #eae9e6;
- font-size: 12px;
- font-size: 1.2rem;
- letter-spacing: 1px;
- outline: 4px solid #a09a92;
- padding: 0.7rem 1.4rem;
- position: relative;
- text-transform: uppercase;
- }
- input[type="submit"]:hover,
- button:hover {
- background: #a09a92;
- color: #faf9f5;
- outline: 2px solid #a09a92;
- }
- input[type="submit"]:active,
- button:active {
- background: #363431;
- outline: 5px solid #363431;
- }
- /* Labels */
- label {
- color: #a09a92;
- font-size: 18px;
- font-size: 1.8rem;
- font-style: italic;
- text-align: left;
- }
- label span {
- font-size: 0.9em;
- padding-left: 2px;
- }
- /* Selected text */
- input::selection {
- background: #eae9e6;
- }
- input::-moz-selection {
- background: #eae9e6;
- }
- /*--------------------------------------------------------------
- 5.0 Overall Site Structure
- --------------------------------------------------------------*/
- body {
- background: #f2f1ed;
- }
- #content {
- margin: 4rem auto;
- max-width: 680px;
- padding: 0;
- width: auto;
- }
- /*--------------------------------------------------------------
- 5.1 Header
- --------------------------------------------------------------*/
- .nav-bar {
- background: #fAf9f5;
- border-bottom: 1px solid #d9d6d0;
- position: relative;
- width: 100%;
- }
- .nav-bar:after {
- clear: both;
- content: "";
- display: block;
- }
- .site-branding h1 {
- color: #a09a92;
- font-family: "Playfair Display";
- font-size: 36px;
- font-size: 3.6rem;
- font-style: normal;
- font-weight: 700;
- line-height: 1;
- margin: 0;
- }
- /* Style page title blocks */
- .title-block {
- text-align: center;
- }
- .title-block h1 {
- font-style: normal;
- line-height: 1.2;
- margin: 0;
- }
- .title-block h3,
- .title-block .entry-meta {
- margin: 0;
- }
- /* If header image is not present */
- body:not(.libretto-has-header-image) .title-block {
- margin: 2rem auto;
- max-width: 680px;
- }
- /* Style a bit differently if a header image is present */
- .libretto-has-header-image #masthead {
- background: #d9d6d0 url("images/grain.jpg") no-repeat;
- background-size: cover;
- line-height: 0;
- min-height: 200px;
- position: relative;
- text-align: center;
- width: 100%;
- }
- .libretto-has-header-image #masthead:after {
- background-image: linear-gradient(
- rgba(0, 0, 0, 0),
- rgba(0, 0, 0, 0.5)
- );
- content: "";
- display: block;
- height: 100%;
- left: 0;
- position: absolute;
- top: 0;
- width: 100%;
- }
- .libretto-has-header-image .title-block {
- border-bottom: none;
- bottom: 0;
- color: #faf9f5;
- left: 20%;
- position: absolute;
- text-shadow: 0 1px 0 #000;
- width: 60%;
- z-index: 1;
- }
- .libretto-has-header-image .title-block a,
- .libretto-has-header-image .title-block h1 a,
- .libretto-has-header-image .title-block .entry-meta a,
- .libretto-has-header-image .title-block h1,
- .libretto-has-header-image .title-block h3,
- .libretto-has-header-image .title-block .entry-meta {
- color: #faf9f5;
- }
- /* Don't show button for search form */
- #site-navigation .search-form input[type="submit"] {
- display: none;
- }
- #site-navigation .search-form label,
- #site-navigation .search-form .search-submit {
- clip: auto;
- color: #787065;
- display: inline-block;
- font-size: 18px;
- height: 25px;
- width: 25px;
- }
- #site-navigation .search-form label:before,
- #site-navigation .search-form .search-submit {
- content: "o";
- display: inline-block;
- font-family: libretto-icons;
- font-style: normal;
- }
- #site-navigation .search-form:not(.libretto-open) label {
- overflow: hidden;
- }
- #site-navigation .search-form label:hover {
- background-color: transparent;
- border-radius: 0;
- box-shadow: none;
- font-weight: normal;
- padding: 0;
- }
- /*--------------------------------------------------------------
- 5.2 Footer
- ---------------------------------------------------------------*/
- #colophon .site-info {
- color: #a09a92;
- font-size: 14px;
- font-size: 1.4rem;
- line-height: 1.6;
- }
- #colophon a {
- color: #787065;
- }
- .site-info a[rel="generator"] {
- display: block;
- }
- #social ul {
- list-style-type: none;
- margin-bottom: 0;
- }
- #social li {
- display: inline;
- }
- #social a:before {
- background: #d9d6d0;
- border-radius: 2px;
- color: #faf9f5;
- content: "y";
- display: inline-block;
- font-family: libretto-icons;
- font-size: 22px;
- height: 30px;
- line-height: 26px;
- padding: 2px;
- text-align: center;
- text-shadow: none;
- transition: background-color 0.75s ease;
- width: 30px;
- }
- #social a:hover:before {
- background-color: #787065;
- }
- #social a span {
- left: -99999px;
- position: absolute;
- top: -99999px;
- }
- /* Icons */
- #social a[href*="dribbble.com"]:before {
- content: "D";
- }
- #social a[href*="facebook.com"]:before {
- content: "F";
- }
- #social a[href*="flickr.com"]:before {
- content: "K";
- }
- #social a[href*="google.com"]:before {
- content: "G";
- }
- #social a[href*="instagram.com"]:before {
- content: "I";
- }
- #social a[href*="linkedin.com"]:before {
- content: "L";
- }
- #social a[href*="pinterest."]:before {
- content: "N";
- }
- #social a[href*="getpocket.com"]:before {
- content: "O";
- }
- #social a[href*="reddit.com"]:before {
- content: "E";
- }
- #social a[href*="stumbleupon.com"]:before {
- content: "S";
- }
- #social a[href*="tumblr.com"]:before {
- content: "U";
- }
- #social a[href*="twitter.com"]:before {
- content: "T";
- }
- #social a[href*="vimeo.com"]:before {
- content: "V";
- }
- #social a[href*="youtube.com"]:before {
- content: "Y";
- }
- /* Colours */
- #social a[href*="dribbble.com"]:hover:before {
- background: #ea4c89;
- }
- #social a[href*="facebook.com"]:hover:before {
- background: #3b5998;
- }
- #social a[href*="flickr.com"]:hover:before {
- background: #ff0084;
- }
- #social a[href*="google.com"]:hover:before {
- background: #dd4b39;
- }
- #social a[href*="instagram.com"]:hover:before {
- background: #517fa4;
- }
- #social a[href*="linkedin.com"]:hover:before {
- background: #007bb6;
- }
- #social a[href*="pinterest."]:hover:before {
- background: #cb2027;
- }
- #social a[href*="getpocket.com"]:hover:before {
- background: #ef4056;
- }
- #social a[href*="reddit.com"]:hover:before {
- background: #ff5700;
- }
- #social a[href*="stumbleupon.com"]:hover:before {
- background: #eb4924;
- }
- #social a[href*="tumblr.com"]:hover:before {
- background: #2c4762;
- }
- #social a[href*="twitter.com"]:hover:before {
- background: #00aced;
- }
- #social a[href*="vimeo.com"]:hover:before {
- background: #aad450;
- }
- #social a[href*="youtube.com"]:hover:before {
- background: #b00;
- }
- #social ul ul {
- display: none; /* Just in case someone tries nesting social menus. */
- }
- #wpstats {
- display: none; /* Hide smileyface! */
- }
- /*--------------------------------------------------------------
- 6.0 Navigation
- --------------------------------------------------------------*/
- /*--------------------------------------------------------------
- 6.1 Links
- --------------------------------------------------------------*/
- a {
- color: #932817;
- text-decoration: none;
- }
- a:visited {
- color: #943526;
- }
- a:hover,
- a:focus,
- a:active {
- color: #712012;
- }
- /*--------------------------------------------------------------
- 6.2 Menus
- --------------------------------------------------------------*/
- /* Main site navigation (most code is within media queries) */
- #site-navigation {
- border-top: none;
- }
- #site-navigation ul {
- list-style: none;
- margin: 0;
- padding: 0 5px 0 0;
- }
- #site-navigation .menu {
- position: relative;
- z-index: 2;
- }
- #site-navigation .menu li {
- margin: 0;
- }
- #site-navigation a {
- display: block;
- padding: 1.5rem 1.5rem;
- text-decoration: none;
- }
- /* Highlight current page (or section) */
- #site-navigation .current_page_item > a,
- #site-navigation .current_page_parent > a {
- color: #a09a92;
- }
- /* In-page or in-post navigation */
- [class*="navigation"] {
- line-height: 1.6;
- }
- [class*="navigation"] .previous {
- text-align: left;
- }
- [class*="navigation"] .next {
- text-align: right;
- }
- [class*="navigation"] .previous a,
- [class*="navigation"] .next a {
- color: #a09a92;
- display: block;
- font-style: italic;
- position: relative;
- }
- .previous .meta-nav,
- .next .meta-nav {
- color: #787065;
- display: block;
- font-family: Montserrat;
- font-size: 12px;
- font-size: 1.2rem;
- font-style: normal;
- letter-spacing: 1px;
- text-transform: uppercase;
- }
- .previous .meta-nav a,
- .next .meta-nav a {
- color: #787065;
- display: inline;
- font-style: normal;
- }
- .previous .meta-nav a:before,
- .next .meta-nav a:after,
- .previous a .meta-nav:before,
- .next a .meta-nav:after {
- border: solid transparent 4px;
- content: "";
- display: inline-block;
- height: 0;
- margin: 0 0.5rem;
- top: 0.8em;
- width: 0;
- }
- .previous .meta-nav a:before,
- .previous a .meta-nav:before {
- border-left: 0;
- border-right-color: #a09a92;
- }
- .next .meta-nav a:after,
- .next a .meta-nav:after {
- border-left-color: #a09a92;
- border-right: 0;
- }
- /*--------------------------------------------------------------
- 7.0 Content
- --------------------------------------------------------------*/
- /*--------------------------------------------------------------
- 7.1 Posts and pages
- --------------------------------------------------------------*/
- .byline {
- display: none;
- }
- .group-blog .byline {
- display: inline;
- }
- .entry-summary {
- margin: 1.5em 0 0;
- }
- .page-links {
- clear: both;
- margin: 0 0 1.5em;
- }
- .hentry {
- text-align: center; /* Centers the featured image if it's little */
- }
- /* Post format icons */
- .post .entry-header:before,
- .entry-footer:before,
- .single .title-block:before,
- .page .entry-header:before {
- background: #faf9f5;
- border: 1px solid #d9d6d0;
- border-radius: 50%;
- box-shadow: 0 0 0 4px #faf9f5;
- color: #a09a92;
- content: "p";
- display: inline-block;
- font-family: libretto-icons;
- font-size: 21px;
- line-height: 21px;
- margin: 1rem auto 2rem;
- padding: 10px;
- text-shadow: none;
- }
- /* Style longer-form posts, and pages, a bit differently */
- .libretto-long-form {
- background: #faf9f5;
- box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.05);
- }
- .libretto-long-form .entry-header::before {
- background: #eae9e6;
- border-color: #faf9f5;
- box-shadow: 0 0 0 4px #eae9e6;
- }
- /* Icons for different post types */
- .format-aside .entry-footer:before,
- .single-format-aside .title-block:before {
- content: "a";
- }
- .format-audio .entry-header:before,
- .single-format-audio .title-block:before {
- content: "u";
- }
- .format-chat .entry-header:before,
- .single-format-chat .title-block:before {
- content: "c";
- }
- .format-gallery .entry-header:before,
- .single-format-gallery .title-block:before {
- content: "g";
- }
- .format-image .entry-header:before,
- .single-format-image .title-block:before,
- .single-attachment .title-block:before {
- content: "i";
- }
- .format-link .entry-footer:before,
- .single-format-link .title-block:before {
- content: "l";
- }
- .format-quote .entry-footer:before,
- .single-format-quote .title-block:before {
- content: "q";
- }
- .format-status .entry-footer:before,
- .single-format-status .title-block:before {
- content: "s";
- }
- .format-video .entry-header:before,
- .single-format-video .title-block:before {
- content: "v";
- }
- .sticky .entry-header::before {
- content: "y";
- }
- .page .entry-header:before {
- content: "e";
- }
- .page .title-block {
- padding-top: 2em;
- }
- .post-password-required .entry-header:before,
- .status-private .entry-header:before {
- content: "w";
- }
- /* Entry headers */
- .entry-header,
- .title-block {
- border-bottom: 1px solid #d9d6d0;
- margin-bottom: 4rem;
- padding-bottom: 2rem;
- text-align: center;
- word-wrap: break-word;
- }
- .has-post-thumbnail .entry-header {
- border-bottom: 0; /* Featured images act as a line between the header and post content */
- }
- .entry-meta {
- color: #a09a92;
- font-style: italic;
- line-height: 1.4;
- }
- .entry-meta a {
- color: #787065;
- }
- time + time {
- display: none; /* We don't need two times showing */
- }
- .entry-header .entry-meta:before,
- .entry-header .entry-meta:after,
- .title-block .entry-meta:before,
- .title-block .entry-meta:after {
- color: #d9d6d0;
- content: "~";
- display: inline-block;
- font-family: libretto-icons;
- font-size: 24px;
- margin: 0 0.25rem;
- text-shadow: none;
- vertical-align: -6px;
- }
- .entry-header .entry-meta:after,
- .title-block .entry-meta:after {
- content: "`";
- margin-left: -4px;
- }
- .entry-title,
- .entry-title a {
- border: none;
- color: #787065;
- font-family: "Playfair Display";
- font-size: 44px;
- font-size: 4.4rem;
- font-style: normal;
- letter-spacing: 0;
- line-height: 1.2;
- margin: 0;
- padding: 0;
- text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
- text-transform: none;
- }
- .entry-title img {
- vertical-align: middle;
- }
- /* Featured image */
- .featured-image {
- margin: -4rem auto 2rem;
- }
- /* Entry content */
- article + article {
- margin-top: 8rem;
- }
- .entry-content {
- text-align: left;
- word-wrap: break-word;
- }
- /* Drop cap and first line */
- .format-standard:not(.post-password-required) .entry-content > p:not(.no-emphasis):first-of-type:first-letter,
- .page:not(.post-password-required) .entry-content > p:not(.no-emphasis):first-of-type:first-letter,
- .emphasis:first-letter {
- color: #b7b1a9;
- display: inline-block;
- float: left;
- font-family: "Playfair Display";
- font-size: 70px;
- font-style: normal;
- font-weight: 700;
- line-height: 40px;
- margin: 6px 10px 0 -5px;
- }
- .format-standard:not(.post-password-required) .entry-content > p:not(.no-emphasis):first-of-type:first-line,
- .page:not(.post-password-required) .entry-content > p:not(.no-emphasis):first-of-type:first-line,
- .emphasis:first-line {
- color: #787065;
- font-family: "Playfair Display SC";
- font-size: 1em;
- font-style: normal !important; /* Cheat to preserve visual sanity */
- font-weight: bold;
- letter-spacing: 2px;
- }
- .format-standard:not(.post-password-required) .entry-content > p:not(.no-emphasis):first-of-type::after,
- .page:not(.post-password-required) .entry-content > p:not(.no-emphasis):first-of-type::after,
- .emphasis::after {
- clear: both;
- content: "";
- display: block;
- }
- /*
- Browser hack that targets Safari only, to prevent first line from disappearing.
- See: https://stackoverflow.com/questions/16348489/is-there-a-css-hack-for-safari-only-not-chrome
- */
- @media not all and (min-resolution:.001dpcm) { @media {
- .format-standard:not(.post-password-required) .entry-content > p:not(.no-emphasis):first-of-type::after,
- .page:not(.post-password-required) .entry-content > p:not(.no-emphasis):first-of-type::after,
- .emphasis::after {
- display: inline-block;
- }
- }}
- .format-standard:not(.post-password-required) .entry-content > p:not(.no-emphasis):first-of-type + p,
- .page:not(.post-password-required) .entry-content > p:not(.no-emphasis):first-of-type + p,
- .emphasis + p {
- clear: left;
- }
- /* "Read more" link */
- .more-link,
- .more-link:visited {
- color: #a09a92;
- display: inline-block;
- font-family: "Playfair Display";
- font-size: 21px;
- font-size: 2.1rem;
- font-style: italic;
- line-height: 1.4;
- text-align: center;
- text-transform: lowercase;
- width: 100%;
- }
- .more-link:before,
- .more-link:after {
- display: inline;
- font-size: 1.5em;
- font-style: normal;
- padding: 0 10px;
- vertical-align: -0.15em;
- }
- .more-link:before {
- content: "{";
- }
- .more-link:after {
- content: "}";
- }
- .more-link:hover {
- color: #712012;
- }
- /* Post formats */
- .format-aside .entry-content {
- color: #787065;
- font-size: 21px;
- font-size: 2.1rem;
- font-style: italic;
- position: relative;
- }
- .format-status {
- font-size: 2rem;
- }
- .format-link .entry-content {
- font-size: 21px;
- font-size: 2.1rem;
- text-align: center;
- }
- /* Password-protected posts */
- .post-password-form p {
- color: #a09a92;
- font-size: 18px;
- font-size: 1.8rem;
- font-style: italic;
- text-align: center;
- }
- .post-password-form label {
- color: #a09a92;
- font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
- font-size: 12px;
- font-size: 1.2rem;
- font-style: normal;
- letter-spacing: 1px;
- text-align: center;
- text-transform: uppercase;
- }
- .post-password-form input[type="password"] {
- margin-top: 0;
- }
- /* Post pagination */
- .page-links {
- color: #a09a92;
- font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
- font-size: 12px;
- font-size: 1.2rem;
- letter-spacing: 1px;
- text-align: center;
- text-transform: uppercase;
- }
- .page-links span {
- background: #faf9f5;
- color: #a09a92;
- display: inline-block;
- line-height: 1;
- }
- .page-links a span {
- background: #eae9e6;
- color: #787065;
- padding: 5px;
- }
- /* Abbreviated entry footers (only used for quote, aside, link, and status posts) */
- .entry-footer {
- border-top: 2px solid #d9d6d0;
- font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
- font-size: 14px;
- font-size: 1.4rem;
- font-weight: normal;
- letter-spacing: 1px;
- margin-top: 2em;
- padding-left: 60px;
- position: relative;
- text-align: left;
- text-transform: uppercase;
- }
- .entry-footer:before {
- left: 0;
- position: absolute;
- text-transform: none;
- top: -30px;
- }
- .entry-footer .edit-link {
- float: right;
- }
- /* Entry footers (on single entry pages) */
- footer.entry-meta {
- margin: 1.75rem 0;
- text-align: center;
- }
- footer.entry-meta a {
- color: #787065;
- }
- footer.entry-meta .edit-link::before,
- .cat-links + .tags-links::before,
- .comment-meta .edit-link::before {
- color: #d9d6d0;
- content: " · ";
- }
- /*--------------------------------------------------------------
- 7.2 Asides
- --------------------------------------------------------------*/
- /*--------------------------------------------------------------
- 7.3 Comments
- --------------------------------------------------------------*/
- #respond {
- font-family: "Libre Baskerville", Baskerville, "Book Antiqua", Georgia, Times, serif !important; /* Force correct fonts */
- }
- #comments {
- clear: both;
- padding-top: 4em;
- }
- .comment-content a {
- word-wrap: break-word;
- }
- .comment-list,
- .comment-list ol {
- clear: both;
- list-style: none;
- margin: 1.5em 0 0;
- }
- .comments-title {
- margin-bottom: 0;
- }
- /* Top navigation */
- #comment-nav-above {
- border-top: none;
- margin-top: 0;
- }
- /* Comment header */
- .comment-author {
- line-height: 1;
- }
- .avatar {
- border-radius: 50%;
- float: left;
- margin: -1rem 1rem 1rem 0;
- }
- .comment-list .fn,
- .comment-list .comment-metadata {
- font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
- font-size: 14px;
- font-size: 1.4rem;
- font-weight: normal;
- letter-spacing: 1px;
- text-transform: uppercase;
- }
- .fn a {
- color: #363431;
- }
- .says {
- color: #a09a92;
- font-style: italic;
- }
- .comment-metadata a {
- color: #787065;
- }
- .comment-metadata {
- border-bottom: 1px solid #d9d6d0;
- line-height: 1;
- margin-left: 74px;
- padding: 0.75rem 0 1rem;
- }
- .comment-body {
- background: rgba(255, 255, 255, 0.5);
- padding: 2rem 1rem 1rem;
- }
- /* Comment content */
- .comment-content {
- clear: both;
- color: #363431;
- font-size: 0.9em;
- margin: 0;
- }
- .comment + .comment,
- .pingback + .comment {
- margin-top: 1rem;
- }
- .comment-content > p:last-of-type {
- margin-bottom: 0;
- }
- /* Comment reply link */
- .reply {
- line-height: 1;
- margin: 0;
- }
- .comment-reply-link {
- font-size: 14px;
- font-size: 1.4rem;
- font-style: italic;
- }
- .comment-reply-link:before {
- content: "r";
- display: inline;
- font-family: libretto-icons;
- font-size: 18px;
- font-size: 1.8rem;
- font-style: normal;
- margin-right: 1px;
- vertical-align: bottom;
- }
- /* Child comments */
- .comment-list .children {
- border-left: 4px solid #d9d6d0;
- margin: 2rem 0;
- padding: 0;
- }
- .comment-list .children .children,
- .comment-list .children .children .children .children,
- .comment-list .children .children .children .children .children .children,
- .comment-list .children .children .children .children .children .children .children .children {
- border-color: #a09a92;
- margin-left: 1rem;
- }
- .comment-list .children .children .children,
- .comment-list .children .children .children .children .children,
- .comment-list .children .children .children .children .children .children .children,
- .comment-list .children .children .children .children .children .children .children .children .children {
- border-color: #d9d6d0;
- margin-left: 1
- }
- /* Author comments */
- .bypostauthor {
- background: #d9d6d0;
- padding: 2rem 1rem 1rem;
- }
- .bypostauthor .avatar {
- border: 3px solid #faf9f5;
- }
- /* Pingbacks */
- .pingback {
- color: #a09a92;
- font-size: 0.85em;
- font-style: italic;
- line-height: 1.4;
- margin: 2rem 0;
- }
- .pingback a {
- color: #787065;
- }
- /* Comment form */
- .comment-reply-title,
- .no-comments {
- text-align: center;
- }
- label[for="comment"] {
- margin-bottom: 0;
- }
- .form-allowed-tags {
- line-height: 1.4;
- }
- .form-allowed-tags,
- .form-allowed-tags code {
- font-size: 0.8em;
- }
- /*--------------------------------------------------------------
- 8.0 Widgets
- --------------------------------------------------------------*/
- #footer-sidebar {
- background: #faf9f5;
- box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
- margin: 0 0 2rem 0;
- width: 100%;
- }
- #footer-sidebar .widget-block {
- font-size: 12px;
- font-size: 1.2rem;
- padding: 2rem 3rem;
- }
- .error404 .widget {
- font-size: 14px;
- font-size: 1.4rem;
- }
- .error404 .widgettitle {
- font-size: 16px;
- font-size: 1.6rem;
- }
- .widget {
- margin: 0 0 1.5em;
- overflow-x: hidden;
- }
- .widget-title {
- border-bottom: 1px solid #d9d6d0;
- font-size: 14px;
- font-size: 1.4rem;
- letter-spacing: 2px;
- margin-bottom: 1.5rem;
- padding-bottom: 1rem;
- text-align: center;
- }
- /* Make sure select elements fit in widgets */
- .widget select {
- max-width: 100%;
- width: 100%;
- }
- /* Search widget */
- .widget_search {
- text-align: center;
- }
- .widget_search .search-form label {
- width: 100%;
- }
- .widget_search input[type="search"] {
- background: #fff;
- width: 100%;
- }
- .widget_search .search-submit {
- display: block;
- margin: 10px auto;
- padding-top: 1rem;
- text-align: center;
- }
- /* Calendar widget */
- #wp-calendar caption {
- font-size: 12px;
- font-size: 1.2rem;
- font-style: italic;
- margin-bottom: 1rem;
- text-align: center;
- }
- #footer-sidebar .widget-block:nth-child(1):nth-last-child(4) #wp-calendar td,
- #footer-sidebar .widget-block:nth-child(2):nth-last-child(3) #wp-calendar td,
- #footer-sidebar .widget-block:nth-child(3):nth-last-child(2) #wp-calendar td,
- #footer-sidebar .widget-block:nth-child(4):nth-last-child(1) #wp-calendar td {
- padding: 0.5em 0.75em;
- }
- #wp-calendar td a {
- font-weight: bold;
- }
- /* Tag cloud */
- .tagcloud {
- line-height: 1.2;
- }
- #wp-calendar #next {
- text-align: right;
- }
- /* Text widget */
- .textwidget {
- color: #a09a92;
- font-size: 1.4em;
- font-style: italic;
- }
- /* Avatars in widgets shouldn't have a negative margin */
- .widget .avatar {
- margin: 0;
- }
- /*--------------------------------------------------------------
- 9.0 Accessibility
- --------------------------------------------------------------*/
- /* Text meant only for screen readers */
- .screen-reader-text {
- clip: rect(1px, 1px, 1px, 1px);
- height: 1px;
- overflow: hidden;
- position: absolute !important;
- width: 1px;
- }
- .screen-reader-text:focus {
- background-color: #f1f1f1;
- border-radius: 3px;
- box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
- clip: auto !important;
- color: #21759b;
- display: block;
- font-size: 14px;
- font-size: 1.4rem;
- font-weight: bold;
- height: auto;
- left: 5px;
- line-height: normal;
- padding: 15px 23px 14px;
- text-decoration: none;
- top: 5px;
- width: auto;
- z-index: 100000; /* Above WP toolbar */
- }
- /*--------------------------------------------------------------
- 10.0 Alignments
- --------------------------------------------------------------*/
- .alignleft {
- display: inline;
- float: left;
- margin: 0 1.5em 0.5em 0;
- }
- .alignright {
- display: inline;
- float: right;
- margin: 0 0 0.5em 1.5em;
- }
- .aligncenter {
- clear: both;
- display: block;
- margin: 0 auto;
- }
- /*--------------------------------------------------------------
- 11.0 Clearings
- --------------------------------------------------------------*/
- .clear:before,
- .clear:after,
- .entry-content:before,
- .entry-content:after,
- .comment-content:before,
- .comment-content:after,
- .site-header:before,
- .site-header:after,
- .site-content:before,
- .site-content:after,
- .site-footer:before,
- .site-footer:after {
- content: "";
- display: table;
- }
- .clear:after,
- .entry-content:after,
- .comment-content:after,
- .site-header:after,
- .site-content:after,
- .site-footer:after {
- clear: both;
- }
- /*--------------------------------------------------------------
- 12.0 Jetpack and WordPress.com
- --------------------------------------------------------------*/
- /* Hide navigation and footer when Infinite Scrolling is active (.infinite-scroll) and scrolling (.neverending), respectively */
- .infinite-scroll .navigation-paging,
- .infinite-scroll.neverending .site-footer {
- display: none;
- }
- /* Re-display the footer once we've reached the end */
- .infinity-end.neverending .site-footer {
- display: block;
- }
- /* Make sure posts are well-spaced */
- .infinite-wrap {
- margin-top: 10em;
- }
- /* And style the loading graphic */
- .infinite-loader {
- margin: 2em 46%;
- }
- /* Click-to-scroll */
- #infinite-handle {
- text-align: center;
- }
- #infinite-handle span {
- background: #faf9f5;
- border: 1px solid #d9d6d0;
- color: #787065;
- display: inline-block;
- font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
- font-size: 12px;
- font-size: 1.2rem;
- font-weight: normal;
- letter-spacing: 1px;
- margin: 4rem auto;
- outline: 4px solid #faf9f5;
- padding: 7px 25px;
- text-transform: uppercase;
- }
- #infinite-handle span:hover {
- background: #eae9e6;
- border-color: #932817;
- color: #932817;
- cursor: pointer;
- }
- #infinite-handle span button {
- outline: 0;
- }
- /* Minimal adjustments to sharing module */
- .sharedaddy .sd-title {
- font-style: normal;
- }
- /* Slideshows */
- .entry-content .slideshow-window {
- background-color: #fff;
- border: 10px solid #fff;
- border-radius: 0;
- box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.05);
- }
- /* Contact Forms */
- .site-content .contact-form input[type="radio"],
- .site-content .contact-form input[type="checkbox"] {
- margin-bottom: 6px;
- margin-right: .3em;
- vertical-align: middle;
- }
- .site-content .contact-form label.checkbox,
- .site-content .contact-form label.checkbox-multiple,
- .site-content .contact-form label.radio {
- font-weight: normal;
- font-style: normal;
- margin-bottom: .4375em;
- float: none;
- }
- .site-content .contact-form label.checkbox,
- .site-content .contact-form > div {
- margin-bottom: .875em;
- }
- .site-content .contact-form textarea,
- .site-content .contact-form input[type='text'],
- .site-content .contact-form input[type='email'],
- .site-content .contact-form input[type='url'] {
- margin-bottom: .4375em;
- max-width: 100%;
- }
- .site-content .contact-form .grunion-field-checkbox-wrap {
- clear: both;
- }
- .site-content .contact-form .grunion-field-label {
- margin-bottom: .21875em;
- width: 100%;
- }
- .site-content .contact-form select {
- margin: 0.4375em 0;
- }
- .site-content .contact-form .grunion-field-label.textarea {
- width: 100%;
- }
- /*--------------------------------------------------------------
- 13.0 Media
- --------------------------------------------------------------*/
- /* Naturalize smiley-faces */
- .page-content img.wp-smiley,
- .entry-content img.wp-smiley,
- .comment-content img.wp-smiley {
- border: none;
- margin-bottom: 0;
- margin-top: 0;
- padding: 0;
- }
- /* Make sure embeds and iframes fit their containers */
- embed,
- iframe,
- object {
- max-width: 100%;
- }
- .attachment {
- margin-bottom: 1em;
- }
- /* remove borders from audio player buttons */
- .mejs-controls button {
- border: none;
- outline: transparent;
- }
- /*--------------------------------------------------------------
- 13.1 Captions
- --------------------------------------------------------------*/
- .wp-caption {
- background: #fff;
- box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.025);
- margin-bottom: 1em;
- max-width: 100%;
- padding: 0.5em;
- }
- .wp-caption img[class*="wp-image-"] {
- display: block;
- margin: 0 auto;
- }
- .wp-caption-text {
- color: #a09a92;
- font-size: 16px;
- font-size: 1.6rem;
- font-style: italic;
- line-height: 1.2;
- margin: 1em 0.5em 0.5em;
- text-align: center;
- }
- /*--------------------------------------------------------------
- 13.2 Galleries
- --------------------------------------------------------------*/
- .gallery {
- background: #faf9f5;
- margin-bottom: 0.5em;
- padding: 1rem 0 0 1rem;
- padding: 0.5rem;
- }
- .gallery:after {
- clear: both;
- content: "";
- display: block;
- }
- .gallery-item {
- float: left;
- margin: 0.5rem;
- overflow: hidden;
- position: relative;
- }
- .gallery-icon {
- line-height: 0;
- }
- .gallery a {
- border: none;
- }
- .gallery-columns-1 {
- padding-left: 2rem;
- padding-right: 2rem;
- text-align: center;
- }
- .gallery-columns-1 .gallery-item {
- float: none;
- margin: 2rem auto;
- max-width: 100%;
- }
- .gallery-columns-2 .gallery-item {
- max-width: 48%;
- max-width: calc(50% - 1rem);
- }
- .gallery-columns-3 .gallery-item {
- max-width: 32%;
- max-width: calc(33.3% - 1rem);
- }
- .gallery-columns-4 .gallery-item {
- max-width: 23%;
- max-width: calc(25% - 1rem);
- }
- .gallery-columns-5 .gallery-item {
- max-width: 19%;
- max-width: calc(20% - 1rem);
- }
- .gallery-columns-6 .gallery-item {
- max-width: 15%;
- max-width: calc(16.7% - 1rem);
- }
- .gallery-columns-7 .gallery-item {
- max-width: 13%;
- max-width: calc(14.28% - 1rem);
- }
- .gallery-columns-8 .gallery-item {
- max-width: 11%;
- max-width: calc(12.5% - 1rem);
- }
- .gallery-columns-9 .gallery-item {
- max-width: 9%;
- max-width: calc(11.1% - 1rem);
- }
- .gallery-columns-1 .gallery-item:nth-of-type(1n),
- .gallery-columns-2 .gallery-item:nth-of-type(2n),
- .gallery-columns-3 .gallery-item:nth-of-type(3n),
- .gallery-columns-4 .gallery-item:nth-of-type(4n),
- .gallery-columns-5 .gallery-item:nth-of-type(5n),
- .gallery-columns-6 .gallery-item:nth-of-type(6n),
- .gallery-columns-7 .gallery-item:nth-of-type(7n),
- .gallery-columns-8 .gallery-item:nth-of-type(8n),
- .gallery-columns-9 .gallery-item:nth-of-type(9n) {
- margin-right: 0;
- }
- .gallery-columns-1 figure.gallery-item:nth-of-type(1n+1),
- .gallery-columns-2 figure.gallery-item:nth-of-type(2n+1),
- .gallery-columns-3 figure.gallery-item:nth-of-type(3n+1),
- .gallery-columns-4 figure.gallery-item:nth-of-type(4n+1),
- .gallery-columns-5 figure.gallery-item:nth-of-type(5n+1),
- .gallery-columns-6 figure.gallery-item:nth-of-type(6n+1),
- .gallery-columns-7 figure.gallery-item:nth-of-type(7n+1),
- .gallery-columns-8 figure.gallery-item:nth-of-type(8n+1),
- .gallery-columns-9 figure.gallery-item:nth-of-type(9n+1) {
- clear: left;
- }
- .gallery-caption {
- background-color: rgba(255, 255, 255, 0.8);
- border: 1px solid #a09a92;
- bottom: 10%;
- color: #787065;
- font-size: 12px;
- font-size: 1.2rem;
- left: 10%;
- line-height: 1.5;
- margin: 0 auto;
- max-height: 50%;
- opacity: 0;
- outline: 7px solid rgba(255, 255, 255, 0.8);
- overflow: hidden;
- padding: 1rem;
- position: absolute;
- text-align: center;
- transition: opacity 0.25s ease-in-out;
- width: 80%;
- }
- .gallery-columns-5 .gallery-caption,
- .gallery-columns-6 .gallery-caption {
- outline: 3px solid rgba(255, 255, 255, 0.8);
- padding: 0.5rem;
- }
- .gallery-columns-7 .gallery-caption,
- .gallery-columns-8 .gallery-caption,
- .gallery-columns-9 .gallery-caption {
- display: none;
- }
- .gallery-item:hover .gallery-caption {
- opacity: 1;
- }
- .gallery-columns-1.gallery-size-thumbnail,
- .gallery-columns-1.gallery-size-medium,
- .gallery-columns-1.gallery-size-large,
- .gallery-columns-2.gallery-size-thumbnail,
- .gallery-columns-2.gallery-size-medium,
- .gallery-columns-3.gallery-size-thumbnail,
- .gallery-columns-4.gallery-size-thumbnail,
- .gallery-columns-5.gallery-size-thumbnail {
- margin: 0 auto;
- max-width: fit-content;
- max-width: -moz-fit-content;
- max-width: -webkit-fit-content;
- }
- /*--------------------------------------------------------------
- * 14 Media Queries
- --------------------------------------------------------------*/
- /* Phone-sized devices */
- @media only screen and (max-width: 640px) {
- /* Tweak font sizes and margins */
- body {
- font-size: 16px;
- font-size: 1.6rem;
- }
- #content {
- font-size: 16px;
- font-size: 1.6rem;
- margin: 0;
- max-width: none;
- min-width: 320px;
- padding: 0 10px;
- }
- blockquote {
- font-size: 24px;
- font-size: 2.4rem;
- }
- ul,
- ol {
- margin-left: 1em;
- }
- .libretto-blog-home #masthead {
- display: none; /* Hide title on blog index page to keep things simple */
- }
- .title-block {
- margin-bottom: 2rem;
- }
- .title-block {
- padding-left: 0.5rem;
- padding-right: 0.5rem;
- }
- .title-block .site-logo-link {
- display: none;
- }
- .entry-header {
- margin-bottom: 4rem;
- }
- article + article {
- margin-top: 4rem;
- }
- .more-link {
- font-size: 16px;
- font-size: 1.6rem;
- }
- /* Header and nav should be simplified */
- #masthead {
- margin: 0 0 2rem 0;
- overflow: hidden;
- padding: 0;
- }
- .site-branding {
- display: none;
- }
- .site-description {
- display: none;
- }
- .libretto-has-header-image .title-block {
- left: 10px;
- width: calc(100% - 20px);
- }
- .single .title-block:before {
- display: none;
- }
- .entry-meta,
- .title-block .entry-meta {
- font-size: 14px;
- font-size: 1.4rem;
- }
- /* Hide edit link on archive pages so meta doesn't run to two lines */
- .group-blog:not(.single) .entry-header .byline,
- .entry-header .sep,
- .entry-header .edit-link {
- display: none;
- }
- .title-block h3 {
- font-size: 18px;
- font-size: 1.8rem;
- }
- .title-block h1,
- .entry-title,
- .entry-title a {
- font-size: 28px;
- font-size: 2.8rem;
- }
- /* Use a condensed mobile menu */
- #site-navigation {
- background: #26231e;
- width: 100%;
- }
- #site-navigation a {
- color: #cacabc;
- }
- .menu-toggle {
- background: #363431;
- border-bottom: 2px solid #787065;
- box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
- color: #eae9e6;
- cursor: pointer;
- display: block;
- font-size: 21px;
- font-size: 2.1rem;
- line-height: 1.4;
- margin: 0;
- min-height: 5rem;
- padding: 1.5rem 1.5rem;
- position: relative;
- z-index: 50;
- }
- /* Create the menu icon via CSS and animate */
- #menu-icon {
- background: none;
- border: none;
- cursor: pointer;
- height: 25px;
- min-width: auto;
- outline: none;
- padding: none;
- position: absolute;
- right: 20px;
- top: 20px;
- -moz-transform: rotate(0deg);
- -o-transform: rotate(0deg);
- -webkit-transform: rotate(0deg);
- transform: rotate(0deg);
- -moz-transition: 0.5s ease-in-out;
- -o-transition: 0.5s ease-in-out;
- -webkit-transition: 0.5s ease-in-out;
- transition: 0.5s ease-in-out;
- width: 25px;
- }
- #menu-icon span {
- -moz-transform: rotate(0deg);
- -moz-transition: 0.25s ease-in-out;
- -o-transform: rotate(0deg);
- -o-transition: 0.25s ease-in-out;
- -webkit-transform: rotate(0deg);
- -webkit-transition: 0.25s ease-in-out;
- background: #eae9e6;
- display: block;
- height: 3px;
- left: 0;
- opacity: 1;
- position: absolute;
- transform: rotate(0deg);
- transition: 0.25s ease-in-out;
- width: 100%;
- }
- #menu-icon span:nth-child(1) {
- -moz-transform-origin: left center;
- -o-transform-origin: left center;
- -webkit-transform-origin: left center;
- top: 3px;
- transform-origin: left center;
- }
- #menu-icon span:nth-child(2) {
- -moz-transform-origin: left center;
- -o-transform-origin: left center;
- -webkit-transform-origin: left center;
- top: 8px;
- transform-origin: left center;
- }
- #menu-icon span:nth-child(3) {
- -moz-transform-origin: left center;
- -o-transform-origin: left center;
- -webkit-transform-origin: left center;
- top: 13px;
- transform-origin: left center;
- }
- #menu-icon.open span:nth-child(1) {
- -moz-transform: rotate(45deg);
- -o-transform: rotate(45deg);
- -webkit-transform: rotate(45deg);
- left: 0;
- top: 0;
- transform: rotate(45deg);
- }
- #menu-icon.open span:nth-child(2) {
- opacity: 0;
- width: 0;
- }
- #menu-icon.open span:nth-child(3) {
- -moz-transform: rotate(-45deg);
- -o-transform: rotate(-45deg);
- -webkit-transform: rotate(-45deg);
- left: 0;
- top: 20px;
- transform: rotate(-45deg);
- }
- /* Animate opening menu and sub-menus with CSS transitions */
- #site-navigation .menu-wrapper,
- #site-navigation .sub-menu {
- -moz-transition: max-height 0.5s;
- -ms-transition: max-height 0.5s;
- -o-transition: max-height 0.5s;
- -webkit-transition: max-height 0.5s;
- max-height: 0;
- overflow: hidden;
- transition: max-height 0.5s;
- }
- #site-navigation .menu-wrapper.menu-visible,
- #site-navigation .sub-menu.menu-visible {
- max-height: 1200px;
- transition: max-height 500ms ease-in;
- }
- /* Hide search bar */
- #site-navigation .search-form {
- display: none;
- }
- /* Style menu items a bit differently */
- #site-navigation .menu li {
- border-top: 1px solid #787065;
- display: block;
- text-align: left;
- }
- #site-navigation .sub-menu li {
- background: #363431;
- text-indent: 2rem;
- }
- /* Sub-menus */
- #site-navigation .menu-item-has-children > a::after {
- border-top: 6px solid #cacabc;
- border-left: 6px solid transparent;
- border-right: 6px solid transparent;
- content: '';
- display: inline-block;
- float: right;
- margin-top: 10px;
- text-indent: 0;
- }
- /* Long-form posts should be full-width, plus padding */
- .libretto-long-form {
- margin-left: -10px;
- padding: 10px;
- width: calc(100% + 20px);
- }
- /* In-page navigation should be pretty simple */
- .navigation-post .previous,
- .navigation-post .next,
- .navigation-image .previous,
- .navigation-image .next {
- padding: 1rem 0;
- text-align: center;
- width: 100%;
- }
- .navigation-post .previous,
- .navigation-image .previous {
- border-bottom: 1px solid #d9d6d0;
- }
- .navigation-post .previous,
- .navigation-post .next,
- .navigation-image .previous,
- .navigation-image .next {
- text-align: center;
- }
- .navigation-paging .page-number {
- display: none;
- }
- .navigation-paging .previous,
- .navigation-paging .next {
- float: left;
- width: 50%;
- }
- /* Comments shouldn't be nested quite so enthusiastically */
- .comment-content {
- margin: 1rem 0.5rem;
- }
- .comment-list .children {
- border-left: 0;
- border-top: 4px solid #d9d6d0;
- margin: 2rem 0;
- padding: 2rem 0 0;
- }
- /* Make sure footer widgets span full width */
- #footer-sidebar .widget-block {
- width: 100%;
- }
- /* Footer is arranged in a stack */
- #colophon .site-info,
- #social {
- padding: 0.75rem 0.5rem;
- text-align: center;
- width: 100%;
- }
- /* Center-align form elements */
- form {
- margin-bottom: 1em;
- text-align: center;
- }
- .grunion-field-checkbox-multiple-wrap .grunion-field-label,
- .grunion-field-radio-wrap .grunion-field-label {
- display: block;
- text-align: center;
- }
- input {
- margin-top: 10px;
- }
- /* All blockquotes should be full-width */
- blockquote.alignleft,
- blockquote.alignright {
- max-width: 100%;
- width: 100%;
- }
- }
- /* Tablets and up */
- @media only screen and (min-width: 641px) {
- /* Hide site title in header on blog homepage, since the title will appear below */
- .libretto-blog-home .site-branding {
- display: none;
- }
- .libretto-blog-home .nav-bar {
- min-height: 3.2em;
- }
- /* Header has more space, so let's use it */
- .libretto-has-header-image #masthead {
- -moz-box-shadow: inset 0 -10px 10px -10px #ededeb;
- -webkit-box-shadow: inset 0 -10px 10px -10px #ededeb;
- border-bottom: 1px solid #f8f8f7;
- box-shadow: inset 0 -10px 10px -10px #ededeb;
- margin-bottom: 6em;
- }
- :not(.libretto-has-header-image) .title-block {
- margin: 10rem auto 4rem;
- }
- .title-block .site-logo-link {
- display: block;
- margin-bottom: 1.5rem;
- }
- .site-branding {
- float: left;
- margin: 0.75rem 1rem 1rem 1.5rem;
- }
- /* Main menu is styled differently from mobile */
- .menu-toggle {
- display: none;
- }
- #site-navigation {
- display: block;
- float: right;
- font-size: 16px;
- font-size: 1.6rem;
- margin: 0.75rem 2rem 0.5rem 1rem;
- padding-right: 4rem; /* To give the search bar a bit of space */
- position: relative;
- }
- #site-navigation:before,
- #site-navigation:after {
- content: "";
- display: table;
- }
- #site-navigation .menu > li {
- display: inline-block;
- line-height: 1;
- margin: 0.25rem 0;
- position: relative;
- }
- #site-navigation li a {
- border-bottom: 2px solid transparent;
- color: #787065;
- padding: 1rem 1rem 0.8rem;
- }
- /* Hover effects are only relevant if you're on a larger device */
- #site-navigation li:not(.menu-item-has-children) a:hover {
- border-bottom: 2px solid #999;
- color: #363431;
- }
- /* Sub-menus will display via drop-down menus */
- #site-navigation .sub-menu {
- background: #787065;
- border-bottom: 2px solid #eae9e6;
- display: none;
- margin: 0;
- min-width: 20rem;
- padding: 0;
- position: absolute;
- top: 100%;
- z-index: 100;
- }
- #site-navigation li:hover > .sub-menu {
- display: block;
- }
- #site-navigation .menu-item-has-children:hover:after {
- border-bottom: 10px solid #787065;
- border-left: 10px solid transparent;
- border-right: 10px solid transparent;
- content: "";
- display: block;
- height: 0;
- left: 50%;
- left: -moz-calc(50% - 6px);
- left: -webkit-calc(50% - 6px);
- left: calc(50% - 6px);
- position: absolute;
- top: calc(100% - 10px);
- width: 0;
- }
- #site-navigation .sub-menu li {
- display: block;
- font-size: 0.8em;
- padding: 0;
- text-align: left;
- }
- #site-navigation .sub-menu li:last-child {
- border-bottom: none;
- }
- #site-navigation .sub-menu li a {
- border-bottom: 1px dotted #a09a92;
- color: #eae9e6;
- margin-top: 0;
- padding: 1rem 1.5rem;
- white-space: nowrap;
- }
- #site-navigation .sub-menu li a:hover {
- background: rgba(0, 0, 0, 0.05);
- border-bottom: 1px solid #a09a92;
- color: #faf9f5;
- }
- /* Third-level menus */
- .sub-menu li li {
- padding: 0;
- }
- #site-navigation .sub-menu .sub-menu {
- background: #a09a92;
- border-bottom-width: 1px;
- left: 100%;
- margin-left: 6px;
- min-width: 10rem;
- top: 0.75rem;
- }
- #site-navigation .sub-menu .menu-item-has-children {
- position: relative;
- }
- #site-navigation .sub-menu .menu-item-has-children:hover:after {
- border-bottom: 6px solid transparent;
- border-left: 0;
- border-right: 6px solid #a09a92;
- border-top: 6px solid transparent;
- left: 100%;
- top: calc(50% - 6px);
- }
- /* Pull-out search bar */
- #site-navigation .search-form {
- margin-top: -8px;
- }
- #site-navigation div + .search-form {
- bottom: 11px;
- position: absolute; /* relative to #site-navigation */
- right: 0;
- }
- #site-navigation .search-form input[type="search"] {
- margin: 3px 6px;
- opacity: 0;
- overflow: hidden;
- position: absolute;
- right: 30px;
- top: -12px;
- width: 0;
- }
- #site-navigation .search-form label {
- cursor: pointer;
- margin: 12px 12px 0 6px;
- position: relative;
- }
- /* Open search box */
- #site-navigation .search-form.libretto-open input[type="search"] {
- opacity: 1;
- -moz-transition: all 0.25s linear;
- -ms-transition: all 0.25s linear;
- -o-transition: all 0.25s linear;
- -webkit-transition: all 0.25s linear;
- transition: all 0.25s linear;
- width: 400px;
- }
- #site-navigation .search-form label::before {
- position: relative;
- z-index: 100;
- }
- #site-navigation .search-form input[type="search"] {
- right: -10px;
- top: -13px;
- width: 405px;
- }
- /* Use a bigger drop cap */
- .format-standard:not(.post-password-required) .entry-content > p:not(.no-emphasis):first-of-type:first-letter,
- .page:not(.post-password-required) .entry-content > p:not(.no-emphasis):first-of-type:first-letter,
- .emphasis:first-letter {
- font-size: 121px;
- line-height: 70px;
- margin: 6px 10px 0 -5px;
- }
- /* Overlap content width for certain items */
- .gallery,
- .libretto-oversized {
- margin-left: -3em;
- margin-right: -3em;
- max-width: calc(100% + 6em);
- }
- /* Halfies on the overlap */
- .format-aside .entry-content,
- .format-quote .entry-content,
- .libretto-long-form {
- max-width: 100%;
- }
- /* Adjust padding for long-form posts */
- .libretto-long-form {
- padding: 1.5em;
- }
- /* Aligned items overlap, too */
- .alignleft {
- margin-left: -1.5em;
- }
- .alignright {
- margin-right: -1.5em;
- }
- /* Line up labels and input fields */
- form p {
- clear: both;
- text-align: center;
- }
- label,
- .site-content .contact-form .grunion-field-label:not(.textarea):not(.checkbox) {
- clear: both;
- float: left;
- margin: 0.25em 2% 1em 0;
- width: 20%;
- }
- .grunion-field-wrap {
- clear: both;
- }
- label + input:not(.search-submit),
- label + input[type="text"],
- label + input[type="email"],
- label + input[type="password"],
- label + input[type="tel"],
- label:not(.screen-reader-text) + input[type="search"],
- label + input[type="url"],
- .search-form label,
- label + select {
- float: left;
- width: 78%;
- }
- .grunion-field-checkbox-wrap {
- float: right;
- width: 78%;
- }
- /* Password protected posts and search boxes should show form on a single line */
- .post-password-form input[type="submit"] {
- width: 30%;
- }
- .post-password-form label,
- .search-form label {
- text-align: left;
- width: 60%;
- }
- .post-password-form input[type="password"] {
- width: 100%;
- }
- .post-password-form input[type="submit"],
- .error404 .search-form .search-submit,
- .search-no-results .search-form .search-submit {
- display: inline-block;
- margin-left: 0;
- margin-top: 8px;
- width: 37%;
- }
- .post-password-form input[type="submit"] {
- margin-top: 31px;
- }
- .search-form label input[type="search"] {
- width: 100%;
- }
- /* In-page navigation can be arranged in floats and take up a bit more space */
- [class*="navigation"] {
- border-top: 1px solid #d9d6d0;
- }
- [class*="navigation"] .previous,
- [class*="navigation"] .next {
- float: left;
- margin: 2rem 0;
- width: 50%;
- }
- [class*="navigation"] .next {
- border-left: 1px solid #d9d6d0;
- min-height: 4.8rem;
- }
- .comment-navigation .next {
- border-left: none;
- min-height: none;
- }
- /* Archive page navigation */
- .navigation-paging {
- margin-top: 10rem;
- }
- .navigation-paging .next,
- .navigation-paging .previous {
- border: none;
- margin: 1.6rem 0;
- width: 40%;
- }
- [class*="navigation"] .page-number {
- color: #a09a92;
- float: left;
- font-size: 20px;
- font-size: 2rem;
- font-weight: bolder;
- margin: 1rem 0;
- text-align: center;
- width: 20%;
- }
- [class*="navigation"] .page-number span {
- color: #d9d6d0;
- font-style: italic;
- font-weight: normal;
- padding: 0 0.2rem 0 0.1rem;
- }
- /* Image navigation */
- .navigation-image .next {
- min-height: 2.4rem;
- }
- /* Arrange 404 widgets in columns */
- .error404 .widget {
- float: left;
- margin: 0 4% 2rem 0;
- width: 48%;
- }
- .error404 .widget:nth-of-type(2n) {
- margin-right: 0;
- }
- /* Footer widgets should span two rows */
- #footer-sidebar .widget-block {
- float: left;
- margin: 0 0 0 4%;
- width: 48%;
- }
- #footer-sidebar .widget-block:nth-of-type(odd) {
- margin-left: 0;
- }
- /* Footer can stretch out a bit */
- #colophon {
- padding: 0 2rem 1rem;
- width: 100%;
- }
- #colophon .site-info {
- float: left;
- padding-top: 0.8em;
- }
- #social {
- float: right;
- line-height: 1;
- }
- }
- /* Desktops and big things */
- @media only screen and (min-width: 860px) {
- /* Navigation can have slightly more generous spacing */
- .site-branding {
- margin-left: 4rem;
- }
- #site-navigation {
- margin-left: 3rem;
- margin-right: 4rem;
- }
- /* Overlap content width a bit more for larger screens */
- .gallery,
- .libretto-oversized {
- margin-left: -6em;
- margin-right: -6em;
- max-width: calc(100% + 12em);
- }
- /* Halfies on the overlap */
- .format-aside .entry-content,
- .format-quote .entry-content,
- .libretto-long-form {
- margin-left: -3em;
- margin-right: -3em;
- max-width: calc(100% + 6em);
- }
- /* Adjust padding for long-form posts */
- .libretto-long-form {
- padding: 3em 3em 1em;
- }
- /* Aligned items overlap, too */
- .alignleft {
- margin-left: -6em;
- }
- .alignright {
- margin-right: -6em;
- }
- /* Different widths for different numbers of active footer widgets */
- #footer-sidebar {
- padding: 4rem 4rem;
- }
- /* Single column */
- #footer-sidebar .widget-block:nth-child(1):nth-last-child(1) {
- margin: 0 auto;
- width: 85%;
- }
- /* Two columns */
- #footer-sidebar .widget-block:nth-child(1):nth-last-child(2),
- #footer-sidebar .widget-block:nth-child(2):nth-last-child(1) {
- float: left;
- margin: 0 5%;
- width: 40%;
- }
- /* Three columns */
- #footer-sidebar .widget-block:nth-child(1):nth-last-child(3),
- #footer-sidebar .widget-block:nth-child(2):nth-last-child(2),
- #footer-sidebar .widget-block:nth-child(3):nth-last-child(1) {
- float: left;
- margin: 0 5% 0 0;
- width: 30%;
- }
- #footer-sidebar .widget-block:nth-child(1):nth-last-child(3):last-of-type,
- #footer-sidebar .widget-block:nth-child(2):nth-last-child(2):last-of-type,
- #footer-sidebar .widget-block:nth-child(3):nth-last-child(1):last-of-type {
- margin-right: 0;
- }
- /* Four columns */
- #footer-sidebar .widget-block:nth-child(1):nth-last-child(4),
- #footer-sidebar .widget-block:nth-child(2):nth-last-child(3),
- #footer-sidebar .widget-block:nth-child(3):nth-last-child(2),
- #footer-sidebar .widget-block:nth-child(4):nth-last-child(1) {
- float: left;
- margin: 0 1% 0 0;
- width: 24.25%;
- }
- #footer-sidebar .widget-block:nth-child(1):nth-last-child(4):last-of-type,
- #footer-sidebar .widget-block:nth-child(2):nth-last-child(3):last-of-type,
- #footer-sidebar .widget-block:nth-child(3):nth-last-child(2):last-of-type,
- #footer-sidebar .widget-block:nth-child(4):nth-last-child(1):last-of-type {
- margin-right: 0;
- }
- /* Footer can be spaced out more, too */
- #colophon {
- padding-left: 4rem;
- padding-right: 4rem;
- }
- }
- /* Print styles */
- @media print {
- body {
- background: none !important; /* Brute force since user agents all print differently. */
- font-size: 12pt;
- margin: 0 10%;
- }
- .secondary-toggle,
- .navigation,
- .page-links,
- .edit-link,
- #reply-title,
- .comment-form,
- .comment-edit-link,
- .comment-list .reply a,
- button,
- input,
- textarea,
- select {
- display: none;
- }
- .site-header,
- .site-footer,
- .hentry,
- .entry-footer,
- .page-header,
- .page-content,
- .comments-area {
- background: none !important; /* Make sure color schemes dont't affect to print */
- }
- body,
- blockquote,
- blockquote cite,
- blockquote small,
- label,
- a,
- .site-title a,
- .site-description,
- .post-title,
- .author-heading,
- .entry-footer,
- .entry-footer a,
- .taxonomy-description,
- .entry-caption,
- .comment-author,
- .comment-metadata,
- .comment-metadata a,
- .comment-notes,
- .comment-awaiting-moderation,
- .no-comments,
- .site-info,
- .site-info a,
- .wp-caption-text,
- .gallery-caption {
- color: #000 !important; /* Make sure color schemes don't affect to print */
- }
- pre,
- abbr[title],
- table,
- th,
- td,
- .site-header,
- .site-footer,
- .hentry + .hentry,
- .author-info,
- .page-header,
- .comments-area,
- .comment-list + .comment-respond,
- .comment-list article,
- .comment-list .pingback,
- .comment-list .trackback,
- .no-comments {
- border-color: #eaeaea !important; /* Make sure color schemes don't affect to print */
- }
- /* Remove navbar and image in header */
- .nav-bar,
- #masthead img {
- display: none;
- }
- .libretto-has-header-image #masthead:after {
- display: none;
- }
- /* Hide flourishes and icons */
- .entry-meta:before,
- .entry-meta:after,
- .entry-header:before,
- .title-block:before,
- .entry-footer:before {
- display: none !important;
- }
- .title-block,
- .libretto-has-header-image .title-block {
- left: 0;
- margin-top: 15%;
- position: relative;
- text-shadow: none;
- top: 0;
- width: 100%;
- }
- h1 {
- font-size: 24pt;
- text-shadow: none;
- }
- .entry-title,
- .entry-title a {
- font-size: 24pt;
- }
- blockquote {
- font-size: 19pt;
- }
- blockquote cite {
- font-size: 10pt;
- }
- .hentry + .hentry {
- margin-top: 15%;
- }
- .libretto-long-form {
- box-shadow: none;
- }
- .entry-footer {
- font-size: 10pt;
- margin-top: 2%;
- padding-left: 0;
- }
- /* Hide irrelevant footer elements. We only want to print the post content. */
- .sharedaddy,
- .navigation-post,
- .navigation-paging,
- .navigation-image,
- #comments,
- #footer-sidebar,
- #colophon {
- display: none;
- }
- }
|