You are here

reviews.css in Reviews 1.0.x

Same filename and directory in other branches
  1. 7 css/reviews.css
.review {
  box-sizing: border-box;
  padding: 10px 20px;
}

.review::after {
  clear: both;
  content: " ";
  display: table;
}

.review > div {
  float: left;
}

.review .review-metadata {
  width: 20%;
}

.review .review-data {
  margin-left: 5%;
  width: 75%;
}

.review .review-data .field--name-title {
  font-weight: bold;
}

.review:not(:last-child) {
  border-bottom: 1px dotted #000000;
}

.review:nth-child(odd) {
  background-color: #f8f8f8;
}

File

css/reviews.css
View source
  1. .review {
  2. box-sizing: border-box;
  3. padding: 10px 20px;
  4. }
  5. .review::after {
  6. clear: both;
  7. content: " ";
  8. display: table;
  9. }
  10. .review > div {
  11. float: left;
  12. }
  13. .review .review-metadata {
  14. width: 20%;
  15. }
  16. .review .review-data {
  17. margin-left: 5%;
  18. width: 75%;
  19. }
  20. .review .review-data .field--name-title {
  21. font-weight: bold;
  22. }
  23. .review:not(:last-child) {
  24. border-bottom: 1px dotted #000000;
  25. }
  26. .review:nth-child(odd) {
  27. background-color: #f8f8f8;
  28. }