css-test

Posted by Helmut_pdorf Helmut_pdorf on 26 Jun 2023 15:52, last edited by Helmut_pdorf Helmut_pdorf on 26 Jun 2023 16:02
: css

1. Why?

This is a test page belonging to the community forum post:
http://community.wikidot.com/forum/t-16031189/i-made-css-with-chatgpt#post-6132921

2 CSSCode

[[module CSS]]
/* Body */
body {
background-color: #1a1a1a;
color: #ffffff;
}
/* Heading */
h1, h2, h3, h4, h5, h6 {
color: #ffffff;
}
/* Links */
a {
color: #66b3ff;
}
a:hover {
color: #99ccff;
}
/* Navigation */
#header, #header2 {
background-color: #222222;
}
#header a {
color: #ffffff;
}
#header a:hover {
color: #99ccff;
}
/* Content */
#page-content {
background-color: #333333;
}
/* Sidebar */
#side-bar {
background-color: #222222;
}
/* Code blocks */
pre {
background-color: #333333;
color: #ffffff;
}
/* Tables */
table.wikitable {
background-color: #222222;
}
table.wikitable th, table.wikitable td {
border: 1px solid #333333;
color: #ffffff;
}
/* Buttons */
.button {
background-color: #66b3ff;
color: #ffffff;
}
.button:hover {
background-color: #99ccff;
}
/* Footer */
#footer {
background-color: #222222;
color: #ffffff;
}
/* Logo */
#header {
position: relative;
}
#header::before {
content: "";
position: absolute;
top: 0;
left: 0;
background: url(path/to/logo.png) no-repeat;
width: 50px; /* Adjust width as needed */
height: 50px; /* Adjust height as needed */
background-size: contain;
margin: 10px; /* Adjust margin as needed */
}
/* Background */
body {
background-color: #1a1a1a;
background-image: linear-gradient(rgba(0, 0, 0, 0.8) 1px, transparent 1px),
linear-gradient(90deg, rgba(0, 0, 0, 0.8) 1px, transparent 1px);
background-size: 20px 20px;
animation: pulsating-grid 5s infinite;
}
/* Pulsating Grid Animation */
@keyframes pulsating-grid {
0% {
background-position: 0 0, 10px -10px;
}
50% {
background-position: 10px 10px, 0 0;
}
100% {
background-position: 0 0, 10px -10px;
}
}
[[/module]]

2 What ever you want to show you can also use html block:

[フレーム]



Backlinks (Links to this page from others):

Comments:

Number of Comments: 0)

css
page revision: 4, last edited: 26 Jun 2023 16:02
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License
Click here to edit contents of this page.
Click here to toggle editing of individual sections of the page (if possible). Watch headings for an "edit" link when available.
Append content without editing the whole page source.
Check out how this page has evolved in the past.
If you want to discuss contents of this page - this is the easiest way to do it.
View and manage file attachments for this page.
A few useful tools to manage this Site.
Change the name (also URL address, possibly the category) of the page.
View wiki source for this page without editing.
View/set parent page (used for creating breadcrumbs and structured layout).
Notify administrators if there is objectionable content in this page.
Something does not work as expected? Find out what you can do.
General Wikidot.com documentation and help section.
Wikidot.com Terms of Service - what you can, what you should not etc.
Wikidot.com Privacy Policy.

AltStyle によって変換されたページ (->オリジナル) /