Template:Main Page/styles.css: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
 
(61 intermediate revisions by the same user not shown)
Line 3: Line 3:
     background-color: #1f2937;
     background-color: #1f2937;
     padding: 2em 1em;
     padding: 2em 1em;
    border-radius: 8px;
     margin-bottom: 0.3em;
     margin-bottom: 1em;
     text-align: center;
     text-align: center;
     border: 1px solid #374151;
     border: 1px solid #374151;
Line 21: Line 20:
     font-size: 1em;
     font-size: 1em;
     color: #38bdf8;
     color: #38bdf8;
     margin-top: 0.5em;
     margin-top: 0.3em;
     display: block;
     display: block;
}
}
Line 44: Line 43:
.mp-main-container {
.mp-main-container {
     display: flex;
     display: flex;
     gap: 1em;
     gap: 0.3em;
     margin-bottom: 1em;
     margin-bottom: 0.25em;
}
}


Line 53: Line 52:
     padding: 1em;
     padding: 1em;
     border: 1px solid #a2a9b1;
     border: 1px solid #a2a9b1;
    border-radius: 5px;
     background-color: #f8f9fa;
     background-color: #f8f9fa;
     flex: 1;
     flex: 1;
Line 72: Line 70:
.mp-lower-container {
.mp-lower-container {
     display: flex;
     display: flex;
     gap: 1em;
     gap: 0.3em;
}
}


Line 79: Line 77:
     padding: 1em;
     padding: 1em;
     border: 1px solid #a2a9b1;
     border: 1px solid #a2a9b1;
    border-radius: 5px;
}
}


Line 159: Line 156:




body {
  font-family: sans-serif;
  font-size: 14px;
  background-color: #f6f6f6;
  margin: 0;
  padding: 20px;
  color: #000;
}


.page {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 20px;
  max-width: 1100px;
  margin: auto;
}


.article-title {
.feature-box {
   font-size: 26px;
   border: 1px solid #a2a9b1;
   margin: 0;
   background-color: #f5fff5;
}
 
.article-meta {
  font-size: 12px;
  color: #555;
   margin-bottom: 20px;
   margin-bottom: 20px;
  padding: 10px;
}
}


.toc {
.feature-box-title {
   background: white;
   background-color: #cef2e0;
   border: 1px solid #a2a9b1;
   border: 1px solid #a2a9b1;
  padding: 8px 12px;
  font-weight: bold;
  font-family: sans-serif;
  font-size: 17px;
  margin-bottom: 10px;
}
}


.toc-title {
.feature-grid {
   background: #cedff2;
   display: flex;
   padding: 8px;
   flex-wrap: wrap;
   font-weight: bold;
   gap: 10px;
   border-bottom: 1px solid #a2a9b1;
   justify-content: space-between;
}
}


.toc ol {
.feature-item {
   margin: 10px;
   width: 19%;
   padding-left: 18px;
  background-color: #f3e8fd;
  border: 1px solid #ddd;
  padding: 10px;
   box-sizing: border-box;
  text-align: center;
  font-size: 13px;
  font-family: sans-serif;
  border-radius: 5px;
  transition: transform 0.3s ease;
}
}


.section {
.feature-item:hover {
   background: white;
   transform: scale(1.05);
  border: 1px solid #a2a9b1;
   z-index: 10;
   margin-bottom: 20px;
}
}


.section-title {
.feature-image {
   background: #cedff2;
   background-color: #fff;
   padding: 10px;
   padding: 0px;
   margin: 0;
   margin-bottom: 8px;
   font-size: 18px;
   display: inline-block;
  font-weight: bold;
   border: 1px solid #ddd;
   border-bottom: 1px solid #a2a9b1;
}
}


.section-content {
.feature-image img {
   padding: 15px;
   width: 100%;
  height: auto;
}
}


a {
  color: #0645ad;
  text-decoration: none;
}


a:hover {
 
   text-decoration: underline;
 
.feature-name {
  font-weight: bold;
  margin: 4px 0;
   font-size: 18px;
}
}


.back-to-top {
.feature-desc {
  display: block;
   font-size: 13px;
  margin-top: 30px;
   color: #444;
   font-size: 12px;
   color: #555;
}
}