r/csshelp 1d ago

help with neocities... Request

hellooo, im trying to make a neocities but my css isnt the best at all. can someone please help me get rid of the circular radial lines in the container background? i cant find the code to either delete or hide them :(

heres the link to the site btw! to see what i mean :p

https://cnaaawd.neocities.org/

//

/* start light mode styling */

:root {

    --text: darkslategrey;

    --border: lightgrey;

    --accent: green;

    --bg: #dce3e1;

    --gradientTop: white;

    --gradientBottom: rgb(240, 248, 255, .8);

}

header {

    background: url('https://i.ibb.co/56yRQqk/CNAAAWD-05-01-2025.png');

}

/* end light mode styling */

/* start dark mode styling */

 (prefers-color-scheme: dark) {

    :root {

        --text: white;

        --border: black;

        --accent: #a4b0a5;

        --bg: rgb(154, 161, 157,.8);

        --gradientBottom: darkgrey;

        --gradientTop: grey;

        a:link { color: lightgreen; }

    }

    header {

        background: url('https://i.ibb.co/56yRQqk/CNAAAWD-05-01-2025.png');

    }

/* end dark mode styling */

* {

box-sizing: border-box;

}

body {

padding: 10px;

font-family: 'MS PGothic', sans-serif;

color: var(--text);

/* page background pattern */

background-color: #a4b0a5;

}

.container {

max-width: 55rem;

margin: 5vw auto 12px auto;

border: 6px ridge var(--border);

border-radius: 10px;

display: flex;

flex-wrap: wrap;

padding: 5px;

gap: 5px;

background: lightgrey;

}

/* these control the column widths */

.small { flex: 1 1 9%; }

.large { flex: 1 1 82%; }

.full { flex: 1 1 100%; }

.half { flex: 1 1 49%; }

header {

background-size: cover;

background-position: center;

width: 100%;

height: 190px; /* change banner height here*/

border: 2px ridge var(--border);

border-radius: 5px;

position: relative;

}

nav {

border: 2px ridge var(--border);

border-radius: 5px;

padding: 5px;

background: linear-gradient(var(--gradientTop),var(--gradientBottom));

}

nav div {

text-align: center;

font-size: 1.25rem;

margin: 5px 5px 10px 5px;

}

nav a {

display: block;

margin: 5px;

border-radius: 5px;

padding: 2px 7px;

text-decoration: none;

}

nav a:link, nav a:visited {

color: var(--text);

}

nav a:hover, nav a:focus {

background: linear-gradient(to right,var(--bg), var(--gradientBottom), var(--gradientTop));

}

/* optional button styling like in the preview */

div.small > img {

display: block;

margin: 5px auto;

border:2px ridge var(--border);

border-radius: 5px;

}

section {

border: 2px ridge var(--border);

border-radius: 5px;

background: linear-gradient(var(--gradientTop),var(--gradientBottom));

padding: 5px;

}

footer {

text-align: center;

margin-bottom: 5vw;

font-size: 0.8rem;

}

footer a {

text-decoration: none;

}

h1, h2, h3, h4, h5, h6, p {

margin: 5px;

line-height: 1.2;

}

h1 {

font-size: 1.4rem;

letter-spacing: 2px;

font-weight: normal;

text-align: center;

border-bottom: 2px ridge var(--border);

padding-bottom: 5px;

}

h2 {

font-size: 1.25rem;

font-weight: normal;

text-align: center;

}

h3 {

font-size: 1.1rem;

}

h4 {

font-size: 1rem;

color: var(--accent);

padding-left: 12px;

}

/* prevents overflow on smaller screens */

img { max-width: 100%; }

pre { overflow-x: auto; }

a:hover, a:focus {

font-style: italic;

}

a:visited {

color: var(--accent);

}

1 Upvotes

1

u/dezbos 18h ago

remove border: 6px ridge var(--border); from .container