|
|
Строка 10: |
Строка 10: |
| background-color: #fdeaa8; | | background-color: #fdeaa8; |
| z-index; 2; | | z-index; 2; |
| }
| |
| /* Шапка
| |
| div#mw-head {
| |
| }*/
| |
| /* Основа для страницы — пока непонятно, зачем надо
| |
| Может изменять цвет полосы под строкой пользователя */
| |
| #mw-page-base {
| |
| background-color: transparent;
| |
| background-image: none;
| |
| }
| |
| /* Строка с функциями пользователя.
| |
| Ширится на всю страницу, ещё и после лого,
| |
| поэтому фон должен быть прозрачным */
| |
| #p-personal {
| |
| position: fixed;
| |
| top: 0;
| |
| right: 0;
| |
| background-color: rgba(255,255,255,0.7);
| |
| width: 100%;
| |
| max-width: 100%;
| |
| z-index: 3;
| |
| }
| |
| #p-personal li {
| |
| margin: 0.5em 0.25em;
| |
| }
| |
| #p-personal ul {
| |
| float: right;
| |
| }
| |
| /* Хак, чтобы ничего не мешалось */
| |
| div.vectorTabs,
| |
| div.vectorTabs ul,
| |
| div.vectorTabs ul li,
| |
| div.vectorTabs span {
| |
| background-color: transparent;
| |
| background-image: none;
| |
| }
| |
| /* Стиль невыбранных кнопок в панели навигации */
| |
| div.vectorTabs ul li {
| |
| background-image: url(http://jantanoo.info/w/images/passiv-fdeaa8.png);
| |
| background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAABkCAYAAABHLFpgAAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4QUJEQwTkctl6AAAACZpVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVAgb24gYSBNYWOV5F9bAAAAg0lEQVQY022NQRIDIRACW2b1/3/LV3JecnAlmsoNpoEBgPv9GgKGAE1l7i5oQ8Al7C4aQ9i1gEtAfyK4x/ZMdYGvRK7QEp72XKGOxmYrK0uZlr+1g/ncSk3nSglPqtROdQ7sYQloedly02Md9dvYbk142i+Imiv/AOkSQHIssIV5wFIfWEA8Uwy7WOAAAAAASUVORK5CYII=');
| |
| background-repeat: repeat-x;
| |
| background-position: 0% 0%;
| |
| }
| |
| /* Стиль выбранных кнопок в панели навигации.
| |
| Используется по умолчанию изображение 1*100 */
| |
| div.vectorTabs li.selected {
| |
| background-image: url(http://jantanoo.info/w/images/aktiv-fdeaa8.png);
| |
| background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAABkCAYAAABHLFpgAAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4QUJEQk30L91fAAAACZpVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVAgb24gYSBNYWOV5F9bAAAAaElEQVQY0+2KwRHCMADDFNE0pczA/vswC9/GPNL0YAc+PtkWx/v1lOQh5C5wRTYhu8AmsAtZJWmX0gTapKynPJQs1zZrsgqpAovQq0CVDPk23/i7zUj3fIfyVYukl5PoRTIIIQj8A/gAI6kyVQCnArkAAAAASUVORK5CYII=');
| |
| background-repeat: repeat-x;
| |
| }
| |
| /* Панель слева */
| |
| div#mw-panel {
| |
| position: fixed;
| |
| top: 190px;
| |
| z-index: 1;
| |
| }
| |
|
| |
| /* Логотип!
| |
| #p-logo {
| |
| }*/
| |
| /* Подвал, шириной со статью
| |
| div#footer {
| |
| }*/
| |
|
| |
| .infobox {
| |
| border: 1px solid #aaa;
| |
| background: #f9f9f9;
| |
| margin-bottom: 0.5em;
| |
| margin-left: 1em;
| |
| /* padding: .4em;*/
| |
| float: right;
| |
| clear: right;
| |
| font-size: 88%;
| |
| width: 23em;
| |
| vertical-align: middle;
| |
| text-align: left;
| |
| line-height: 1.5em;
| |
| border-collapse: separate;
| |
| border-spacing: 2px;
| |
| }
| |
| .infobox > caption {
| |
| font-size: 125%;
| |
| font-weight: bold;
| |
| }
| |
| .infobox td,
| |
| .infobox th {
| |
| vertical-align: top;
| |
| }
| |
|
| |
| /* temporarily for [[Template:Карточка]] */
| |
| table.infobox td p {
| |
| margin: 0 !important;
| |
| }
| |
|
| |
| /* списки в карточках */
| |
| .infobox th>ul,
| |
| .infobox td>ul {
| |
| list-style-type: none;
| |
| list-style-image: none;
| |
| margin: 0;
| |
| }
| |
| .infobox th>ol,
| |
| .infobox td>ol {
| |
| line-height: 1.1em;
| |
| margin: 0 0 0 2em;
| |
| }
| |
| .infobox li {
| |
| margin-bottom: 0;
| |
| }
| |
| /* Default style for navigation boxes */
| |
| .navbox { /* Navbox container style */
| |
| background: #f9f9f9;
| |
| border: 1px solid #aaa;
| |
| clear: both;
| |
| font-size: 90%;
| |
| margin: 1em 0em 0em;
| |
| padding: 2px;
| |
| width: 100%;
| |
| margin: auto;
| |
| }
| |
|
| |
| .navbox th a {
| |
| color: inherit !important;
| |
| }
| |
| .navbox-inner,
| |
| .navbox-subgroup {
| |
| width: 100%;
| |
| }
| |
| .navbox-group,
| |
| .navbox-title,
| |
| .navbox-abovebelow {
| |
| padding: 0.25em 1em; /* Title, group and above/below styles */
| |
| line-height: 1.5em;
| |
| text-align: center;
| |
| }
| |
| th.navbox-group { /* Group style */
| |
| white-space: nowrap;
| |
| /* @noflip */
| |
| text-align: right;
| |
| }
| |
| .navbox,
| |
| .navbox-subgroup {
| |
| background: #fdfdfd; /* Background color */
| |
| }
| |
| .navbox-list {
| |
| line-height: 1.8em;
| |
| border-color: #fdfdfd; /* Must match background color */
| |
| }
| |
| .navbox th,
| |
| .navbox-title {
| |
| background: #ccccff; /* Level 1 color */
| |
| }
| |
| .navbox-abovebelow,
| |
| th.navbox-group,
| |
| .navbox-subgroup .navbox-title {
| |
| background: #ddddff; /* Level 2 color */
| |
| }
| |
| .navbox-subgroup .navbox-group,
| |
| .navbox-subgroup .navbox-abovebelow {
| |
| background: #e6e6ff; /* Level 3 color */
| |
| }
| |
| .navbox-even {
| |
| background: #f7f7f7; /* Even row striping */
| |
| }
| |
| .navbox-odd {
| |
| background: transparent; /* Odd row striping */
| |
| }
| |
| .navbox .hlist td dl,
| |
| .navbox .hlist td ol,
| |
| .navbox .hlist td ul,
| |
| .navbox td.hlist dl,
| |
| .navbox td.hlist ol,
| |
| .navbox td.hlist ul {
| |
| padding: 0.125em 0; /* Adjust hlist padding in navboxes */
| |
| }
| |
| .navbox {
| |
| margin-top: 1em; /* Prevent preceding content from clinging to navboxes */
| |
| }
| |
| .navbox .navbox {
| |
| margin-top: 0; /* No top margin for nested navboxes */
| |
| }
| |
| .navbox + .navbox {
| |
| margin-top: -1px; /* Single pixel border between adjacent navboxes */
| |
| }
| |
|
| |
| /* Default styling for Navbar template */
| |
| .navbar {
| |
| display: inline;
| |
| font-size: 88%;
| |
| font-weight: normal;
| |
| }
| |
| .navbar ul {
| |
| display: inline;
| |
| white-space: nowrap;
| |
| }
| |
| .navbar li {
| |
| word-spacing: -0.125em;
| |
| }
| |
| .navbar.mini li span {
| |
| font-variant: small-caps;
| |
| }
| |
| /* Navbar styling when nested in infobox and navbox */
| |
| .infobox .navbar {
| |
| font-size: 100%;
| |
| }
| |
| .navbox .navbar {
| |
| display: block;
| |
| font-size: 100%;
| |
| }
| |
| .navbox-title .navbar {
| |
| /* @noflip */
| |
| float: left;
| |
| /* @noflip */
| |
| text-align: left;
| |
| /* @noflip */
| |
| margin-right: 0.5em;
| |
| width: 6em;
| |
| }
| |
| /* Какая-то хрень для навигации */
| |
| /*{Навигационная полоса}, {Hider}, ... */
| |
| div.Boxmerge,
| |
| div.NavFrame {
| |
| margin: 0;
| |
| padding: 2px;
| |
| border: 1px solid #aaa;
| |
| text-align: center;
| |
| border-collapse: collapse;
| |
| font-size: 95%;
| |
| }
| |
| div.Boxmerge div.NavFrame {
| |
| border-style: none;
| |
| border-style: hidden;
| |
| }
| |
| div.NavFrame + div.NavFrame {
| |
| border-top-style: none;
| |
| border-top-style: hidden;
| |
| }
| |
| div.NavPic {
| |
| background: #fff;
| |
| margin: 0;
| |
| padding: 2px;
| |
| float: left;
| |
| }
| |
| div.NavFrame div.NavHead {
| |
| height: 1.6em;
| |
| font-weight: bold;
| |
| font-size: 100%;
| |
| background: #efefef;
| |
| position: relative;
| |
| }
| |
| div.NavFrame p,
| |
| div.NavFrame div.NavContent,
| |
| div.NavFrame div.NavContent p {
| |
| font-size: 100%
| |
| }
| |
| div.NavEnd {
| |
| margin: 0;
| |
| padding: 0;
| |
| line-height: 1px;
| |
| clear: both;
| |
| }
| |
| a.NavToggle {
| |
| float: right;
| |
| margin-right: 3px;
| |
| font-weight: normal;
| |
| font-size: 90%;
| |
| }
| |
|
| |
|
| |
|
| |
| /* Пошли стили для всяких примечаний сверху */
| |
| /* Разрешение неоднозначностей и пр. */
| |
| .printonly {
| |
| display: none;
| |
| }
| |
|
| |
| .dablink,
| |
| .rellink {
| |
| font-style: italic;
| |
| padding-left: 1.6em;
| |
| }
| |
|
| |
| #disambig {
| |
| border-top: 3px double #ccc;
| |
| border-bottom: 3px double #ccc;
| |
| }
| |
| /* Стили сообщений */
| |
| /* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
| |
| th.mbox-text,
| |
| td.mbox-text { /* The message body cell(s) */
| |
| border: none;
| |
| /* @noflip */
| |
| padding: 0.25em 0.9em; /* 0.9em left/right */
| |
| width: 100%; /* Make all mboxes the same width regardless of text length */
| |
| }
| |
| td.mbox-image { /* The left image cell */
| |
| border: none;
| |
| /* @noflip */
| |
| padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */
| |
| text-align: center;
| |
| }
| |
| td.mbox-imageright { /* The right image cell */
| |
| border: none;
| |
| /* @noflip */
| |
| padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */
| |
| text-align: center;
| |
| }
| |
| td.mbox-empty-cell { /* An empty narrow cell */
| |
| border: none;
| |
| padding: 0px;
| |
| width: 1px;
| |
| }
| |
|
| |
|
| |
| /* Image message box styles */
| |
| table.imbox {
| |
| margin: 4px 10%;
| |
| border-collapse: collapse;
| |
| border: 3px solid #1e90ff; /* Default "notice" blue */
| |
| background: #fbfbfb;
| |
| }
| |
| .imbox .mbox-text .imbox { /* For imboxes inside imbox-text cells. */
| |
| margin: 0 -0.5em; /* 0.9 - 0.5 = 0.4em left/right. */
| |
| display: block; /* Fix for webkit to force 100% width. */
| |
| }
| |
| .mbox-inside .imbox { /* For imboxes inside other templates. */
| |
| margin: 4px;
| |
| }
| |
|
| |
| table.imbox-notice {
| |
| border: 3px solid #1e90ff; /* Blue */
| |
| }
| |
| table.imbox-speedy {
| |
| border: 3px solid #b22222; /* Red */
| |
| background: #fee; /* Pink */
| |
| }
| |
| table.imbox-delete {
| |
| border: 3px solid #b22222; /* Red */
| |
| }
| |
| table.imbox-content {
| |
| border: 3px solid #f28500; /* Orange */
| |
| }
| |
| table.imbox-style {
| |
| border: 3px solid #f4c430; /* Yellow */
| |
| }
| |
| table.imbox-move {
| |
| border: 3px solid #9932cc; /* Purple */
| |
| }
| |
| table.imbox-protection {
| |
| border: 3px solid #bba; /* Gray-gold */
| |
| }
| |
| table.imbox-license {
| |
| border: 3px solid #88a; /* Dark gray */
| |
| background: #f7f8ff; /* Light gray */
| |
| }
| |
| table.imbox-featured {
| |
| border: 3px solid #cba135; /* Brown-gold */
| |
| }
| |
|
| |
| /* Category message box styles */
| |
| table.cmbox {
| |
| margin: 3px 10%;
| |
| border-collapse: collapse;
| |
| border: 1px solid #aaa;
| |
| background: #dfe8ff; /* Default "notice" blue */
| |
| }
| |
|
| |
| table.cmbox-notice {
| |
| background: #d8e8ff; /* Blue */
| |
| }
| |
| table.cmbox-speedy {
| |
| margin-top: 4px;
| |
| margin-bottom: 4px;
| |
| border: 4px solid #b22222; /* Red */
| |
| background: #ffdbdb; /* Pink */
| |
| }
| |
| table.cmbox-delete {
| |
| background: #ffdbdb; /* Red */
| |
| }
| |
| table.cmbox-content {
| |
| background: #ffe7ce; /* Orange */
| |
| }
| |
| table.cmbox-style {
| |
| background: #fff9db; /* Yellow */
| |
| }
| |
| table.cmbox-move {
| |
| background: #e4d8ff; /* Purple */
| |
| }
| |
| table.cmbox-protection {
| |
| background: #efefe1; /* Gray-gold */
| |
| }
| |
|
| |
| /* Other pages message box styles */
| |
| table.ombox {
| |
| margin: 4px 10%;
| |
| border-collapse: collapse;
| |
| border: 1px solid #aaa; /* Default "notice" gray */
| |
| background: #f9f9f9;
| |
| }
| |
|
| |
| table.ombox-notice {
| |
| border: 1px solid #aaa; /* Gray */
| |
| }
| |
| table.ombox-speedy {
| |
| border: 2px solid #b22222; /* Red */
| |
| background: #fee; /* Pink */
| |
| }
| |
| table.ombox-delete {
| |
| border: 2px solid #b22222; /* Red */
| |
| }
| |
| table.ombox-content {
| |
| border: 1px solid #f28500; /* Orange */
| |
| }
| |
| table.ombox-style {
| |
| border: 1px solid #f4c430; /* Yellow */
| |
| }
| |
| table.ombox-move {
| |
| border: 1px solid #9932cc; /* Purple */
| |
| }
| |
| table.ombox-protection {
| |
| border: 2px solid #bba; /* Gray-gold */
| |
| }
| |
|
| |
| /* Talk page message box styles */
| |
| table.tmbox {
| |
| margin: 4px 10%;
| |
| border-collapse: collapse;
| |
| border: 1px solid #c0c090; /* Default "notice" gray-brown */
| |
| background: #f8eaba;
| |
| }
| |
| .mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
| |
| margin: 2px 0; /* this declaration overrides other styles (including mbox-small above) */
| |
| width: 100%; /* For Safari and Opera */
| |
| }
| |
| .mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when */
| |
| line-height: 1.5em; /* also "nested", so reset styles that are */
| |
| font-size: 100%; /* set in "mbox-small" above. */
| |
| }
| |
|
| |
| table.tmbox-speedy {
| |
| border: 2px solid #b22222; /* Red */
| |
| background: #fee; /* Pink */
| |
| }
| |
| table.tmbox-delete {
| |
| border: 2px solid #b22222; /* Red */
| |
| }
| |
| table.tmbox-content {
| |
| border: 2px solid #f28500; /* Orange */
| |
| }
| |
| table.tmbox-style {
| |
| border: 2px solid #f4c430; /* Yellow */
| |
| }
| |
| table.tmbox-move {
| |
| border: 2px solid #9932cc; /* Purple */
| |
| }
| |
| table.tmbox-protection,
| |
| table.tmbox-notice {
| |
| border: 1px solid #c0c090; /* Gray-brown */
| |
| }
| |
|
| |
| /* {ambox} */
| |
| table.ambox {
| |
| width: auto;
| |
| margin: 0 10%;
| |
| border-collapse: collapse;
| |
| background: #fbfbfb;
| |
| border: 1px solid #aaa;
| |
| border-left: 10px solid #1e90ff;
| |
| }
| |
| table.ambox th,
| |
| table.ambox td {
| |
| padding: 0.25em 0.5em;
| |
| }
| |
| table.ambox td.ambox-widthhack {
| |
| padding: 0;
| |
| }
| |
| table.ambox td.ambox-text {
| |
| width: 100%;
| |
| }
| |
| table.ambox td.ambox-text .ambox-text-small {
| |
| font-size: smaller;
| |
| }
| |
| table.ambox td.ambox-image {
| |
| width: 52px;
| |
| padding: 2px 0 2px 0.5em;
| |
| text-align: center;
| |
| }
| |
| table.ambox td.ambox-imageright {
| |
| width: 52px;
| |
| padding: 2px 4px 2px 0;
| |
| text-align: center;
| |
| }
| |
| table.ambox td.ambox-image div,
| |
| table.ambox td.ambox-imageright div {
| |
| /* Фикс для изображений разной ширины */
| |
| width: 52px;
| |
| }
| |
| table.ambox-delete,
| |
| table.ambox-serious {
| |
| border-left: 10px solid #b22222;
| |
| }
| |
| table.ambox-content {
| |
| border-left: 10px solid #f28500;
| |
| }
| |
| table.ambox-style {
| |
| border-left: 10px solid #f4c430;
| |
| }
| |
| table.ambox-good {
| |
| border-left: 10px solid #66cc44;
| |
| }
| |
| table.ambox-discussion {
| |
| border-left: 10px solid #339966;
| |
| }
| |
| table.ambox-notice {
| |
| border-left: 10px solid #1e90ff;
| |
| }
| |
| table.ambox-merge {
| |
| border-left: 10px solid #9932cc;
| |
| }
| |
| table.ambox.ambox-mini {
| |
| float: right;
| |
| clear: right;
| |
| margin: 0 0 0.5em 1em;
| |
| width: 20%;
| |
| }
| |
| table.ambox + table.ambox { /* Single border between stacked boxes. */
| |
| margin-top: -1px;
| |
| }
| |
| /* Footer and header message box styles */
| |
| table.fmbox {
| |
| clear: both;
| |
| margin: 0.2em 0;
| |
| width: 100%;
| |
| border: 1px solid #aaa;
| |
| /* Default "system" gray */
| |
| background: #f9f9f9;
| |
| }
| |
| table.fmbox-system {
| |
| background: #f9f9f9;
| |
| }
| |
| table.fmbox-warning {
| |
| border: 1px solid #bb7070; /* Dark pink */
| |
| background: #ffdbdb; /* Pink */
| |
| }
| |
| table.fmbox-editnotice {
| |
| background: transparent;
| |
| }
| |
| /* Div based "warning" style fmbox messages. */
| |
| div.mw-warning-with-logexcerpt,
| |
| div.mw-lag-warn-high,
| |
| div.mw-cascadeprotectedwarning,
| |
| div#mw-protect-cascadeon {
| |
| clear: both;
| |
| margin: 0.2em 0;
| |
| border: 1px solid #bb7070;
| |
| background: #ffdbdb;
| |
| padding: 0.25em 0.9em;
| |
| }
| |
| /* Div based "system" style fmbox messages.
| |
| Used in [[MediaWiki:Readonly lag]]. */
| |
| div.mw-lag-warn-normal,
| |
| div.fmbox-system {
| |
| clear: both;
| |
| margin: 0.2em 0;
| |
| border: 1px solid #aaa;
| |
| background: #f9f9f9;
| |
| padding: 0.25em 0.9em;
| |
| }
| |
|
| |
| /* These mbox-small classes must be placed after all other
| |
| ambox/tmbox/ombox etc classes. "body.mediawiki" is so
| |
| they override "table.ambox + table.ambox" above. */
| |
| body.mediawiki table.mbox-small { /* For the "small=yes" option. */
| |
| /* @noflip */
| |
| clear: right;
| |
| /* @noflip */
| |
| float: right;
| |
| /* @noflip */
| |
| margin: 4px 0 4px 1em;
| |
| width: 238px;
| |
| font-size: 88%;
| |
| line-height: 1.25em;
| |
| }
| |
| body.mediawiki table.mbox-small-left { /* For the "small=left" option. */
| |
| /* @noflip */
| |
| margin: 4px 1em 4px 0;
| |
| width: 238px;
| |
| border-collapse: collapse;
| |
| font-size: 88%;
| |
| line-height: 1.25em;
| |
| }
| |
|
| |
| /* Это локальные классы для шаблонов улиц */
| |
| .zdanije {
| |
| background: yellow;
| |
| }
| |
| .park {
| |
| background: green;
| |
| }
| |
| .skver {
| |
| background: green;
| |
| }
| |
| .gidro {
| |
| background: blue;
| |
| color: white;
| |
| }
| |
| .territorija
| |
| {
| |
| background: gray;
| |
| }
| |
| /* Ячейки, в которых одна ссылка и та на всю ячейку */
| |
| .entirelink a
| |
| {
| |
| display: block;
| |
| width: 100%;
| |
| height: 100%;
| |
| text-decoration: none !important;
| |
| }
| |
| .cvetssylka a, .cvetssylka span
| |
| {
| |
| color: inherit !important;
| |
| }
| |
| .entirelink
| |
| {
| |
| font-size: 150%;
| |
| margin: 0;
| |
| }
| |
|
| |
| #ulica
| |
| {
| |
| width: 100%;
| |
| min-height: 100%;
| |
| font-size: 8pt;
| |
| display: table;
| |
| display: -webkit-flexbox;
| |
| display: -ms-flexbox;
| |
| display: -webkit-flex;
| |
| display: box;
| |
| display: flexbox;
| |
| display: flex;
| |
| -webkit-flex-wrap: wrap;
| |
| -ms-flex-wrap: wrap;
| |
| flex-wrap: wrap;
| |
| align-content: space-between;
| |
| align-items: stretch;
| |
| line-height: normal;
| |
| }
| |
|
| |
| #ulica div
| |
| {
| |
| display: -webkit-flexbox;
| |
| display: -ms-flexbox;
| |
| display: -webkit-flex;
| |
| display: box;
| |
| display: flexbox;
| |
| display: flex;
| |
| align-items: center;
| |
| flex: 1 0 auto;
| |
| }
| |
| #ulica > div
| |
| {
| |
| min-height: 115px;
| |
| margin-bottom: 1.5em;
| |
| }
| |
| #ulica .kvartal
| |
| {
| |
| display: -webkit-flexbox;
| |
| display: -ms-flexbox;
| |
| display: -webkit-flex;
| |
| display: box;
| |
| display: flexbox;
| |
| display: flex;
| |
| flex-direction: column;
| |
| align-items: stretch;
| |
| }
| |
| #ulica a,
| |
| #ulica i
| |
| {
| |
| max-width: 10em;
| |
| margin: 0 auto;
| |
| display: inline-block;
| |
| }
| |
| #ulica span
| |
| {
| |
| display: inline-block;
| |
|
| |
| max-width: 9em;
| |
| flex: 1 0 auto;
| |
| }
| |
| #ulica .gruppa
| |
| {
| |
| display: table;
| |
| display: -webkit-flexbox;
| |
| display: -ms-flexbox;
| |
| display: -webkit-flex;
| |
| display: box;
| |
| display: flexbox;
| |
| display: flex;
| |
| flex: 1 0 auto;
| |
| align-items: stretch;
| |
| }
| |
| #ulica .levo
| |
| {
| |
| border-bottom: 0.5ex solid;
| |
| height: 50%;
| |
| margin-bottom: 0.5em
| |
| }
| |
| #ulica .pravo
| |
| {
| |
| border-top: 0.5ex solid;
| |
| height: 50%;
| |
| margin-top: 0.5em;
| |
| }
| |
| #ulica .levo > div, #ulica .pravo > div
| |
| {
| |
| margin: 0 0.25em;
| |
| padding: 0 0.5em;
| |
| }
| |
| #Nachalo span,
| |
| #PeredNachalom span
| |
| {
| |
| -moz-transform: rotate(270deg); /* Для Firefox */
| |
| -ms-transform: rotate(270deg); /* Для IE */
| |
| -webkit-transform: rotate(270deg); /* Для Safari, Chrome, iOS */
| |
| -o-transform: rotate(270deg); /* Для Opera */
| |
| transform: rotate(270deg);
| |
| display: inline-block;
| |
| padding: 40% 0;
| |
| }
| |
| #Konec span,
| |
| #PosleKonca span
| |
| {
| |
| -moz-transform: rotate(90deg); /* Для Firefox */
| |
| -ms-transform: rotate(90deg); /* Для IE */
| |
| -webkit-transform: rotate(90deg); /* Для Safari, Chrome, iOS */
| |
| -o-transform: rotate(90deg); /* Для Opera */
| |
| transform: rotate(90deg);
| |
| display: inline-block;
| |
| }
| |
| #Nachalo,
| |
| #PeredNachalom,
| |
| #Konec,
| |
| #PosleKonca,
| |
| #Nachalo div,
| |
| #PeredNachalom div,
| |
| #Konec div,
| |
| #PosleKonca div
| |
| {
| |
| max-width: 90px;
| |
| }
| |
| #doroga
| |
| {
| |
| border-left:0.25ex solid black;
| |
| border-right:0.25ex solid black;
| |
| }
| |
| /* Style for horizontal lists (separator following item).
| |
| @source mediawiki.org/wiki/Snippets/Horizontal_lists
| |
| @revision 9 (2016-08-10)
| |
| @author [[User:Edokter]]
| |
| */
| |
| .hlist dl,
| |
| .hlist ol,
| |
| .hlist ul {
| |
| margin: 0;
| |
| padding: 0;
| |
| }
| |
| /* Display list items inline */
| |
| .hlist dd,
| |
| .hlist dt,
| |
| .hlist li {
| |
| margin: 0;
| |
| display: inline;
| |
| }
| |
| /* Display nested lists inline */
| |
| .hlist.inline,
| |
| .hlist.inline dl,
| |
| .hlist.inline ol,
| |
| .hlist.inline ul,
| |
| .hlist dl dl, .hlist dl ol, .hlist dl ul,
| |
| .hlist ol dl, .hlist ol ol, .hlist ol ul,
| |
| .hlist ul dl, .hlist ul ol, .hlist ul ul {
| |
| display: inline;
| |
| }
| |
| /* Hide empty list items */
| |
| .hlist .mw-empty-li,
| |
| .hlist .mw-empty-elt {
| |
| display: none;
| |
| }
| |
| /* Generate interpuncts */
| |
| .hlist dt:after {
| |
| content: ": ";
| |
| }
| |
| .hlist dd:after,
| |
| .hlist li:after {
| |
| content: " · ";
| |
| font-weight: bold;
| |
| }
| |
| .hlist dd:last-child:after,
| |
| .hlist dt:last-child:after,
| |
| .hlist li:last-child:after {
| |
| content: none;
| |
| }
| |
| /* Add parentheses around nested lists */
| |
| .hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
| |
| .hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
| |
| .hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
| |
| content: " (";
| |
| font-weight: normal;
| |
| }
| |
| .hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
| |
| .hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
| |
| .hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
| |
| content: ")";
| |
| font-weight: normal;
| |
| }
| |
| /* Put ordinals in front of ordered list items */
| |
| .hlist ol {
| |
| counter-reset: listitem;
| |
| }
| |
| .hlist ol > li {
| |
| counter-increment: listitem;
| |
| }
| |
| .hlist ol > li:before {
| |
| content: " " counter(listitem) "\a0";
| |
| }
| |
| .hlist dd ol > li:first-child:before,
| |
| .hlist dt ol > li:first-child:before,
| |
| .hlist li ol > li:first-child:before {
| |
| content: " (" counter(listitem) "\a0";
| |
| } | | } |