ಟೆಂಪ್ಲೇಟ್:ಮುಖ್ಯ ಪುಟ/styles.css
ಗೋಚರೊ
/* Style for the outer div */
.outer-div {
border: 2px double;
border-radius: 5px;
padding: 15px;
box-sizing: border-box;
box-shadow: 0 0 10px #000;
}
/* Style for the table */
.table-style {
width: 100%;
border: 1px solid;
padding: 15px;
border-radius: 5px;
text-align: center;
margin-bottom: 15px;
}
/* Style for headings and text inside the div */
.heading-large {
font-size: 220%;
font-weight: bold;
text-shadow: 0 0 2px;
}
.text-italic {
font-size: 125%;
font-style: italic;
text-shadow: 0 0 2px;
}
/* Navigation links styles */
.nav-links {
width: 20%;
flex: 1;
text-align: center;
padding: 4px 10px;
font-size: 125%;
border-radius: 5px;
text-decoration: none;
color: var(--color-subtle, #54595d);
border: 1px dashed;
margin-left: auto;
margin-right: auto;
position: relative;
}
/* container for sections */
/* Style for the outer container */
.outer-container {
width: 95%;
border: 2px solid;
padding: 15px;
border-radius: 5px;
margin-top: 10px;
margin-left: auto;
margin-right: auto;
}
/* Style for the inner container with 2px space */
.inner-container {
width: 75%;
flex: 1;
text-align: center;
font-size: 125%;
border-radius: 40px 0 40px 0;
padding: 0.01em; /* Adds 0.01em padding above and below the text */
border: 2px dashed;
margin: 0.5px auto; /* Adds a 2px margin around the inner container */
position: relative;
}
/* sister-projects-list */
#sister-projects-list {
display: flex;
flex-wrap: wrap;
}
#sister-projects-list li {
flex: 1 0 20%; /* Adjusts each item to take up 20% of the row */
box-sizing: border-box;
}
#sister-projects-list li span {
font-weight: bold;
}
#sister-projects-list li > div {
display: inline-block;
vertical-align: middle;
padding: 6px 4px;
}
#sister-projects-list li > div:first-child {
text-align: center;
}
@media (min-width: 360px) {
#sister-projects-list li {
width: 33%;
min-width: 20em;
white-space: nowrap;
flex: 1 0 25%;
}
#sister-projects-list li > div:first-child {
min-width: 50px;
}
}