Research Realm:Main Page/Sandbox/styles.css: Difference between revisions

From Research Realm
No edit summary
gonna test over here to get the columns to flex
Line 1: Line 1:
/* styles.css */
.mp-box {
body {
border: 1px solid #aaa; /* all colors overriden on specific elements in @media screen */
    margin: 0;
padding: 0 0.5em 0.5em;
    font-family: Arial, sans-serif;
margin-top: 4px;
    background-color: #f4f4f4;
}
 
/* Welcome text */
 
#mp-welcomecount {
text-align: center;
margin: 0.4em;
}
}


.flex-container {
#mp-welcome {
    display: flex;
padding: 0.1em;
    flex-wrap: wrap;
margin-top: 0.5em;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
}


.flex-item {
#mp-welcome h1,
    flex: 1 1 calc(33.333% - 20px);
#mp-welcome .mw-heading1 {
    box-sizing: border-box;
margin: 0;
    padding: 20px;
border-bottom: 0
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
}


h1 {
#mp-welcome h1 {
    text-align: center;
border-bottom: solid 1px #000;
    color: #333;
text-shadow: 1px 2px 3px #999;
    margin-bottom: 20px;
box-shadow: 0 4px 6px -6px #000;
}
}


.mp-box {
#articlecount {
border-left: 1px solid #aaa;
font-size: 85%;
border-right: 1px solid #aa0;
padding: 0 0.5em 0.5em;
margin-top: 4px;
}
}


.topictable1 {
/* Middle section */
 
.topicstable {
border-collapse: collapse;
border-collapse: collapse;
margin: 2em auto;
width: 96%;
}
}


.topictable1 td, th {
.topicstable td, th {
border-right-width: 1px;
border-right-width: 1px;
border-right-style: solid;
border-right-style: solid;
border-right-color: rgb(255, 0, 255);
border-right-color: #b8b8b8;
border-left-width: 1px;
border-left-width: 1px;
border-left-style: solid;
border-left-style: solid;
border-left-color: rgb(255, 0, 255);
border-left-color: #b8b8b8;
padding: 0.5em;
padding: 0.5em;
width: 20%;
width: 20%;
}
}


.topictable1 th {
.topicstable th {
text-align: center;
text-align: center;
}
}


.topictable2 tr, td {
.topicstable td {
border-right-width: 1px;
vertical-align:top;
border-right-style: solid;
line-height: 1.2;
border-right-color: rgb(255, 255, 0);
padding: 1em 0.5em 2.5em 0.5em;
border-left-width: 1px;
}
border-left-style: solid;
 
border-left-color: rgb(255, 255, 0);
#mp-subtopics {
border-collapse: collapse;
margin-left: 2em;
margin-top: 1.5em
}
 
/* Bottom text */
 
#mp-contributetable {
margin: 0 auto 1em auto;
line-height: 1.2;
}
 
#mp-contribute {
font-size: 105%;
font-weight: bold;
padding-bottom: 1em;
}
}


.poop1 {
#mp-exciting {
text-indent: 2em;
text-align: center;
font-size: 1.2em;
font-style: italic;
font-weight: bold;
padding-bottom: 1em;
}
}


@media (min-width: 875px) {
@media screen {
#mp-upper {
#mp-topbanner {
display: flex;
background-color: #eee;
}
border-color: #b8b8b8;
#mp-left {
flex: 1 1 20%;
margin: 2px;
}
}
}
}

Revision as of 07:12, 17 October 2025

.mp-box {
	border: 1px solid #aaa; /* all colors overriden on specific elements in @media screen */
	padding: 0 0.5em 0.5em;
	margin-top: 4px;
}

/* Welcome text */

#mp-welcomecount {
	text-align: center;
	margin: 0.4em;
}

#mp-welcome {
	padding: 0.1em;
	margin-top: 0.5em;
}

#mp-welcome h1,
#mp-welcome .mw-heading1 {
	margin: 0;
	border-bottom: 0
}

#mp-welcome h1 {
	border-bottom: solid 1px #000;
	text-shadow: 1px 2px 3px #999;
	box-shadow: 0 4px 6px -6px #000;
}

#articlecount {
	font-size: 85%;
}

/* Middle section */

.topicstable {
	border-collapse: collapse;
	margin: 2em auto;
	width: 96%;
}

.topicstable td, th {
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #b8b8b8;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #b8b8b8;
	padding: 0.5em;
	width: 20%;
}

.topicstable th {
	text-align: center;
}

.topicstable td {
	vertical-align:top;
	line-height: 1.2;
	padding: 1em 0.5em 2.5em 0.5em;
}

#mp-subtopics {
	margin-left: 2em;
	margin-top: 1.5em
}

/* Bottom text */

#mp-contributetable {
	margin: 0 auto 1em auto;
	line-height: 1.2;
}

#mp-contribute {
	font-size: 105%;
	font-weight: bold;
	padding-bottom: 1em;
}

#mp-exciting {
	text-align: center;
	font-size: 1.2em;
	font-style: italic;
	font-weight: bold;
	padding-bottom: 1em;
}

@media screen {
	#mp-topbanner {
		background-color: #eee;
		border-color: #b8b8b8;
	}
}