guest.css 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773
  1. /* Copyright (c) 2011, Jan-Christoph Borchardt, http://jancborchardt.net
  2. This file is licensed under the Affero General Public License version 3 or later.
  3. See the COPYING-README file. */
  4. /* Default and reset */
  5. html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, nav, section { margin:0; padding:0; border:0; outline:0; font-weight:inherit; font-size:100%; font-family:inherit; vertical-align:baseline; cursor:default; }
  6. html { height:100%; }
  7. article, aside, dialog, figure, footer, header, hgroup, nav, section { display:block; }
  8. body { line-height:1.5; }
  9. table { border-collapse:separate; border-spacing:0; white-space:nowrap; }
  10. caption, th, td { text-align:left; font-weight:normal; }
  11. table, td, th { vertical-align:middle; }
  12. a { border:0; color:#000; text-decoration:none;}
  13. a, a *, input, input *, select, .button span, label { cursor:pointer; }
  14. ul { list-style:none; }
  15. body {
  16. background-color: #ffffff;
  17. font-weight: 400;
  18. font-size: .8em;
  19. line-height: 1.6em;
  20. font-family: 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;
  21. color: #000;
  22. text-align: center;
  23. background-color: #0082c9;
  24. background-image: url('../img/background.png?v=2');
  25. background-position: 50% 50%;
  26. background-repeat: no-repeat;
  27. background-size: cover;
  28. background-attachment: fixed; /* fix background gradient */
  29. min-height: 100%; /* fix sticky footer */
  30. height: auto;
  31. }
  32. /* Various fonts settings */
  33. p.info a,
  34. #showAdvanced {
  35. color: #fff;
  36. }
  37. #remember_login:hover+label,
  38. #forgot-password:hover,
  39. p.info a:hover {
  40. opacity: .6;
  41. }
  42. em {
  43. font-style: normal;
  44. opacity: .5;
  45. }
  46. /* heading styles */
  47. h2 {
  48. font-size: 20px;
  49. font-weight: 300;
  50. margin-bottom: 12px;
  51. line-height: 140%;
  52. }
  53. h3 {
  54. font-size: 15px;
  55. font-weight: 300;
  56. margin: 12px 0;
  57. }
  58. /* Global content */
  59. body {
  60. display: flex;
  61. flex-direction: column;
  62. justify-content: center;
  63. align-items: center;
  64. }
  65. #header .logo {
  66. background-image: url('../img/logo.svg?v=1');
  67. background-repeat: no-repeat;
  68. background-size: 175px;
  69. background-position: center;
  70. width: 256px;
  71. min-height: 128px;
  72. max-height: 200px;
  73. margin: 0 auto;
  74. }
  75. #header .logo img {
  76. opacity: 0;
  77. max-width: 100%;
  78. max-height: 200px;
  79. }
  80. .wrapper {
  81. width: 300px;
  82. margin-top: 10vh;
  83. }
  84. /* Default FORM */
  85. form {
  86. position: relative;
  87. width: 280px;
  88. margin: auto;
  89. padding: 0;
  90. }
  91. form fieldset {
  92. margin-bottom: 20px;
  93. text-align: left;
  94. -webkit-user-select: none;
  95. -moz-user-select: none;
  96. -ms-user-select: none;
  97. user-select: none;
  98. }
  99. form #sqliteInformation {
  100. margin-top: -20px;
  101. margin-bottom: 20px;
  102. }
  103. form #adminaccount {
  104. margin-bottom: 15px;
  105. }
  106. form fieldset legend, #datadirContent label {
  107. width: 100%;
  108. }
  109. #datadirContent label {
  110. display: block;
  111. margin: 0;
  112. }
  113. form #datadirField legend {
  114. margin-bottom: 15px;
  115. }
  116. /* View more button */
  117. #showAdvanced {
  118. padding: 13px; /* increase clickable area of Advanced dropdown */
  119. }
  120. #showAdvanced img {
  121. vertical-align: middle; /* adjust position of Advanced dropdown arrow */
  122. }
  123. /* Buttons and input */
  124. #submit-wrapper,
  125. #reset-password-wrapper {
  126. position: relative; /* Make the wrapper the containing block of its
  127. absolutely positioned descendant icons */
  128. }
  129. #submit-wrapper .submit-icon {
  130. position: absolute;
  131. top: 23px;
  132. right: 23px;
  133. pointer-events: none; /* The submit icon is positioned on the submit button.
  134. From the user point of view the icon is part of the
  135. button, so the clicks on the icon have to be
  136. applied to the button instead. */
  137. }
  138. #reset-password-submit {
  139. padding: 10px;
  140. overflow: hidden;
  141. text-overflow: ellipsis;
  142. }
  143. #reset-password-wrapper .submit-icon {
  144. display: none;
  145. }
  146. #submit-wrapper .icon-loading-small {
  147. position: absolute;
  148. top: 22px;
  149. right: 24px;
  150. }
  151. input, textarea, select, button, div[contenteditable=true] {
  152. font-family: 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;
  153. }
  154. input {
  155. font-size: 20px;
  156. margin: 5px;
  157. padding: 11px 10px 9px;
  158. outline: none;
  159. border-radius: 3px;
  160. -webkit-appearance: none;
  161. }
  162. input[type='submit'],
  163. input[type='button'],
  164. button, .button,
  165. select {
  166. width: auto;
  167. min-width: 25px;
  168. padding: 5px;
  169. background-color: rgba(240,240,240,.9);
  170. font-weight: 600;
  171. color: #555;
  172. border: 1px solid rgba(240,240,240,.9);
  173. cursor: pointer;
  174. }
  175. input[type='text'],
  176. input[type='tel'],
  177. input[type='password'],
  178. input[type='email'] {
  179. width: 249px;
  180. background: #fff;
  181. color: #555;
  182. cursor: text;
  183. font-family: inherit;
  184. -webkit-appearance: textfield;
  185. -moz-appearance: textfield;
  186. box-sizing: content-box;
  187. border: none;
  188. font-weight: 300;
  189. }
  190. input.login {
  191. width: 269px;
  192. background-position: right 16px center;
  193. }
  194. input[type='submit'],
  195. input.updateButton,
  196. input.update-continue {
  197. padding: 10px 20px; /* larger log in and installation buttons */
  198. }
  199. .updateAnyways a.updateAnywaysButton {
  200. font-size: 14px;
  201. padding: 10px 20px;
  202. color: #666 !important;
  203. display: inline-block;
  204. border-radius: 3px;
  205. margin: 15px 5px;
  206. }
  207. .updateAnyways a.updateAnywaysButton:hover {
  208. color: #222 !important;
  209. }
  210. input.primary,
  211. button.primary {
  212. border: 1px solid #fff;
  213. background-color: #0082c9;
  214. color: #fff;
  215. }
  216. /* Checkboxes - white only for login */
  217. input[type='checkbox'].checkbox {
  218. position: absolute;
  219. left: -10000px;
  220. top: auto;
  221. width: 1px;
  222. height: 1px;
  223. overflow: hidden;
  224. }
  225. input[type='checkbox'].checkbox + label {
  226. user-select: none;
  227. }
  228. input[type='checkbox'].checkbox:disabled + label,
  229. input[type='checkbox'].checkbox:disabled + label:before {
  230. cursor: default;
  231. }
  232. input[type='checkbox'].checkbox + label:before {
  233. content: '';
  234. display: inline-block;
  235. vertical-align: middle;
  236. margin: 3px;
  237. margin-top: 1px;
  238. border: 1px solid #888;
  239. border-radius: 1px;
  240. height: 10px;
  241. width: 10px;
  242. background-position: center;
  243. }
  244. input[type='checkbox'].checkbox--white + label:before {
  245. border-color: #ddd;
  246. }
  247. input[type='checkbox'].checkbox--white:not(:disabled):not(:checked) + label:hover:before,
  248. input[type='checkbox'].checkbox--white:focus + label:before {
  249. border-color: #fff;
  250. }
  251. input[type='checkbox'].checkbox--white:checked + label:before {
  252. background-color: #eee;
  253. border-color: #eee;
  254. }
  255. input[type='checkbox'].checkbox--white:disabled + label:before {
  256. background-color: #666 !important;
  257. border-color: #999 !important;
  258. }
  259. input[type='checkbox'].checkbox--white:checked:disabled + label:before {
  260. border-color: #666;
  261. background-color: #222;
  262. }
  263. input[type='checkbox'].checkbox--white:checked + label:before {
  264. background-color: transparent !important;
  265. border-color: #fff !important;
  266. background-image: url('../img/actions/checkbox-mark-white.svg');
  267. }
  268. /* keep the labels for screen readers but hide them since we use placeholders */
  269. label.infield {
  270. display: none;
  271. }
  272. /* Password strength meter */
  273. .strengthify-wrapper {
  274. display: inline-block;
  275. position: relative;
  276. left: 5px;
  277. top: -20px;
  278. width: 269px;
  279. border-radius: 0 0 2px 2px;
  280. overflow: hidden;
  281. height: 3px;
  282. }
  283. .tooltip-inner {
  284. font-weight: bold;
  285. color: #ccc;
  286. padding: 3px 6px;
  287. text-align: center;
  288. }
  289. /* Show password toggle */
  290. #show, #dbpassword-toggle {
  291. position: absolute;
  292. right: 1em;
  293. top: .8em;
  294. float: right;
  295. }
  296. #show, #dbpassword-toggle, #personal-show {
  297. display: none;
  298. }
  299. #show + label, #dbpassword-toggle + label {
  300. right: 21px;
  301. top: 15px !important;
  302. margin: -14px !important;
  303. padding: 14px !important;
  304. }
  305. #show:checked + label, #dbpassword-toggle:checked + label, #personal-show:checked + label {
  306. opacity: .8;
  307. }
  308. #show + label, #dbpassword-toggle + label, #personal-show + label {
  309. position: absolute !important;
  310. height: 20px;
  311. width: 24px;
  312. background-image: url('../img/actions/toggle.svg?v=1');
  313. background-repeat: no-repeat;
  314. background-position: center;
  315. opacity: .3;
  316. }
  317. #show + label:before, #dbpassword-toggle + label:before, #personal-show + label:before {
  318. display: none;
  319. }
  320. #pass2, input[name='personal-password-clone'] {
  321. padding: .6em 2.5em .4em .4em;
  322. width: 8em;
  323. }
  324. #personal-show + label {
  325. height: 14px;
  326. margin-top: -25px;
  327. left: 295px;
  328. display: block;
  329. }
  330. #passwordbutton {
  331. margin-left: .5em;
  332. }
  333. /* Dark subtle label text */
  334. p.info,
  335. form fieldset legend,
  336. #datadirContent label,
  337. form fieldset .warning-info,
  338. form input[type='checkbox']+label {
  339. text-align: center;
  340. color: #fff;
  341. }
  342. /* overrides another !important statement that sets this to unreadable black */
  343. form .warning input[type='checkbox']:hover+label,
  344. form .warning input[type='checkbox']:focus+label,
  345. form .warning input[type='checkbox']+label {
  346. color: #fff !important;
  347. }
  348. /* TOTP */
  349. .two-factor-header {
  350. text-align: center;
  351. }
  352. .two-factor-provider {
  353. text-align: center;
  354. width: 258px !important;
  355. display: inline-block;
  356. margin-bottom: 0 !important;
  357. background-color: rgba(0, 0, 0, 0.3) !important;
  358. border: none !important;
  359. }
  360. .two-factor-link {
  361. display: inline-block;
  362. color: rgba(255, 255, 255, 0.75);
  363. width: 100%;
  364. }
  365. .two-factor-link .button {
  366. padding: 10px;
  367. border-radius: 3px;
  368. color: #555 !important;
  369. display: inline-block;
  370. margin: 5px 0;
  371. text-align: center;
  372. width: 100%;
  373. box-sizing: border-box
  374. }
  375. /* Additional login options */
  376. #remember_login {
  377. margin: 18px 5px 0 16px !important;
  378. }
  379. .remember-login-container,
  380. .lost-password-container {
  381. display: inline-block;
  382. margin: 10px 0;
  383. text-align: center;
  384. width: 100%;
  385. text-shadow: 0 0 2px rgba(0, 0, 0, .4); // better readability on bright background
  386. }
  387. .lost-password-container #lost-password,
  388. .lost-password-container #lost-password-back {
  389. display: inline-block;
  390. padding: 12px;
  391. margin-top: -6px;
  392. color: #fff;
  393. }
  394. #forgot-password {
  395. padding: 11px;
  396. float: right;
  397. color: #fff;
  398. }
  399. /* Alternative Logins */
  400. #alternative-logins legend {
  401. margin-bottom: 10px;
  402. }
  403. #alternative-logins li {
  404. height: 40px;
  405. white-space: nowrap;
  406. padding: 05px;
  407. }
  408. #alternative-logins li a {
  409. width: 100%;
  410. display: inline-block;
  411. text-align: center;
  412. box-sizing: border-box;
  413. background-color: #0082c9;
  414. color: white;
  415. border-radius: 3px;
  416. }
  417. /* fixes for update page TODO should be fixed some time in a proper way */
  418. /* this is just for an error while updating the ownCloud instance */
  419. .updateProgress .error {
  420. margin-top: 10px;
  421. margin-bottom: 10px;
  422. }
  423. /* Database selector on install page */
  424. form #selectDbType {
  425. text-align:center;
  426. white-space: nowrap;
  427. margin: 0;
  428. }
  429. form #selectDbType .info {
  430. white-space: normal;
  431. }
  432. form #selectDbType label {
  433. position: static;
  434. margin: 0 -3px 5px;
  435. font-size: 12px;
  436. background:#f8f8f8;
  437. color:#888;
  438. cursor:pointer;
  439. border: 1px solid #ddd;
  440. }
  441. form #selectDbType label span {
  442. cursor: pointer;
  443. padding: 10px 20px;
  444. }
  445. form #selectDbType label.ui-state-hover,
  446. form #selectDbType label.ui-state-active {
  447. color:#000;
  448. background-color:#e8e8e8; }
  449. /* Nicely grouping input field sets */
  450. .grouptop,
  451. .groupmiddle,
  452. .groupbottom {
  453. position: relative;
  454. -webkit-user-select: none;
  455. -moz-user-select: none;
  456. -ms-user-select: none;
  457. user-select: none;
  458. }
  459. .grouptop input {
  460. margin-bottom: 0 !important;
  461. border-bottom: 0 !important;
  462. border-bottom-left-radius: 0 !important;
  463. border-bottom-right-radius: 0 !important;
  464. }
  465. .groupmiddle input {
  466. margin-top: 0 !important;
  467. margin-bottom: 0 !important;
  468. border-top: 0 !important;
  469. border-bottom: 0 !important;
  470. border-radius: 0 !important;
  471. box-shadow: 0 1px 0 rgba(0,0,0,.1) inset !important;
  472. }
  473. .groupbottom input {
  474. margin-top: 0 !important;
  475. border-top: 0 !important;
  476. border-top-right-radius: 0 !important;
  477. border-top-left-radius: 0 !important;
  478. box-shadow: 0 1px 0 rgba(0,0,0,.1) inset !important;
  479. }
  480. .groupbottom input[type=submit] {
  481. box-shadow: none !important;
  482. }
  483. /* Errors */
  484. /* Warnings and errors are the same */
  485. .warning,
  486. .update,
  487. .error {
  488. display: block;
  489. padding: 10px;
  490. background-color: rgba(0,0,0,.3);
  491. color: #fff;
  492. text-align: left;
  493. border-radius: 3px;
  494. cursor: default;
  495. -moz-user-select: text;
  496. -webkit-user-select: text;
  497. -ms-user-select: text;
  498. user-select: text;
  499. }
  500. .warning {
  501. margin-top: 15px;
  502. }
  503. .warning h2,
  504. .update h2,
  505. .error h2 {
  506. text-align: center;
  507. }
  508. .warning.updateAnyways {
  509. text-align: center;
  510. }
  511. .warning legend,
  512. .warning a,
  513. .error a {
  514. color: #fff !important;
  515. font-weight: 600 !important;
  516. opacity: 1;
  517. }
  518. .error a.button {
  519. color: #555 !important;
  520. display: inline-block;
  521. text-align: center;
  522. }
  523. .error pre {
  524. white-space: pre-wrap;
  525. text-align: left;
  526. }
  527. .error-wide {
  528. width: 700px;
  529. margin-left: -200px !important;
  530. margin-top: 35px;
  531. }
  532. .error-wide .button {
  533. color: black !important;
  534. }
  535. .warning-input {
  536. border-color: #ce3702 !important;
  537. }
  538. a.warning {
  539. cursor: pointer;
  540. }
  541. fieldset.warning legend,
  542. fieldset.update legend {
  543. top: 18px;
  544. position: relative;
  545. }
  546. fieldset.warning legend + p,
  547. fieldset.update legend + p {
  548. margin-top: 12px;
  549. }
  550. /* Various paragraph styles */
  551. .infogroup {
  552. margin-bottom: 15px;
  553. }
  554. p.info {
  555. margin: 20px auto;
  556. text-shadow: 0 0 2px rgba(0, 0, 0, .4); // better readability on bright background
  557. -webkit-user-select: none;
  558. -moz-user-select: none;
  559. -ms-user-select: none;
  560. user-select: none;
  561. }
  562. /* Update */
  563. .update {
  564. width: inherit;
  565. text-align: center;
  566. }
  567. .update .appList {
  568. list-style: disc;
  569. text-align: left;
  570. margin-left: 25px;
  571. margin-right: 25px;
  572. }
  573. .update img.float-spinner {
  574. float: left;
  575. }
  576. .update h2 {
  577. margin: 0 0 20px;
  578. }
  579. .update a {
  580. color: #fff;
  581. border-bottom: 1px solid #aaa;
  582. }
  583. .update a.update-show-detailed {
  584. border-bottom: inherit;
  585. }
  586. #update-progress-detailed {
  587. text-align: left;
  588. }
  589. .update-show-detailed {
  590. padding: 13px;
  591. display: block;
  592. opacity: .75;
  593. }
  594. #update-progress-icon {
  595. height: 32px;
  596. margin: 10px;
  597. background-size: 32px;
  598. }
  599. /* Icons */
  600. .icon-info-white {
  601. background-image: url('../img/actions/info-white.svg?v=2');
  602. }
  603. .icon-confirm {
  604. background-image: url('../img/actions/confirm.svg?v=2');
  605. }
  606. .icon-confirm-white {
  607. background-image: url('../img/actions/confirm-white.svg?v=2');
  608. }
  609. .icon-checkmark-white {
  610. background-image: url('../img/actions/checkmark-white.svg?v=1');
  611. }
  612. /* Loading */
  613. .float-spinner {
  614. margin-top: -32px;
  615. padding-top: 32px;
  616. height: 32px;
  617. display: none;
  618. }
  619. [class^='icon-'], [class*=' icon-'] {
  620. background-repeat: no-repeat;
  621. background-position: center;
  622. min-width: 16px;
  623. min-height: 16px;
  624. }
  625. .loading, .loading-small, .icon-loading, .icon-loading-dark, .icon-loading-small, .icon-loading-small-dark {
  626. position: relative;
  627. }
  628. .loading:after, .loading-small:after, .icon-loading:after, .icon-loading-dark:after, .icon-loading-small:after, .icon-loading-small-dark:after {
  629. z-index: 2;
  630. content: '';
  631. height: 32px;
  632. width: 32px;
  633. margin: -17px 0 0 -17px;
  634. position: absolute;
  635. top: 50%;
  636. left: 50%;
  637. border-radius: 100%;
  638. -webkit-animation: rotate .8s infinite linear;
  639. animation: rotate .8s infinite linear;
  640. -webkit-transform-origin: center;
  641. -ms-transform-origin: center;
  642. transform-origin: center;
  643. }
  644. .loading:after, .loading-small:after, .icon-loading:after, .icon-loading-dark:after, .icon-loading-small:after, .icon-loading-small-dark:after {
  645. border: 2px solid rgba(150, 150, 150, 0.5);
  646. border-top-color: #646464;
  647. }
  648. .icon-loading-dark:after, .icon-loading-small-dark:after {
  649. border: 2px solid rgba(187, 187, 187, 0.5);
  650. border-top-color: #bbb;
  651. }
  652. .icon-loading-small:after, .icon-loading-small-dark:after {
  653. height: 16px;
  654. width: 16px;
  655. margin: -9px 0 0 -9px;
  656. }
  657. /* Css replaced elements don't have ::after nor ::before */
  658. img.icon-loading, object.icon-loading, video.icon-loading, button.icon-loading, textarea.icon-loading, input.icon-loading, select.icon-loading, div[contenteditable=true].icon-loading {
  659. background-image: url('../img/loading.gif');
  660. }
  661. img.icon-loading-dark, object.icon-loading-dark, video.icon-loading-dark, button.icon-loading-dark, textarea.icon-loading-dark, input.icon-loading-dark, select.icon-loading-dark, div[contenteditable=true].icon-loading-dark {
  662. background-image: url('../img/loading-dark.gif');
  663. }
  664. img.icon-loading-small, object.icon-loading-small, video.icon-loading-small, button.icon-loading-small, textarea.icon-loading-small, input.icon-loading-small, select.icon-loading-small, div[contenteditable=true].icon-loading-small {
  665. background-image: url('../img/loading-small.gif');
  666. }
  667. img.icon-loading-small-dark, object.icon-loading-small-dark, video.icon-loading-small-dark, button.icon-loading-small-dark, textarea.icon-loading-small-dark, input.icon-loading-small-dark, select.icon-loading-small-dark, div[contenteditable=true].icon-loading-small-dark {
  668. background-image: url('../img/loading-small-dark.gif');
  669. }
  670. @-webkit-keyframes rotate {
  671. from {
  672. -webkit-transform: rotate(0deg);
  673. transform: rotate(0deg);
  674. }
  675. to {
  676. -webkit-transform: rotate(360deg);
  677. transform: rotate(360deg);
  678. }
  679. }
  680. @keyframes rotate {
  681. from {
  682. -webkit-transform: rotate(0deg);
  683. transform: rotate(0deg);
  684. }
  685. to {
  686. -webkit-transform: rotate(360deg);
  687. transform: rotate(360deg);
  688. }
  689. }
  690. /* FOOTER */
  691. footer {
  692. height: 70px;
  693. margin-top: auto;
  694. }
  695. footer .info a {
  696. font-weight: 600;
  697. }
  698. .hidden {
  699. display: none;
  700. }
  701. .hidden-visually {
  702. position: absolute;
  703. left:-10000px;
  704. top: auto;
  705. width: 1px;
  706. height: 1px;
  707. overflow: hidden;
  708. }
  709. a.legal {
  710. font-size: smaller;
  711. }
  712. /* for low-res screens, use Regular font-weight instead of Light */
  713. @media (-webkit-max-device-pixel-ratio: 1.3), (max-resolution: 124.8dpi) {
  714. @font-face {
  715. font-family: 'Open Sans';
  716. font-style: normal;
  717. font-weight: normal;
  718. src: local('Open Sans'), local('OpenSans'), url('../fonts/OpenSans-Regular.woff') format('woff');
  719. }
  720. }
  721. @font-face {
  722. font-family: 'Open Sans';
  723. font-style: normal;
  724. font-weight: 300;
  725. src: local('Open Sans Light'), local('OpenSans-Light'), url('../fonts/OpenSans-Light.woff') format('woff');
  726. }
  727. @font-face {
  728. font-family: 'Open Sans';
  729. font-style: normal;
  730. font-weight: 600;
  731. src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url('../fonts/OpenSans-Semibold.woff') format('woff');
  732. }