From 5b78b830a54bb7d911dc4471f104dbb737d6b440 Mon Sep 17 00:00:00 2001 From: antifallobst Date: Thu, 24 Aug 2023 14:38:54 +0200 Subject: [PATCH] fixed content boxes --- index.html | 82 ++++++++++++++++++++++++++++-------- index.css => style/index.css | 49 ++++----------------- style/topbar.css | 39 +++++++++++++++++ 3 files changed, 111 insertions(+), 59 deletions(-) rename index.css => style/index.css (63%) create mode 100644 style/topbar.css diff --git a/index.html b/index.html index fd5b9d2..c55a583 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,8 @@ Nerdcult - + + @@ -63,33 +64,78 @@
  • Community

    -

    - Nerdcult is a platform for (and by) open source - software developers, that aims to make collaboration - as comfortable as possible. We also want to make - it as easy as possible for users to find contributors - for their projects. - Join now by creating an account. -

    +
    +

    + Nerdcult is a platform for (and by) open source + software developers, that aims to make collaboration + as comfortable as possible. We also want to make + it as easy as possible for users to find contributors + for their projects. + Join now by creating an account. +

    + +
  • Tools

    +
    +

    + We provide tools for software development, communication and project management. + This includes a git server, a matrix homeserver, pads and much more :) +

    -

    - We provide tools for software development, communication and project management. - This includes a git server, a matrix homeserver, pads and much more :) -

    + +
  • Privacy

    -

    - We save as less personal data as possible and our logs are anonymized. - Your private data, is encrypted with a key that derives from your password. - By that we couldn't sell data and give attackers nothing they could steal. -

    +
    +

    + We save as less personal data as possible and our logs are anonymized. + Your private data, is encrypted with a key that derives from your password. + By that we couldn't sell data and give attackers nothing they could steal. +

    + + +
  • diff --git a/index.css b/style/index.css similarity index 63% rename from index.css rename to style/index.css index db0fa74..06b98aa 100644 --- a/index.css +++ b/style/index.css @@ -2,45 +2,6 @@ body { background: #191c2e; } -.tabs li { - display: inline-block; - padding-left: 2px; -} - -.tabs li a { - position: relative; -} - -.tab-svg-path { - position: absolute; - fill: #21253c; - stroke: #690455; - stroke-width: 4; - stroke-miterlimit: 10; - pointer-events: all; -} - -.tab-svg-text { - fill: #FFFFFF; - font-family: "Roboto"; - font-size: 18px; - text-anchor: middle; -} - -#tabs-main { - float: left; - margin-left: 32px; - padding: 0; - list-style: none; -} - -#tabs-account { - float: right; - margin-right: 32px; - padding: 0; - list-style: none; -} - main { position: absolute; padding: 0; @@ -71,7 +32,7 @@ main { border: 4px solid #690455; border-radius: 12px; margin-right: 32px; - width: auto; + width: calc(100% / 3); height: auto; position: relative; display: inline-block; @@ -87,10 +48,16 @@ main { width: 100%; } -.content-box-paragraph { +.content-box-data { font-family: Roboto; font-size: 18px; color: #FFFFFF; text-align: center; width: 100%; +} + +.content-box-data ul { + margin: 0; + padding: 0; + list-style: none; } \ No newline at end of file diff --git a/style/topbar.css b/style/topbar.css new file mode 100644 index 0000000..2de505e --- /dev/null +++ b/style/topbar.css @@ -0,0 +1,39 @@ +.tabs li { + display: inline-block; + padding-left: 2px; +} + +.tabs li a { + position: relative; +} + +.tab-svg-path { + position: absolute; + fill: #21253c; + stroke: #690455; + stroke-width: 4; + stroke-miterlimit: 10; + pointer-events: all; +} + +.tab-svg-text { + fill: #FFFFFF; + font-family: "Roboto"; + font-size: 18px; + text-anchor: middle; +} + +#tabs-main { + float: left; + margin-left: 32px; + padding: 0; + list-style: none; +} + +#tabs-account { + float: right; + margin-right: 32px; + padding: 0; + list-style: none; +} +