Jump to content

MediaWiki:Gadget-scribe.css

From testwiki, a Wikimedia project for testing

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
#mw-scribe-action-page-title {
	font-size: 34px;
	margin-bottom: 17px;
	margin-right: 60px;
	text-decoration: underline;
	opacity: 0.5;
}

#mw-scribe-action-button-group {
	overflow: hidden;
	max-width: inherit;
	margin-bottom: -3px;
	flex-wrap: wrap;
	width: 100%;
	opacity: 0.7;
	border-bottom: none;
}

.mw-scribe-ref-btn {
	margin-top: 20px;
	z-index: 1;
	text-align: center;
	display: inherit;
	margin-left: 146px;
}

.slideshow-container {
	width: 433px;
}

.oo-ui-buttonElement-framed.oo-ui-iconElement.oo-ui-labelElement>.oo-ui-buttonElement-button,
.oo-ui-buttonElement-framed.oo-ui-iconElement.oo-ui-indicatorElement>.oo-ui-buttonElement-button {
	width: 145px;
}

.mw-scribe-add-reference-button {
	padding: 10px;
	text-align: cent375er;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	margin: 4px 2px;
}


.mw-scribe-ref-box {
	height: 70px;
	background-color: white;
	padding-top: 21px;
	padding-bottom: 10px;
	width: 94%;
	margin-top: 5px;
	position: relative;
	margin-bottom: 0.5px;
	text-align: left;
	margin-top: 2px;
	display: grid;
}

.mw-scribe-ref-link-box {
	padding-top: 13px;
	overflow: hidden;
	height: 1.5em;
	line-height: 2em;
	/*makes link overlap cut-off */
	text-overflow: ellipsis;
	white-space: pre-wrap;
}

.mw-scribe-ref-title {
	font-size: 12px;
	/* float: left; */
	margin-left: 5px;
	margin-top: -12px;
	margin-bottom: 7px;
	height: 1em;
	line-height: 1em;
	font-weight: bold;
	white-space: pre-wrap;
	overflow: hidden;
}

.mw-scribe-ref-link {
	margin-top: 5px;
	margin-left: 5px;
	width: 100%;
	word-break: break-all;
	text-overflow: hidden;
	overflow: auto;
	line-height: 3em;	
	/*with: 325px to be added when #proposed is removed*/
}


.mw-scribe-ref-text {
	text-overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: -4px;
	height: 3em;
	font-size: 9.5px;
	line-height: 1.5em;
	white-space: pre-wrap;
	overflow: hidden;
	padding-left: 6px;
}

#mw-scribe-ref-domain {
	float: right;
	color: red;
	font-weight: bold;
	font-size: 12px;
}

#mw-scribe-view-ref {
	text-transform: uppercase;
	margin-top: 6px;
	color: #1c5eb0;
	margin-left: 45%;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
}

.mw-scribe-reference-section {
	margin-top: -30px;
	width: 300px;
}

/*S TYLING FOR THE SLIDER */
.slideshow-container {
	position: relative;
	height: 145px;
	background-color: #e6e9ee;
	margin-top: 29px;
	width: 90%;
	margin-left: 16px;
}

/*--- GOOGLE PIXEL AND PIXEL 2X*/
@media (min-width: 376px) and (max-width: 411px) {
	.mw-scribe-reference-section {
		margin-left: 18px;
	}

	.oo-ui-buttonElement-framed.oo-ui-iconElement.oo-ui-labelElement>.oo-ui-buttonElement-button,
	.oo-ui-buttonElement-framed.oo-ui-iconElement.oo-ui-indicatorElement>.oo-ui-buttonElement-button {
		width: 117px;
	}

	.slideshow-container {
		width: 310px;
	}
	.mw-scribe-ref-btn {
		margin-left: 146px;
	}

	#mw-scribe-view-ref {
		margin-left: 134px;
	}
}

/* 
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/
@media (min-width: 375px) and (max-width: 410px) {

	.mw-scribe-reference-section {
		margin-left: 0.1px;
	}

	.oo-ui-buttonElement-framed.oo-ui-iconElement.oo-ui-labelElement>.oo-ui-buttonElement-button,
	.oo-ui-buttonElement-framed.oo-ui-iconElement.oo-ui-indicatorElement>.oo-ui-buttonElement-button {
		width: 108px;
	}

	.slideshow-container {
		width: 310px;
	}
	.mw-scribe-ref-btn {
		margin-left: 146px;
	}

	#mw-scribe-view-ref {
		margin-left: 134px;
	}
}

@media (min-width:360px) and (max-width:361px) {
	.mw-scribe-reference-section {
		margin-left: 0px;
	}

	.oo-ui-buttonElement-framed.oo-ui-iconElement.oo-ui-labelElement>.oo-ui-buttonElement-button,
	.oo-ui-buttonElement-framed.oo-ui-iconElement.oo-ui-indicatorElement>.oo-ui-buttonElement-button {
		width: 117px;
	}

	.mw-scribe-ref-btn {
		margin-left: 146px;
	}

	.slideshow-container {
		width: 310px;
	}

	#mw-scribe-view-ref {
		margin-left: 134px;
	}
}


@media (min-width:414px) and (max-width:415px) {
	.mw-scribe-reference-section {
		margin-left: 18px;
	}

	.oo-ui-buttonElement-framed.oo-ui-iconElement.oo-ui-labelElement>.oo-ui-buttonElement-button,
	.oo-ui-buttonElement-framed.oo-ui-iconElement.oo-ui-indicatorElement>.oo-ui-buttonElement-button {
		width: 117px;
	}

	.mw-scribe-ref-btn {
		margin-left: 146px;
	}

	.slideshow-container {
		width: 310px;
	}

	#mw-scribe-view-ref {
		margin-left: 134px;
	}
}

/* Hide the images by default */
.mySlides {
	display: none;
}

/* Next & previous buttons */
.prev,
.next {
	cursor: pointer;
	position: absolute;
	top: 50%;
	width: auto;
	margin-top: 27px;
	padding: 16px;
	color: black;
	font-weight: bold;
	font-size: 20px;
	border-radius: 0 3px 3px 0;
	user-select: none;
	z-index: 1;
}

/* Position the "next button" to the right */
.next {
	right: 0;
	border-radius: 3px 0 0 3px;
}

.mw-scribe-select-info {
	margin-top: 10px;
	margin-bottom: 10px;
	font-size: larger;
	text-align: left;
	font-weight: bold;
	opacity: 0.8;
}

.mw-scribe-section-name-text {
	font-size: 25px;
	margin-bottom: 5px;
	opacity: 0.6;
	font-weight: bold;
}

.mw-scribe-text-editor {
	opacity: 0.5;
}

/* Caption text */
.text {
	font-size: 15px;
	padding: 8px 12px;
	bottom: 8px;
	width: inherit;
	text-align: center;
	margin-left: 5%;
}

#cancel-ref-suggest {
	float: right;
	padding-right: 11px;
	font-weight: bold;
	position: relative;
	margin-right: -4px;
}

#cancel-ref-suggest:hover {
	text-decoration: none;
}

.active,
.dot:hover {
	background-color: #717171;
}

@-webkit-keyframes fade {
	from {
		opacity: .4
	}

	to {
		opacity: 1
	}
}


@keyframes fade {
	from {
		opacity: .4
	}

	to {
		opacity: 1
	}
}

sup {
	vertical-align: super;
	font-size: smaller;
}

.oo-ui-textInputWidget .oo-ui-inputWidget-input {
	border: none;
	outline: none;
}

.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input:focus {
	outline: none;
	border: none;
}

.oo-ui-processDialog-title{
	margin-left: 30%
}

#sm-header{
    background-color: #eaecf0;
	text-align: center;
	display: inline-grid;
	padding-left: 5px;
	padding-top: 10px;
	height: inherit;
}

    .tags {
        list-style: none;
        overflow: hidden;
		display: -webkit-inline-box;
		overflow: scroll;
    }

    .tags li {
        float: left;
        
	}
	
	a.tag{
		text-decoration: none;
	}

	a.tag:hover{
		text-decoration: none;
	}

	a.tag:visited{
		color: black;
	}

    .tag {
        background-color: #c8ccd1;
        border-radius: 10px;
        display: inline-block;
        height: 26px;
        color: black;
        line-height: 26px;
        padding: 0 20px 1px 20px;
        position: relative;
        text-decoration: none;
		margin: 10px 10px 10px 0;
		float: left;
    }

	.sm-suggest-text{
		font-weight: bold;
		display: inline-block;
	}

	#sm-idea-label{
		text-align: left;
	}

	#header-tip-icon{
		float: left;
	}

	#new-section-tip{
		padding-bottom: 5px;
	}
	#editing-ideas-tip{
		float: right;
		padding-bottom: 5px;
		margin-top: auto;
	}
	a.sm-suggest-text:hover {
		text-decoration: none;
	}