MediaWiki:Common.css: Difference between revisions

mNo edit summary
mNo edit summary
Line 30: Line 30:
   flex: 1 1 300px;
   flex: 1 1 300px;
   max-width: 400px;
   max-width: 400px;
   background: #fdfdfd;
   background: #f9f7f3;
   padding: 1.2em 1.5em;
   padding: 1.2em 1.5em;
   border: 1px solid #ccc;
   border: 1px solid #e0e0e0;
   border-radius: 8px;
   border-radius: 8px;
   box-shadow: 0 2px 6px rgba(0,0,0,0.05);
   box-shadow: 0 2px 6px rgba(0,0,0,0.04);
   transition: box-shadow 0.3s ease;
   transition: box-shadow 0.3s ease;
}
}


.pm-box:hover {
.pm-box:hover {
   box-shadow: 0 4px 10px rgba(0,0,0,0.1);
   box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
}


Line 46: Line 46:
   font-size: 1.2em;
   font-size: 1.2em;
   margin-bottom: 0.5em;
   margin-bottom: 0.5em;
   color: #333;
   color: #2c3e50;
   border-bottom: 1px solid #ddd;
   border-bottom: 1px solid #ccc;
   padding-bottom: 0.25em;
   padding-bottom: 0.25em;
}
}


.pm-highlight {
.pm-highlight {
   border-color: #8aacc8;
   border-color: #4a6fa5;
   background-color: #f3f7fa;
   background-color: #eef2f7;
}
 
.pm-news-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1em;
}
 
.pm-news-list li {
  margin-bottom: 1em;
  padding-left: 1em;
  border-left: 3px solid #4a6fa5;
  position: relative;
}
 
.pm-news-date {
  font-weight: bold;
  color: #4a6fa5;
  display: block;
  margin-bottom: 0.25em;
}
 
.pm-site-intro {
  text-align: center;
  margin-bottom: 2em;
}
 
.pm-site-intro h2 {
  font-size: 1.8em;
  color: #2c3e50;
  margin-bottom: 0.25em;
}
}