Özgür Yazılım Derneği web sitesi
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
oyd-web/static/css/style.css

937 lines
14 KiB

/* Base */
*, ::before, ::after {
box-sizing: border-box;
}
html,
body {
margin: 0;
padding: 0;
height: 100%;
}
body {
line-height: 1.6;
color: #111;
font-size: 18px;
font-weight: 400;
display: flex;
flex-direction: column;
font-family: 'Liberation Serif', serif;
}
@media only screen and (max-width: 600px) {
h1 {
font-size: 2rem !important;
}
}
/* Typography */
h1, h2, h3, h4, h5, h6 {
line-height: 1.1;
font-weight: normal;
font-family: 'Liberation Sans', sans-serif;
}
h1 {
font-size: 2.4rem;
}
h2 {
font-size: 2.2rem;
}
h3 {
font-size: 1.8rem;
}
h4 {
font-size: 1.6rem;
}
h5 {
font-size: 1.4rem;
}
h6 {
font-size: 1.2rem;
}
dt {
font-weight: 600;
line-height: 1.375;
margin: .5rem 0;
}
dt:first-child {
margin-top: 0;
}
dd {
margin: 0 0 1rem;
}
hr {
border-color: #f8f8f8;
}
a {
color: #38577f;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
img {
max-width: 100%;
}
/* Grid */
.container {
max-width: 60%;
padding: 0 2rem;
margin: auto;
}
@media only screen and (max-width: 600px) {
.container {
max-width: 100%;
margin: auto;
}
}
.row {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
width: 100%;
margin-bottom: 16px;
}
.row:last-child {
margin-bottom: 0;
}
.row .column {
flex-grow: 1;
flex-basis: 0;
}
.row .column-1 {
width: 8.333333333333332%;
}
.row .column-2 {
width: 16.666666666666664%;
}
.row .column-3 {
width: 25%;
}
.row .column-4 {
width: 33.33333333333333%;
}
.row .column-5 {
width: 41.66666666666667%;
}
.row .column-6 {
width: 50%;
}
.row .column-7 {
width: 58.333333333333336%;
}
.row .column-8 {
width: 66.66666666666666%;
}
.row .column-9 {
width: 75%;
}
.row .column-10 {
width: 83.33333333333334%;
}
.row .column-11 {
width: 91.66666666666666%;
}
.row .column-12 {
width: 100%;
}
.button {
display: inline-block;
padding: .5rem 1rem;
background-color: #efefef;
color: #444444;
border-radius: 4px;
text-decoration: none;
}
.button:hover {
text-decoration: none;
}
.button.success {
color: #fff;
background-color: #6DAB3A;
}
.button.danger {
color: #fff;
background-color: #AB403A;
}
.button.info {
color: #fff;
background-color: #12656A;
}
.button.success:hover {
background-color: #218838;
}
.button.danger:hover {
background-color: #c82333;
}
.button.info:hover {
background-color: #138496;
}
article hr:last-child {
display: none;
}
article hr {
color: #4c2447;
}
.list-title {
font-size: 1.2rem;
}
.title {
margin-top: 0;
}
.navbar {
background-color: #4C2447;
color: #fff;
position: fixed;
left: 0;
top: 0;
right: 0;
}
.navbar-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
height: 80px;
display: flex;
justify-content: space-between;
align-items: center;
}
@media only screen and (max-width: 600px) {
.navbar-container {
max-width: 100%;
margin: 10px auto;
padding: 0 2rem;
height: 80px;
display: flex;
justify-content: space-between;
align-items: center;
}
}
.navbar h1 {
font-size: 1.4rem;
margin: 0;
}
.navbar .logo {
display: inline;
color: #fff;
text-decoration: none;
}
/* @media only screen and (max-width: 600px) {
.navbar .logo {
position: relative;
left: auto;
top: auto;
display: block;
max-width: 30%;
}
} */
.navbar .logo img {
vertical-align: middle;
}
.navbar .logo:hover {
color: #fdeba4;
}
.navbar nav > ul > li > a {
border-radius: 3px;
display: inline-block;
padding: 0 15px;
text-decoration: none;
color: #fff;
background-color: #4c2447;
font-family: 'Liberation Sans', sans-serif;
}
.navbar nav > ul > li > a:hover {
background-color: #484557;
}
.navbar nav > ul > li > a.active {
background-color: #ffffff;
color: #1a162d;
}
.page {
max-width: 1200px;
margin: auto;
margin-top: 80px;
padding: 2rem 2rem;
display: flex;
flex-flow: row wrap;
justify-content: space-between;
}
@media only screen and (max-width: 600px) {
.page {
max-width: 100%;
margin: auto;
margin-top: 80px;
display: flex;
flex-flow: row wrap;
justify-content: space-between;
}
}
.article-list > article {
display: flex;
margin-bottom: 2rem;
}
.article-list > article h1 {
font-size: 1.8rem;
margin-bottom: 0;
}
.article-list > article footer time {
color: #444;
font-size: .9rem;
}
.author {
margin-top: 0;
color: #333333;
}
.article-img {
margin-right: 1rem;
max-width: 150px;
}
.article-body {
flex: 1;
}
.page > article {
flex-grow: 1;
flex-basis: 0;
width: 75%;
padding-right: 2rem;
max-width: 100%;
}
.article-list {
width: 75%;
padding-right: 2rem;
}
.sidebar {
width: 25%;
}
.sidebar > .title,
.sidebar > h2 {
color: #333333;
}
@media screen and (max-width: 768px) {
.page > article,
.page > .sidebar {
flex-grow: 0;
flex-basis: 100%;
}
}
.meta {
display: flex;
justify-content: space-between;
}
.sidebar nav a {
display: block;
}
.categories > div {
padding-left: 30px;
line-height: 35px;
padding-left: 33px;
background-repeat: no-repeat;
background-position: left center;
}
.event {
border-top: 10px solid #684563;
padding: 10px 20px 20px 20px;
background-color: #f8f8f8f8;
box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.1);
}
.event p {
font-size: 14px;
}
body > footer {
background-color: #767381;
padding: 30px 0;
color: #fff;
font-size: 1rem;
position: relative;
}
.project {
display: flex;
margin: 1rem 0;
}
.member .member-image,
.project .project-image {
margin-right: 1rem;
}
.project a {
font-family: 'Liberation Sans', sans-serif;
font-size: 1.4rem;
line-height: 1;
}
.member {
display: flex;
margin: 1.5rem 0;
}
.member img,
.project img {
max-width: 120px;
}
.member-name {
line-height: 1;
display: block;
}
.member-role {
font-size: .9rem;
line-height: 1.2rem;
color: #444;
}
.member-description {
margin: 0;
line-height: 1.4rem;
}
.member-email,
.member-fingerprint {
font-size: .9rem;
line-height: 1.2rem;
color: #444;
}
.band {
padding: 4rem 0;
font-size: 1.2rem;
}
.band p {
line-height: 2.4rem;
}
.band:first-child {
margin-top: 80px;
}
@media only screen and (max-width: 600px) {
.band:first-child {
margin-top: 0px;
}
}
.band .column:first-child {
margin-right: 3rem;
}
.band.secondary {
background-color: #e0d7de;
}
.band img {
max-width: 100%;
height: auto;
margin-bottom: 1rem;
}
.drawer-toggle {
display: none;
}
.drawer-toggle::before {
display: inline-block;
position: relative;
content: '☰';
width: 20px;
height: 20px;
padding: 0;
margin: 0;
cursor: pointer;
}
.drawer {
width: 1px;
height: 1px;
position: absolute;
margin: -1px;
overflow: hidden;
display: none;
}
@media screen and (max-width: 768px) {
.article-list,
.sidebar,
.row .column,
.row [class^='column-'],
.row [class*=" column-"] {
flex-grow: 0;
flex-basis: 100%;
}
.article-list {
padding-right: 0;
}
.navbar {
position: static;
}
.page {
margin-top: 0px;
}
.navbar .navbar-container {
/* margin-top: 15px; */
display: block;
height: auto;
}
.navbar .navbar-container nav {
margin: 10px -15px;
}
}
.pagination {
display: -ms-flexbox;
display: flex;
padding-left: 0;
list-style: none;
border-radius: 0.25rem;
}
.page-link {
position: relative;
display: block;
padding: 0.5rem 0.75rem;
margin-left: -1px;
line-height: 1.25;
color: #4c2447;
background-color: #fff;
border: 1px solid #dee2e6;
}
.page-link:hover {
z-index: 2;
color: #0056b3;
text-decoration: none;
background-color: #e9ecef;
border-color: #dee2e6;
}
.page-link:focus {
z-index: 3;
outline: 0;
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.page-item:first-child .page-link {
margin-left: 0;
border-top-left-radius: 0.25rem;
border-bottom-left-radius: 0.25rem;
}
.page-item:last-child .page-link {
border-top-right-radius: 0.25rem;
border-bottom-right-radius: 0.25rem;
}
.page-item.active .page-link {
z-index: 3;
color: #fff;
background-color: #4c2447;
border-color: #4c2447;
}
.page-item.disabled .page-link {
color: #6c757d;
pointer-events: none;
cursor: auto;
background-color: #fff;
border-color: #dee2e6;
}
.article-title {
margin-top: 0px; }
.article-header {
max-width: 100%;
}
.article-header .photo {
width: 100%;
height: 120px;
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
border-top: 5px solid #4c2447; }
.article-header .photoCredit {
font-size: 12px;
text-align: right;
margin: 5px 0 12px 0; }
table {
border-collapse: collapse;
}
.table {
width: 100%;
margin-bottom: 1rem;
color: #212529;
}
.table th,
.table td {
padding: 0.75rem;
vertical-align: top;
border-top: 1px solid #dee2e6;
}
.table thead th {
vertical-align: bottom;
border-bottom: 2px solid #dee2e6;
}
.table tbody + tbody {
border-top: 2px solid #dee2e6;
}
.table-sm th,
.table-sm td {
padding: 0.3rem;
}
.table-bordered {
border: 1px solid #dee2e6;
}
.table-bordered th,
.table-bordered td {
border: 1px solid #dee2e6;
}
.table-bordered thead th,
.table-bordered thead td {
border-bottom-width: 2px;
}
.table-borderless th,
.table-borderless td,
.table-borderless thead th,
.table-borderless tbody + tbody {
border: 0;
}
.table-striped tbody tr:nth-of-type(odd) {
background-color: rgba(0, 0, 0, 0.05);
}
.table-hover tbody tr:hover {
color: #212529;
background-color: rgba(0, 0, 0, 0.075);
}
.table-primary,
.table-primary > th,
.table-primary > td {
background-color: #b8daff;
}
.table-primary th,
.table-primary td,
.table-primary thead th,
.table-primary tbody + tbody {
border-color: #7abaff;
}
.table-hover .table-primary:hover {
background-color: #9fcdff;
}
.table-hover .table-primary:hover > td,
.table-hover .table-primary:hover > th {
background-color: #9fcdff;
}
.table-secondary,
.table-secondary > th,
.table-secondary > td {
background-color: #d6d8db;
}
.table-secondary th,
.table-secondary td,
.table-secondary thead th,
.table-secondary tbody + tbody {
border-color: #b3b7bb;
}
.table-hover .table-secondary:hover {
background-color: #c8cbcf;
}
.table-hover .table-secondary:hover > td,
.table-hover .table-secondary:hover > th {
background-color: #c8cbcf;
}
.table-success,
.table-success > th,
.table-success > td {
background-color: #c3e6cb;
}
.table-success th,
.table-success td,
.table-success thead th,
.table-success tbody + tbody {
border-color: #8fd19e;
}
.table-hover .table-success:hover {
background-color: #b1dfbb;
}
.table-hover .table-success:hover > td,
.table-hover .table-success:hover > th {
background-color: #b1dfbb;
}
.table-info,
.table-info > th,
.table-info > td {
background-color: #bee5eb;
}
.table-info th,
.table-info td,
.table-info thead th,
.table-info tbody + tbody {
border-color: #86cfda;
}
.table-hover .table-info:hover {
background-color: #abdde5;
}
.table-hover .table-info:hover > td,
.table-hover .table-info:hover > th {
background-color: #abdde5;
}
.table-warning,
.table-warning > th,
.table-warning > td {
background-color: #ffeeba;
}
.table-warning th,
.table-warning td,
.table-warning thead th,
.table-warning tbody + tbody {
border-color: #ffdf7e;
}
.table-hover .table-warning:hover {
background-color: #ffe8a1;
}
.table-hover .table-warning:hover > td,
.table-hover .table-warning:hover > th {
background-color: #ffe8a1;
}
.table-danger,
.table-danger > th,
.table-danger > td {
background-color: #f5c6cb;
}
.table-danger th,
.table-danger td,
.table-danger thead th,
.table-danger tbody + tbody {
border-color: #ed969e;
}
.table-hover .table-danger:hover {
background-color: #f1b0b7;
}
.table-hover .table-danger:hover > td,
.table-hover .table-danger:hover > th {
background-color: #f1b0b7;
}
.table-light,
.table-light > th,
.table-light > td {
background-color: #fdfdfe;
}
.table-light th,
.table-light td,
.table-light thead th,
.table-light tbody + tbody {
border-color: #fbfcfc;
}
.table-hover .table-light:hover {
background-color: #ececf6;
}
.table-hover .table-light:hover > td,
.table-hover .table-light:hover > th {
background-color: #ececf6;
}
.table-dark,
.table-dark > th,
.table-dark > td {
background-color: #c6c8ca;
}
.table-dark th,
.table-dark td,
.table-dark thead th,
.table-dark tbody + tbody {
border-color: #95999c;
}
.table-hover .table-dark:hover {
background-color: #b9bbbe;
}
.table-hover .table-dark:hover > td,
.table-hover .table-dark:hover > th {
background-color: #b9bbbe;
}
.table-active,
.table-active > th,
.table-active > td {
background-color: rgba(0, 0, 0, 0.075);
}
.table-hover .table-active:hover {
background-color: rgba(0, 0, 0, 0.075);
}
.table-hover .table-active:hover > td,
.table-hover .table-active:hover > th {
background-color: rgba(0, 0, 0, 0.075);
}
.table .thead-dark th {
color: #fff;
background-color: #343a40;
border-color: #454d55;
}
.table .thead-light th {
color: #495057;
background-color: #e9ecef;
border-color: #dee2e6;
}
.table-dark {
color: #fff;
background-color: #343a40;
}
.table-dark th,
.table-dark td,
.table-dark thead th {
border-color: #454d55;
}
.table-dark.table-bordered {
border: 0;
}
.table-dark.table-striped tbody tr:nth-of-type(odd) {
background-color: rgba(255, 255, 255, 0.05);
}
.table-dark.table-hover tbody tr:hover {
color: #fff;
background-color: rgba(255, 255, 255, 0.075);
}
.license {
border: none;
float: right;
}
.license-mobile {
display: flex;
align-items: center;
justify-content: center;
vertical-align: middle;
}
.license-mobile img {
padding-left: 5px;
vertical-align: middle;
}
@media only screen and (max-width: 600px) {
.license {
display: none;
}
.copyright {
display: flex;
align-items: center;
justify-content: center;
vertical-align: middle;
}
.copyright a {
padding-left: 5px;
}
}
@media only screen and (min-width: 601px) {
.license-mobile {
display: none;
}
}