style.css 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. /**
  2. * Copyright (c) Facebook, Inc. and its affiliates.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. */
  7. html, h1, h2 {
  8. font-family: 'Roboto', sans-serif;
  9. font-weight: 300;
  10. }
  11. .container {
  12. width: 800px;
  13. margin: 0 auto;
  14. }
  15. .circle {
  16. margin: 2px;
  17. width: 50px;
  18. height: 50px;
  19. position: absolute;
  20. display: inline-block;
  21. box-shadow: 0 1px 2px #999;
  22. text-shadow: 0 1px 2px #999;
  23. background-image: url(pic1.jpg);
  24. background-size: cover;
  25. line-height: 80px;
  26. vertical-align: bottom;
  27. text-align: center;
  28. color: white;
  29. font-size: 10px;
  30. }
  31. .circle:nth-child(2) {
  32. background-image: url(pic2.jpg);
  33. }
  34. .circle:nth-child(3) {
  35. background-image: url(pic3.jpg);
  36. }
  37. div.code {
  38. box-shadow: 0 1px 2px #999;
  39. width: 600px;
  40. padding: 5px;
  41. position: relative;
  42. margin: 0 auto;
  43. margin-bottom: 40px;
  44. }
  45. div.code .reset {
  46. float: right;
  47. }
  48. div.code pre {
  49. padding: 2px;
  50. }
  51. hr {
  52. border: none;
  53. border-bottom: 1px solid #D9D9D9;
  54. margin: 0;
  55. }
  56. button {
  57. vertical-align: top;
  58. }
  59. .example > span {
  60. color: #333;
  61. font-size: 13px;
  62. }
  63. .example {
  64. position: relative;
  65. height: 60px;
  66. }
  67. .code pre {
  68. margin: 0;
  69. font-size: 11px;
  70. line-height: 1;
  71. }
  72. .highlight {
  73. background: rgb(228, 254, 253);
  74. }