

.plugin_button:hover {
	background-color: __background_neu__;
	color: __text__;
}

.plugin_button {
	border-radius:6px;
	border:1px solid __border__;
	background-color: __background_alt__;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	padding:0.5em;
	margin: 0.2em;
	text-decoration:none;
	display: inline-table;
	text-align:center;
	text-shadow:1px 1px 0px #ffffff;
	vertical-align: middle;
	max-width: 100%;
	box-sizing: border-box;
}

/* 2020-05-11 : moved maximum CSS up a level to allow override on a per-button basis 
 - text-shallow : simply moved
 - vertical-align : force inherit to get the one from upper level
*/

.plugin_button_text {
	display: table-cell;
	width: 99%;
	vertical-align: inherit;
	overflow-wrap: break-word;
	word-break: break-word;
	hyphens: auto;
}

.plugin_button_text.mediafile {
	background-position:left center;
}

.plugin_button_image {
	display: table-cell;
	vertical-align: inherit;
	white-space: nowrap;
	padding-right: 1em;
}

/*  2014-07-28 : fix bizarre chrome behaviour */
/*  2026-02-11 : responsive fix - images scale to fit container */
#content .plugin_button_image img , .plugin_button_image img {
	max-width: none;
	height: auto;
}

/* Responsive: cuando el contenedor es pequeño, las imágenes se adaptan */
@media screen and (max-width: 800px) {
	.plugin_button {
		display: block;
		width: 100%;
	}
	.plugin_button_image {
		display: block;
		padding-right: 0;
		padding-bottom: 0.5em;
		text-align: center;
	}
	.plugin_button_image img {
		max-width: 100%;
		height: auto;
	}
	.plugin_button_text {
		display: block;
		width: 100%;
		overflow-wrap: break-word;
		word-break: break-word;
		hyphens: auto;
	}
}

/*  
Note : 
- template style won't apply to the links because it is not a <a> link.
- if I forced a link here (beside some problems in layout), it will override css given

If you want standard CSS here, just copy it below, and add a space between 'a' and the class
(example below for external links)
*/

.dokuwiki a .urlextern {
    background-image: url(../../images/external-link.png);
    background-repeat: no-repeat;
    background-position: 0 center;
    padding: 0 0 0 18px;
}
