/appengine/static/styles/main.css

https://code.google.com/p/google-plus-go-starter/ · CSS · 86 lines · 55 code · 16 blank · 15 comment · 0 complexity · 748bbff12aa383c31c48f2d302432556 MD5 · raw file

  1. /*
  2. Copyright 2011 Google Inc. All Rights Reserved.
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. */
  13. body {
  14. margin: auto;
  15. max-width: 70em;
  16. padding: 1em;
  17. }
  18. header {
  19. display: block;
  20. overflow: auto;
  21. }
  22. header #identity {
  23. float: right;
  24. }
  25. header #identity p {
  26. display: inline;
  27. }
  28. header nav ul {
  29. display: inline;
  30. padding-left: 0;
  31. }
  32. header nav li {
  33. display: inline;
  34. }
  35. .example {
  36. background-color: #D6E9F8;
  37. padding: 0.5em;
  38. }
  39. .example h2 {
  40. margin: 0;
  41. margin-bottom: 0.5em;
  42. }
  43. .example ul, .example ol {
  44. padding-left: 0;
  45. }
  46. .example li {
  47. display: block;
  48. }
  49. .person {
  50. overflow: auto;
  51. background-color: #F3F8FD;
  52. margin-bottom: 0.5em;
  53. padding: 0.5em;
  54. }
  55. .person:last-child {
  56. margin-bottom: 0;
  57. }
  58. .person img {
  59. float: left;
  60. margin-right: 0.25em;
  61. }
  62. .person h1 {
  63. display: inline;
  64. }
  65. .person p {
  66. margin: 0 inherit;
  67. }