:root {
--color-accent:      #8b1a1a;
--color-accent-dark: #6b1010;
--color-text:        #222;
--color-muted:       #666;
--color-border:      #ddd;
--color-bg:          #f5f5f5;
--color-surface:     #fff;
--color-header-bg:   #d9e4f7;
--color-footer-bg:   #e8eef8;
--color-footer-border: #b8cbe8;
--color-highlight:   #fffde7;
--font-base: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
--max-width: 1024px;
--radius: 4px;
}
*, *::before, *::after {
box-sizing: border-box;
}
html {
background: #000 url(//www.linux.org.tr/wp-content/themes/linux-wp-theme/images/arkaplan.jpg?v2) repeat-x fixed;
}
body {
margin: 0;
font-family: var(--font-base);
font-size: 1rem;
line-height: 1.6;
color: var(--color-text);
background: url(//www.linux.org.tr/wp-content/themes/linux-wp-theme/images/adam.png?v2) no-repeat center top fixed;
}
a {
color: var(--color-accent);
text-decoration: none;
transition: color 0.15s;
}
a:hover {
color: var(--color-accent-dark);
text-decoration: underline;
}
p {
margin: 0 0 0.75rem;
}
p.date {
font-size: 0.8rem;
color: var(--color-muted);
margin: 0;
padding: 0;
}
p.warning {
padding: 3rem;
font-size: 1rem;
}
hr {
margin: 0;
border: none;
border-top: 1px solid var(--color-border);
}
img {
border: none;
max-width: 100%;
height: auto;
}
img.logo {
float: left;
width: 150px;
padding-left: 10px;
margin: 0;
}
img.button {
padding: 0 0 5px;
display: block;
}
ul {
padding: 0 5px;
}
ul.index li,
ul.index li ul li {
margin: 0;
padding: 0;
}
ul.index,
ul.index ul {
margin: 0;
}
ul.news {
margin: 0;
padding: 0 0 5px;
font-size: 0.875rem;
max-width: 330px;
list-style: none;
}
ul.news li.other_new {
margin: 0;
padding: 2px 10px;
}
ul.news a {
color: var(--color-accent);
}
ul.news a:hover {
color: var(--color-text);
}
ul.news p {
margin-bottom: 5px;
padding: 0;
}
h1, h2, h3, h4 {
line-height: 1.3;
}
h2 {
margin: 0 0 0.625rem;
padding: 1.25rem 0 0;
color: var(--color-accent);
}
h2 a {
color: var(--color-accent);
}
h2 a:hover {
color: var(--color-accent-dark);
}
h4 {
margin: 0 0 0.625rem;
color: var(--color-accent);
}
h4 a {
color: var(--color-accent);
}
span.news_description {
display: block;
margin: 2px 5px 10px;
font-size: 0.8rem;
font-style: italic;
color: var(--color-muted);
background-color: var(--color-highlight);
border-top: 1px solid var(--color-border);
} .wrapper {
margin: 0 auto;
max-width: var(--max-width);
}
#top {
margin: auto;
max-width: var(--max-width);
padding-top: 50px; height: auto;
}
#header {
display: flex;
align-items: center;
justify-content: space-between;
padding-top: 0;
height: 85px;
}
#banner {
padding: 11px 10px 0 0;
}
#page {
background: var(--color-surface);
margin: auto;
min-height: 580px;
max-width: var(--max-width);
box-shadow: 0 2px 8px rgba(0,0,0,0.18);
} #content,
#content-news {
background-color: var(--color-surface);
}
#content {
padding: 0 15px;
} #content .entry > .wp-block-image:not(.alignwide):not(.alignfull) {
max-width: min(100%, 640px);
}
#content ul {
margin: 0 0 0.625rem 1.875rem;
list-style-type: circle;
}
#content > ul {
margin: -7px 0 0.625rem 1.875rem;
}
#content ul li {
margin: 0;
padding: 3px 0;
}
#content-news ul {
list-style-type: none;
}
#content-news ul a {
color: var(--color-text);
}
#content-news ul.content-news-top {
margin: 0 6px 15px;
padding: 15px 0 0;
width: 100%;
display: flex;
flex-wrap: wrap;
gap: 8px;
}
#content-news ul.content-news-top li.top {
margin: 0;
padding: 0;
}
#content-news ul.content-news-top li.bottom {
margin: 0;
padding: 5px;
border: 1px solid var(--color-border);
max-width: 165px;
min-height: 180px;
border-radius: var(--radius);
transition: background-color 0.15s;
}
#content-news ul.content-news-top li.bottom:hover {
background-color: var(--color-highlight);
}
#content-news ul.content-news-top li h4 {
margin: 0 0 2px;
padding: 0;
font-size: 0.8rem;
}
#content-news ul.content-news-top li p {
margin-top: 5px;
font-size: 0.75rem;
text-align: justify;
}
#content-news li.comments {
margin: 0;
padding: 2px 5px;
position: relative;
top: -17px;
height: 12px;
background-color: var(--color-border);
font-size: 0.75rem;
}
#content-news li.comments a {
color: #444;
text-decoration: none;
}
#content-news p.time {
margin: 0;
padding: 0;
font-size: 0.75rem;
font-style: italic;
} #navigation {
clear: both;
border-top: 1px solid var(--color-border);
display: flex;
justify-content: space-between;
}
#navigation p {
margin: 0;
padding: 4px 8px;
font-size: 0.875rem;
}
#navigation p a {
color: #444;
}
#navigation p a:hover {
color: var(--color-text);
}
#navigation p.next {
float: right;
border-left: 1px solid var(--color-border);
}
#navigation p.previous {
float: left;
border-right: 1px solid var(--color-border);
} #footer {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 8px;
padding: 10px 12px;
border-top: 3px solid var(--color-footer-border);
background-color: var(--color-footer-bg);
font-size: 0.875rem;
clear: both;
}
#footer a {
color: #444;
}
#footer a:hover {
color: var(--color-text);
}
#footer span {
padding: 4px 8px;
border-right: 2px solid var(--color-footer-border);
}
#footer p.left {
margin: 0;
padding: 0;
display: flex;
align-items: center;
gap: 8px;
} #duyuru-kayit {
margin: 0;
padding: 8px 12px;
clear: both;
border-top: 1px solid var(--color-border);
background-color: var(--color-bg);
font-size: 0.875rem;
}
#duyuru-kayit form {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 8px;
}
#duyuru-kayit input[type="textbox"],
#duyuru-kayit input[type="text"] {
padding: 4px 8px;
border: 1px solid var(--color-border);
border-radius: var(--radius);
font-size: 0.875rem;
}
#google_search {
margin: 0;
padding: 8px 12px;
clear: both;
border-top: 1px solid var(--color-border);
background-color: var(--color-bg);
font-size: 0.875rem;
}
#google_search input.text {
margin: 4px 5px 4px 0;
padding: 4px 8px;
border: 1px solid var(--color-border);
border-radius: var(--radius);
max-width: 220px;
font-size: 0.875rem;
}
#google_search ul {
display: flex;
flex-wrap: wrap;
gap: 12px;
padding: 4px 0;
list-style: none;
}
#google_search ul li {
margin: 0;
display: flex;
align-items: center;
gap: 4px;
}
#other {
height: 50px;
}
#bottom_area {
background-color: var(--color-surface);
} #with-sidebar {
background-color: var(--color-highlight);
border-bottom: 1px solid var(--color-accent);
min-height: 280px;
}
#content h1 {
padding-top: 15px;
margin-top: 0;
}
#what-is-linux {
padding: 0 15px;
text-align: justify;
max-width: 760px;
}
#what-is-linux h1 {
padding-top: 15px;
margin-top: 0;
color: var(--color-text);
}
#what-is-linux h2 {
padding-top: 15px;
color: var(--color-text);
}
#what-is-linux h4 {
padding-top: 15px;
color: var(--color-text);
} #warning-dialog {
margin: 0 20px 10px;
padding: 10px 12px;
background-color: var(--color-highlight);
border: 1px dashed var(--color-border);
border-radius: var(--radius);
font-size: 0.875rem;
text-align: justify;
} #buttons {
padding: 5px 10px;
max-width: 200px;
float: right;
}
#right-news {
float: right;
}
.clear {
clear: both;
}
#horizontal_menu {
background-color: #c4d3ee;
border-bottom: 2px solid #9eb3d8;
max-width: 1024px;
margin-top: 8px;
padding: 6px 8px;
display: flex;
align-items: stretch;
justify-content: space-between;
flex-wrap: nowrap;
overflow: visible;
} #nav,
#nav ul {
margin: 0;
padding: 0;
list-style: none;
position: relative;
font-size: 0.8125rem;
font-weight: 600;
line-height: 32px;
}
#nav {
display: flex;
flex: 1 1 auto;
min-width: 0;
flex-wrap: nowrap;
}
#nav a {
display: block;
padding: 0 14px;
color: #333;
text-decoration: none;
white-space: nowrap;
transition: background-color 0.15s, color 0.15s;
}
#nav li {
position: relative;
margin-right: 3px;
border-right: 1px solid #a8bee0;
}
#nav li:last-child {
margin-right: 0;
border-right: none;
}
#nav li:hover > a,
#nav li:focus-within > a {
background-color: #9eb3d8;
color: #111;
}
#nav li a.help {
padding-right: 22px;
background: transparent url(//www.linux.org.tr/wp-content/themes/linux-wp-theme/images/help.png) center right 4px no-repeat;
background-size: 14px 14px;
} #nav ul {
position: absolute;
top: 100%;
left: 0;
display: none;
min-width: 12em;
background-color: #d9e4f7;
border: 1px solid #9eb3d8;
border-top: none;
box-shadow: 0 4px 8px rgba(0,0,0,0.12);
z-index: 100;
flex-direction: column;
line-height: 24px;
}
#nav ul ul {
top: 0;
left: 100%;
margin: 0;
border-top: 1px solid #9eb3d8;
}
#nav li:hover > ul,
#nav li:focus-within > ul {
display: flex;
}
#nav ul li {
margin-right: 0;
border-right: none;
border-bottom: 1px solid #c0cfe8;
float: none;
}
#nav ul li:last-child {
border-bottom: none;
}
#nav ul li a {
font-size: 0.75rem;
font-weight: 400;
padding: 2px 10px;
} #nav_en,
#nav_en ul {
margin: 0;
padding: 0;
list-style: none;
display: flex;
flex: 0 0 auto;
font-size: 0.75rem;
line-height: 32px;
text-align: right;
}
#nav_en li {
margin: 0;
padding: 0;
border-right: 1px solid #a8bee0;
}
#nav_en li:last-child {
border-right: none;
}
#nav_en a {
display: block;
padding: 0 8px;
color: #5a0000;
text-decoration: none;
transition: background-color 0.15s, color 0.15s;
}
#nav_en a:hover {
background-color: #9eb3d8;
color: #333;
}
h2.content-news {
margin-bottom: -10px;
padding: 10px 10px 0px 10px;
font-size: 28px;
text-shadow: #CCC 1px 2px 15px;
}
#content-news-header {
margin: 0;
padding: 0;
background: #EFEFFF;
border-bottom: 1px solid #DDD;
}
#content-news-header p {
padding: 3px 5px;
text-align: right;
font-size: 10px;
}
#content-news-header p a {
margin: 0 5px;
padding: 3px 10px;
background-color: #DDD;
color: #555;
}
#content-news-header p a:hover {
background-color: #CCC;
color: #760707;
}
#content ul.commentlist {
margin: 0;
padding: 0;
list-style: none;
}
#content ul.commentlist li {
margin-bottom: 8px;
padding: 8px 12px;
border: 1px solid var(--color-border);
border-radius: var(--radius);
}
#content ul.commentlist img {
margin-left: 10px;
float: right;
}
small.comment-meta {
display: block;
margin-bottom: 8px;
font-size: 0.8rem;
color: var(--color-muted);
}
.reply {
text-align: right;
font-size: 0.875rem;
}
#commentform {
padding-bottom: 12px;
}
#commentform p input[type="text"],
#commentform p input[type="email"],
#commentform p input[type="url"] {
padding: 5px 8px;
border: 1px solid var(--color-border);
border-radius: var(--radius);
font-size: 0.875rem;
width: 100%;
max-width: 400px;
}
textarea#comment {
width: 100%;
max-width: 640px;
height: 120px;
padding: 8px;
border: 1px solid var(--color-border);
border-radius: var(--radius);
font-family: var(--font-base);
font-size: 0.875rem;
resize: vertical;
}