MediaWiki:Common.css: различия между версиями

Нет описания правки
Нет описания правки
 
(не показана 1 промежуточная версия этого же участника)
Строка 1: Строка 1:
.tagcloud-wrapper {
.category-tagcloud.auto {
    background: #f9f9f9;
  padding: 1em;
    border: 1px solid #ccc;
  border-radius: 12px;
  background: #fafafa;
  border: 1px solid #ccc;
  max-width: 100%;
  box-shadow: 0 0 4px rgba(0,0,0,0.1);
  line-height: 1.6;
  font-family: sans-serif;
}
 
.category-tagcloud.auto a {
  margin: 4px;
  display: inline-block;
  color: #223388;
  text-decoration: none;
  transition: all 0.2s ease;
}
 
/* Имитируем облако — рандомные размеры и веса */
.category-tagcloud.auto a:nth-child(6n+1) { font-size: 90%; font-weight: 400; }
.category-tagcloud.auto a:nth-child(6n+2) { font-size: 110%; font-weight: 500; }
.category-tagcloud.auto a:nth-child(6n+3) { font-size: 120%; font-weight: 600; }
.category-tagcloud.auto a:nth-child(6n+4) { font-size: 140%; font-weight: 700; }
.category-tagcloud.auto a:nth-child(6n+5) { font-size: 100%; font-weight: 400; }
.category-tagcloud.auto a:nth-child(6n)  { font-size: 130%; font-weight: 500; }
 
.category-tagcloud.auto a:hover {
  color: #0055aa;
  text-decoration: underline;
}
 
 
 
.category-tagcloud {
    border: 2px solid #cccccc;
    border-radius: 10px;
     padding: 1em;
     padding: 1em;
     border-radius: 8px;
     text-align: center;
     box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
     background: #fff;
     max-width: 800px;
     max-width: 500px;
     margin: 1em auto;
     margin: 1em auto;
     line-height: 2em;
     font-family: Arial, sans-serif;
}
}


.smw-tagcloud a {
.category-tagcloud-links a {
    display: inline-block;
    margin: 0.4em;
    color: #1a237e;
     text-decoration: none;
     text-decoration: none;
     margin: 0.3em;
     font-weight: bold;
    display: inline-block;
     transition: transform 0.2s;
    color: #337ab7;
     transition: all 0.2s;
}
}


.smw-tagcloud a:hover {
.category-tagcloud-links a:hover {
     color: #23527c;
     color: #0d47a1;
     transform: scale(1.1);
     transform: scale(1.1);
}
}