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

از امامت‌پدیا، دانشنامهٔ امامت و ولایت
(صفحه‌ای تازه حاوی «←‏--------------------- Begin Main Page Style -----------------: .im-answer-title { padding: 10px 5px; border: none; } .im-answer-content 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-conten...» ایجاد کرد)
 
جزبدون خلاصۀ ویرایش
خط ۵: خط ۵:
}
}


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

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

/* --------------------- 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-content span:nth-child(2) {
		float: right;
		font-size: calc(1em - .25vw);
	}
}