[CSS] SoC pages are now more consistent.

This commit is contained in:
Eliseu Amaro 2021-09-13 13:37:00 +01:00
parent 4c24c78e4a
commit 736d35428a
3 changed files with 12 additions and 16 deletions

View File

@ -64,6 +64,7 @@ label {
h1 {
font-size: 1.5rem;
font-family: 'open_sansbold', sans-serif;
font-weight: bold;
line-height: 1.20;
margin-top: 0px;
@ -74,6 +75,7 @@ h1 {
h2 {
font-size: 1.25rem;
font-family: 'open_sansbold', sans-serif;
font-weight: bold;
line-height: 1.20;
margin-top: 2rem;
@ -84,6 +86,7 @@ h2 {
h3 {
font-size: 1.15rem;
font-family: 'open_sansbold', sans-serif;
font-weight: bold;
line-height: 1.20;
margin-top: 1.8rem;
@ -95,6 +98,7 @@ h3 {
h4 {
font-size: 1rem;
font-family: 'open_sansbold', sans-serif;
font-weight: bold;
line-height: 1.20;
margin-top: 1.4rem;

View File

@ -9,12 +9,6 @@
scroll-margin: 5rem;
}
ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, body, html, p, blockquote, fieldset, input, textarea {
margin: 0;
padding: 0;
border: none;
}
a img, :link img, :visited img {
border: none;
}
@ -61,6 +55,8 @@ header {
font-size: 1.25rem;
font-weight: bold;
background: #a22430;
max-height: 4rem;
width: 100%;
top: 0;
@ -153,7 +149,6 @@ hr {
.content,
.ribbon-wrapper,
.content-team {
top: 0 !important;
padding: 1rem !important;
}
.content-head {
@ -221,6 +216,10 @@ hr {
/*
* -- CONTENT --
*/
.content-head {
font-family: 'open_sansbold', sans-serif;
}
.content {
z-index: 2;
position: sticky;

View File

@ -6,20 +6,13 @@
<meta name="viewport" content="width=device-width, initial-scale=0.86, maximum-scale=5.0, minimum-scale=0.86">
<title>GNU social &mdash; Summer of Code</title>
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" href="../assets/css/style.css">
<link rel="stylesheet" href="../assets/css/reset.css">
<link rel="stylesheet" href="../assets/css/style.css">
<link rel="stylesheet" href="../assets/fonts/opensans/opensans.css">
<style>
@media screen and (max-height: 700px) {
.content {
top: 2.5rem !important;
}
}
</style>
</head>
<body>
<header class="header">
<header>
<div class="home-menu menu menu-horizontal menu-fixed">
<a class="menu-heading" href="/">
<img src="../assets/img/gnu-social-logo-invert.svg" alt="GNU social">