MediaWiki:Common.css: различия между версиями
		
		
		
		
		
		Перейти к навигации
		Перейти к поиску
		
				
		
		
	
Drygok (обсуждение | вклад) Нет описания правки  | 
				Drygok (обсуждение | вклад)  Нет описания правки  | 
				||
| (не показано 15 промежуточных версий этого же участника) | |||
| Строка 1: | Строка 1: | ||
.mainpage-security-block {  | |||
    background: #f6f9f6;  | |||
    border: 1px solid rgba(0, 0, 0, 0.08);  | |||
    border-radius: 10px;  | |||
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);  | |||
    box-sizing: border-box;  | |||
    padding: 10px 16px;  | |||
    display: flex;  | |||
    align-items: center;  | |||
    justify-content: center;  | |||
    gap: 12px 24px;  | |||
    font-size: 14px;  | |||
    line-height: 1.5;  | |||
    font-weight: 500;  | |||
    white-space: nowrap;  | |||
}  | |||
.mainpage-security-block p {  | |||
    margin: 0;  | |||
    padding: 0;  | |||
    display: contents;  | |||
}  | |||
.mainpage-security-block .icon {  | |||
    display: inline-flex;  | |||
    align-items: center;  | |||
    justify-content: center;  | |||
    font-size: 16px;  | |||
    line-height: 1;  | |||
    flex-shrink: 0;  | |||
}  | |||
.mainpage-security-block a {  | |||
    color: #003366;  | |||
    font-weight: 500;  | |||
    text-decoration: none;  | |||
}  | |||
.mainpage-security-block a:hover {  | |||
    text-decoration: underline;  | |||
}  | |||
.mainpage-security-block-entry {  | |||
    display: inline-flex;  | |||
    align-items: center;  | |||
    gap: 6px;  | |||
    white-space: nowrap;  | |||
}  | |||
.mainpage-grid {  | .mainpage-grid {  | ||
     display:   |      display: grid;  | ||
     grid-template-columns: repeat(auto-fit, minmax(300px, 420px));  | |||
     gap: 16px;  |      gap: 16px;  | ||
     margin: 0;  |      margin: 0;  | ||
     padding: 0;  |      padding: 0;  | ||
     box-sizing: border-box;  |      box-sizing: border-box;  | ||
     font-size: 14px;  |      font-size: 14px;  | ||
     line-height: 1.45;  |      line-height: 1.45;  | ||
    justify-content: center;  | |||
}  | }  | ||
.mainpage-card {  | .mainpage-card {  | ||
     background-color: #ffffff;  |      background-color: #ffffff;  | ||
     border-radius: 10px;  |      border-radius: 10px;  | ||
| Строка 22: | Строка 74: | ||
     display: flex;  |      display: flex;  | ||
     flex-direction: column;  |      flex-direction: column;  | ||
}  | }  | ||
.mainpage-card-head {  | .mainpage-card-head {  | ||
     display: flex;  |      display: flex;  | ||
     align-items: center;  |      align-items: center;  | ||
     justify-content: flex-start;  |      justify-content: flex-start;  | ||
     width: 100%;  |      width: 100%;  | ||
     border-radius: 6px;  |      border-radius: 6px;  | ||
     padding: 6px 8px;  |      padding: 6px 8px;  | ||
     margin:   |      margin-bottom: 10px;  | ||
     gap: 8px;  |      gap: 8px;  | ||
     font-weight: 600;  |      font-weight: 600;  | ||
| Строка 57: | Строка 91: | ||
     color: #1a1a1a;  |      color: #1a1a1a;  | ||
     line-height: 1.4;  |      line-height: 1.4;  | ||
    box-sizing: border-box;  | |||
}  | }  | ||
.mainpage-card-head p {  | |||
    margin: 0;  | |||
    padding: 0;  | |||
    display: contents;  | |||
}  | |||
.mainpage-card-head .icon {  | .mainpage-card-head .icon {  | ||
     display: flex;  |      display: flex;  | ||
| Строка 66: | Строка 108: | ||
     min-width: 16px;  |      min-width: 16px;  | ||
}  | }  | ||
.mainpage-card-list {  | .mainpage-card-list {  | ||
     margin: 0;  |      margin: 0;  | ||
     padding-left: 18px;  |      padding-left: 18px;  | ||
}  | }  | ||
.mainpage-card-list li {  | .mainpage-card-list li {  | ||
     margin: 2px 0;  |      margin: 2px 0;  | ||
}  | }  | ||
.mainpage-columns-2 {  | .mainpage-columns-2 {  | ||
     column-count: 2;  |      column-count: 2;  | ||
     column-gap: 24px;  |      column-gap: 24px;  | ||
}  | }  | ||
@media (max-width: 500px) {  | @media (max-width: 500px) {  | ||
     .mainpage-columns-2 {  |      .mainpage-columns-2 {  | ||
Текущая версия от 13:06, 26 октября 2025
.mainpage-security-block {
    background: #f6f9f6;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px 24px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    white-space: nowrap;
}
.mainpage-security-block p {
    margin: 0;
    padding: 0;
    display: contents;
}
.mainpage-security-block .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}
.mainpage-security-block a {
    color: #003366;
    font-weight: 500;
    text-decoration: none;
}
.mainpage-security-block a:hover {
    text-decoration: underline;
}
.mainpage-security-block-entry {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.mainpage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 420px));
    gap: 16px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 1.45;
    justify-content: center;
}
.mainpage-card {
    background-color: #ffffff;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    padding: 12px 16px 14px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}
.mainpage-card-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    border-radius: 6px;
    padding: 6px 8px;
    margin-bottom: 10px;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #1a1a1a;
    line-height: 1.4;
    box-sizing: border-box;
}
.mainpage-card-head p {
    margin: 0;
    padding: 0;
    display: contents;
}
.mainpage-card-head .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    min-width: 16px;
}
.mainpage-card-list {
    margin: 0;
    padding-left: 18px;
}
.mainpage-card-list li {
    margin: 2px 0;
}
.mainpage-columns-2 {
    column-count: 2;
    column-gap: 24px;
}
@media (max-width: 500px) {
    .mainpage-columns-2 {
        column-count: 1;
    }
}