Template:ReportCard/report-card.css: Difference between revisions

mNo edit summary
mNo edit summary
Line 9: Line 9:
pre {
pre {
   padding: 0px !important;
   padding: 0px !important;
  white-space: normal !important;
}
}



Revision as of 18:28, 18 July 2023

kbd, samp, code, pre {
  border: none !important;
}

kbd, samp, code, pre {
    border: none !important;
}

pre {
  padding: 0px !important;
  white-space: normal !important;
}


.report-card {
  width: 33vw;
  min-width: 500px;
  border-radius: 5px;
  margin: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px gray;
  transition-duration: 0.5s;
  margin: auto;
}

@media screen and (max-width: 400px) {
  .report-card {
    width: 100%;
    min-width: 95vw;
    max-width: 95vw;
  }
}

.report-card:hover {
  transition: 0.5s;
}

.comp-img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.learn-more {
  background-color: mediumturquoise;
  color: white;
  border: none !important;
  width: 90%;
  margin: 5px;
  border-radius: 5px;
  padding: 5px;
  margin: auto;
}

.card-title {
  display: inline-block;
  justify-content: left;
  font-size: 15px;
}

@media screen and (max-width: 500px) {
  .card-title {
    font-size: 12px;
  }
}

.summary-container {
  word-break: keep-all;
  width: 100%;
  max-width: 100%;
  padding: 5px;
  border: none !important;
}

.img-container {
  display: flex;
  overflow: hidden;
  width: 100%;
  justify-content: center;
  align-items: center;
  max-height: 30em;
  height: auto;
  position: relative;
  border-bottom: 1px solid lightgray;
  overflow: hidden;
}

.logo {
  width: 100px;
  height: auto;
  margin: auto;
}

@media screen and (max-width: 500px) {
  .logo {
    width: 75px;
  }
}

.logo-container {
  width: fit-content;
  height: auto;
  border: 2px solid whitesmoke;
  border-radius: 5%;
  flex: 1;
  height: auto;
  margin: 5px;
  padding: 5px;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.view-more,
.edit {
  width: 50%;
  background-color: mediumturquoise;
  color: white;
  border-radius: 5px;
  border: none;
  margin: 5px;
}