Template:XImg/styles.css: Difference between revisions

Template page
AEGIS>Pookawboo
No edit summary
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
.externalimage-container {
.externalimage-container {
     position: relative;
     position: relative;
    max-width: 100%;
}
}
.externalimage-container img {
.externalimage-container img {

Latest revision as of 12:53, 30 March 2024

.externalimage-container {
    position: relative;
    max-width: 100%;
}
.externalimage-container img {
    width: 100%;
    height: auto;
}

.externalimage-container.frame {
    padding: 7px;
    border: 1px solid var(--color-surface-2);
    border-radius: var(--border-radius--medium);
}

.externalimage-container.rounded {
	overflow: hidden;
    padding: 0px;
    border: 1px solid var(--color-surface-2);
    border-radius: var(--border-radius--large);
}

.externalimage-container.alignleft {
    margin-right: auto;
}

.externalimage-container.alignright {
    margin-left: auto;
}

.externalimage-container.aligncenter {
    margin: 0 auto;
}

.externalimage-container.floatleft {
    float: left;
}

.externalimage-container.floatright {
    float: right;
}

.externalimage-title {
	color: #fff;
    font-weight: var(--font-weight-bold);
    font-family: 'Abnes';
    position: absolute;
    bottom: 00px;
    right: 10px;
    text-shadow: 0px 0px 3px #000000;
}