الگو:پاسخ پرسش/styles.css: تفاوت میان نسخه‌ها

از امامت‌پدیا، دانشنامهٔ امامت و ولایت
جزبدون خلاصۀ ویرایش
جزبدون خلاصۀ ویرایش
برچسب‌ها: ویرایش همراه ویرایش از وبگاه همراه
خط ۲۸: خط ۲۸:
/* --------------------- End Main Page Style ----------------- */
/* --------------------- End Main Page Style ----------------- */
@media screen and (max-width: 719px) {
@media screen and (max-width: 719px) {
.im-answer-content span:nth-child(2) {
.im-answer-title span:nth-child(2) {
float: right;
float: right;
font-size: calc(1em - .25vw);
font-size: calc(1em - .25vw);
}
}
}
}

نسخهٔ ‏۲۶ ژوئن ۲۰۲۲، ساعت ۱۲:۱۲

/* --------------------- Begin Main Page Style ----------------- */
.im-answer-title {
	padding: 10px 5px;
	border: none;
}

.im-answer-title span:nth-child(2) {
	float: right;
}

.im-answer-content {
	display: flex;
	background: #fcfcfc;
	box-shadow: 0 0 0.3rem rgba(0,0,0,0.08);
	border-radius: 0.1rem;
	border: 1px solid rgba(0,0,0,0.08);
	padding: 0.5rem;
}

.im-answer-content div:nth-child(1) {
  flex-grow: 1;
}

.im-answer-content div:nth-child(2) {
  flex-grow: 3;
}

/* --------------------- End Main Page Style ----------------- */
@media screen and (max-width: 719px) {
	.im-answer-title span:nth-child(2) {
		float: right;
		font-size: calc(1em - .25vw);
	}
}