Skip to content

Forum Hordien by infomase

Screenshot of Forum Hordien

Details

Authorinfomase

LicenseCC BY-NC-SA 4.0

Categorymyhordes

Created

Updated

Size8.5 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Style plus proche du forum originel de Hordes. Élargit l’espace dédié aux posts, diminue celui réservé à la liste des topics, et rogne sur les vides superflus.

Notes

Source code

/* ==UserStyle==
@name           Forum Hordien
@namespace      github.com/openstyles/stylus
@version        1.0.4
@description    Un style plus proche du forum originel de Hordes.fr pour MyHordes. Élargit l’espace dédié aux posts, diminue celui réservé à la liste des topics, et réduit le nombre de vides superflus.
@author         Morue
==/UserStyle== */

@-moz-document url-prefix("https://myhordes.eu"), url-prefix("https://myhordes.fr"), url-prefix("https://myhordes.de"), url-prefix("https://myhord.es") {
	.forum-post{
		background-color:#51271e;
	}
	.tabs div.tab-link[x-ajax-href="/jx/forum"] span.hide-sm{
		font-size:0px;
		&::before{
			content:"Monde";
			font-size:1rem;
		}
	}
	.tabs div.tab-link[x-ajax-href="/jx/forum/town"] span.hide-sm{
		font-size:0px;
		&::before{
			content:"Ville";
			font-size:1rem;
		}
	}
	#wrapper > #content > .row:not(.external-app) > .cell.rw-12:not(.manual-background):not(.fact):not(.flavour-quote):not(.edge-top-left):not(.map-box){
		background:none !important;
		padding: 8px 0px 12px 0px;
		& .tabs{
			z-index:5;
			margin-left:6px;
			width:33.5%;
			
			display:flex;
			& li{
				display:block;
			}
		}
		& > .row > .rw-5{
			z-index:auto;
			width:35%;
			margin-top:-52px;
			background:url('https://fr.mhwiki.org/images/d/d1/Hordes_panel_00.gif') 0 0 no-repeat,
					url('https://fr.mhwiki.org/images/3/34/Hordes_panel_02.gif') 100% 0 no-repeat,
					url('https://fr.mhwiki.org/images/c/ce/Hordes_panel_20.gif') 0 100% no-repeat,
					url('https://fr.mhwiki.org/images/3/30/Hordes_panel_22.gif') 100% 100% no-repeat,
					url('https://fr.mhwiki.org/images/0/0c/Hordes_panel_01.gif') 0 0 repeat-x,
					url('https://fr.mhwiki.org/images/8/8f/Hordes_panel_10.gif') 0 0 repeat-y,
					url('https://fr.mhwiki.org/images/1/19/Hordes_panel_12.gif') 100% 0 repeat-y,
					url('https://fr.mhwiki.org/images/2/2e/Hordes_panel_21.gif') 0 100% repeat-x,#7e4d2a;
			padding:48px 12px 12px 15px;
			
			& > br{
				display:none;
			}
			& .row-flex:not(.inline) .cell.rw-8{
				font-size:1.14rem;
			}
			& .row-flex:not(.inline) .cell.rw-3 > .nbPost{
				font-size:1.3rem;
			}
			& > .forum-control:has(.quote){
				display:none;
			}
			& > .forum-note{
				border:0;
			}
			& > .forum-control{
				background:none;
				box-shadow:none;
				& > .forum-button-bar{
					font-variant:small-caps;
					display:flex;
					flex-direction:row-reverse;
					justify-content:flex-end;
					padding:0px;
					& div span{
						margin-left:2px;
					}
					& div:not(:first-child){
						margin-right:5px;
					}
					& div:not(:last-child) img{
						position:relative;
						bottom:1px;
					}
					& div:last-child:not(:has(img))::before{
						content:url('https://en.mhwiki.org/images/0/00/Item_rp_letter.gif');
						position:relative; 
						left:-3px;
						top:2px;
					}

					& > div.forum-header-bar:first-child{
						background:url('https://fr.mhwiki.org/images/4/4e/Hordes_h1.gif');
						background-repeat: no-repeat;
						color: #f0d79e;
						font-size: 1.4rem;
						height: 32px;
						letter-spacing: 0px;
						font-weight:700;
						margin: 0 0 8px;
						padding: 7px 0 0 48px;
						text-transform:uppercase;
						overflow:hidden;
						white-space:nowrap;

						& > span:first-child{
							display:none;
						}
					}

					& > .forum-button[x-ajax-href$="/forum"]{
						display:none;
					}
				}
			}
			& > .thread-list-fa-scroll{
				background-color:#965c36;
				&:has(.forum-separator:first-of-type) > b:first-of-type{
					display:none;
				}
				& > span:first-of-type{
					display:none;
				}
				& > b:first-of-type{
					cursor: default;
					font-size: .9em;
					font-variant: small-caps;
					padding-left: 12px;
					visibility:hidden;
					overflow:hidden;
					&::before{
						content:"Aujourd’hui";
						visibility:visible;
					}
					& img{
						display:none;
					}
				}
			}
			& > .row > .rw-12.padded.center{
				display:flex;
				padding:0;
				& .forum-button,
				& .forum-button-disabled{
					background:none;
					border:none;
					box-shadow:none;
					text-transform:uppercase;
					font-weight:normal;
					margin-bottom:0;
					padding:0;
					&:not(:nth-child(3)){
						font-size:.9rem;
						text-decoration:underline;
						font-weight:700;
						width:17%;
					}
					&:first-child{
						justify-content:flex-start;
						&::after{
							content:"DÉBUT";
						}
					}
					&:nth-child(2){
						justify-content:flex-start;
						&::after{
							content:"PRÉC.";
						}
					}
					&:nth-child(3){
						flex-grow:1;
						font-size:1.3rem;
					}
					&:nth-child(4){
						justify-content:flex-end;
						&::before{
							content:"SUIV.";
						}
					}
					&:nth-child(5){
						justify-content:flex-end;
						&::before{
							content:"FIN";
						}
					}
				}
				& .forum-button-disabled{
					visibility:hidden;
				}
			}
		}
		& > .row > .rw-7{
			z-index:10;
			width:64.5%;
			margin-top:-52px;
			margin-left:0.5%;
			background:url('https://fr.mhwiki.org/images/d/d1/Hordes_panel_00.gif') 0 0 no-repeat,
					url('https://fr.mhwiki.org/images/3/34/Hordes_panel_02.gif') 100% 0 no-repeat,
					url('https://fr.mhwiki.org/images/c/ce/Hordes_panel_20.gif') 0 100% no-repeat,
					url('https://fr.mhwiki.org/images/3/30/Hordes_panel_22.gif') 100% 100% no-repeat,
					url('https://fr.mhwiki.org/images/0/0c/Hordes_panel_01.gif') 0 0 repeat-x,
					url('https://fr.mhwiki.org/images/8/8f/Hordes_panel_10.gif') 0 0 repeat-y,
					url('https://fr.mhwiki.org/images/1/19/Hordes_panel_12.gif') 100% 0 repeat-y,
					url('https://fr.mhwiki.org/images/2/2e/Hordes_panel_21.gif') 0 100% repeat-x,#7e4d2a;
			padding:12px 12px 12px 15px;
			
			& #pagenav-top,
			& #pagenav-bottom{
				display:flex;
				& .forum-button,
				& .forum-button-disabled{
					background:none;
					border:none;
					box-shadow:none;
					text-transform:uppercase;
					font-weight:normal;
					margin-bottom:0;
					padding:0;
					&:not(:nth-child(3)){
						font-size:1rem;
						text-decoration:underline;
						font-weight:700;
						width:10%;
					}
					&:first-child{
						justify-content:flex-start;
						&::after{
							content:"DÉBUT";
						}
					}
					&:nth-child(2){
						justify-content:flex-start;
						&::after{
							content:"PRÉC.";
						}
					}
					&:nth-child(3){
						flex-grow:1;
						font-size:1.3rem;
					}
					&:nth-child(4){
						justify-content:flex-end;
						&::before{
							content:"SUIV.";
						}
					}
					&:nth-child(5){
						justify-content:flex-end;
						&::before{
							content:"FIN";
						}
					}
				}
				& .forum-button-disabled{
					visibility:hidden;
				}
			}
			& #pagenav-top{
				position:relative;
				top:2px;
			}
			& #pagenav-bottom{
				position:relative;
				bottom:28px;
				margin-bottom:18px;
			}
			
			& #forum-content{
				&:has(#pagenav-bottom) > div:not(.forum-control):has(.row-flex.wrap.stretch){
					position:relative;
					top:36px;
				}
				&:not(:has(#pagenav-bottom)) > div:last-of-type{
					margin-bottom:8px;
				}
				& .forum-control,
				& > div:not(.forum-control):has(.row-flex.wrap.stretch){
					background:none;
					box-shadow:none;
					margin-top:4px;
					margin-bottom:-32px;
					font-variant:small-caps;

					& .row-flex{
						flex-direction:row-reverse;
						& .grow-1.right{
							display:flex;
							flex-direction:row-reverse;
							justify-content:flex-end;
							& div span{
								margin-left:2px;
							}
							& div:not(:first-child){
								margin-right:5px;
							}
							& div:not(:last-child) img{
								position:relative;
								bottom:1px;
							}
							& div:last-child:not(:has(img))::before{
								content:url('https://en.mhwiki.org/images/0/00/Item_rp_letter.gif');
								position:relative; 
								left:-3px;
								top:2px;
							}
						}
					}

					& > div.forum-header-bar:first-child{
						background:url('https://fr.mhwiki.org/images/4/4e/Hordes_h1.gif');
						background-repeat: no-repeat;
						color: #f0d79e;
						font-size: 1.4rem;
						height: 32px;
						letter-spacing: 0px;
						font-weight:700;
						margin: 0 0 8px;
						padding: 7px 0 0 48px;
						text-transform:uppercase;
						overflow:hidden;
						white-space:nowrap;

						& > span:first-child{
							display:none;
						}
					}
				}
				& > .row:has(.infoSolvedThread):not(:nth-of-type(2)),
				& > .row:has(.infoThread):not(:nth-of-type(2)){
					height:10px;
					& > div{
						display:none;
					}
				}
			}
		}
	}
}

Reviews

No reviews yet.