Skip to content
Snippets Groups Projects
Commit d0a75f4f authored by Gian Luca's avatar Gian Luca
Browse files

some shait

parent 07b4a2d7
Branches master
No related tags found
No related merge requests found
......@@ -16,28 +16,32 @@
</Window>
</div>
<div class="right-column">
<Window title="Wetter Göttingen" statusbar={["oder schau halt raus"]}>
<Wetter></Wetter>
</Window>
</div>
<div class="content">
<Window title="Sehr wichtig und dekadent" statusbar={["wichtige Information"]}>
<Sknecht></Sknecht>
</Window>
</div>
<div class="content">
<Window title= "fun facts" statusbar={["facts are powered by an Ai, so take it with a grain of salt"]}>
<Facts></Facts>
</Window>
</div>
<div class="content">
<Window title="Wetter Göttingen">
<Wetter></Wetter>
</Window>
</div>
<div class="content">
<Window title="Sehr wichtig und dekadent">
<Sknecht></Sknecht>
</Window>
</div>
</div>
</div>
</body>
<style>
body{
overflow-y: hidden;
height: 1080px;
}
.container {
display: grid;
height: 900px;
overflow: auto;
grid-template-columns: repeat(3, 1fr);
gap: 3px;
......@@ -51,23 +55,27 @@
}
.left-column {
height: 385px;
align-items: bottom;
justify-content: left;
}
.middle-column {
height: 385px;
background-color: #f2f2f2;
align-items: left;
justify-content: left;
}
.right-column {
height: 385px;
display: flex;
align-items: top;
justify-content: center;
}
.content{
height: 270px;
align-items: top;
justify-content: center;
}
......
<body>
<iframe src="https://free.timeanddate.com/countdown/i8tr2r6h/n995/cf110/cm1/cu5/ct0/cs0/ca0/co1/cr0/ss0/cac000/cpc000/pc90f/tcfff/fn3/fs225/szw576/szh243/tatTime%20left%20to%20Event%20in/tac000/tptTime%20since%20Knecht%20started/tpc000/iso2023-04-23T18:00:00" allowtransparency="true" frameborder="0" width="576" height="243"></iframe>
<body class="knecht">
<iframe class = test src="https://free.timeanddate.com/countdown/i8tr2r6h/n995/cf110/cm1/cu5/ct0/cs0/ca0/co1/cr0/ss0/cac000/cpc000/pc90f/tcfff/fn3/fs225/szw576/szh243/tatTime%20left%20to%20Event%20in/tac000/tptTime%20since%20Knecht%20started/tpc000/iso2023-04-23T18:00:00" frameborder="0" width="465" height="243"></iframe>
</body>
<style>
.knecht{
background-color: #b121ef;
}
.test{
pointer-events: none;
}
</style>
......@@ -6,7 +6,7 @@
<head>
<title>Button Example</title>
<style>
body{
.liste{
background-image: url("src/assets/dither_it_redcharlie-redcharlie1-aexdWGJu7Gs-unsplash.png");
}
button {
......@@ -21,8 +21,8 @@
-webkit-font-smoothing: none;
font-weight: bolder;
font-style: normal;
height: 350px;
width: 400px;
height: 283px;
width: 455px;
overflow: auto;
display: grid;
grid-template-columns: repeat(3, 1fr);
......@@ -30,7 +30,7 @@
}
</style>
</head>
<body>
<body class="liste">
<div id="counters"></div>
<button id="add-counter-btn">Add Item</button>
......
......@@ -2,9 +2,9 @@
<nav class="title-bar">
<div class="title-bar-text">{title}</div>
<div class="title-bar-controls">
<button aria-label="Minimize" on:click={windowaction('minimize')}></button>
<button aria-label="Minimize" on:click={gutwindowaction('Minimize')}></button>
<button aria-label="Maximize" on:click={windowaction('maximize')}></button>
<button aria-label="Close" on:click={windowaction('close')}></button>
<button aria-label="Close" on:click={gutwindowaction('Close')}></button>
</div>
</nav>
<div class="window-body">
......@@ -25,4 +25,8 @@
function windowaction(action) {
return () => nw.Window.get()[action]();
}
function gutwindowaction(action){
return() => confirm([action]);
}
</script>
\ No newline at end of file
......@@ -42,7 +42,7 @@
}
.chatbot-container {
width: auto;
width: 545px;
margin: 0 auto;
background-color: #f5f5f5;
/* border: 1px solid #cccccc;
......@@ -72,7 +72,7 @@ message-container {
}
#conversation {
height:350px;
height:267px;
overflow: auto;
padding: 10px;
display: flex;
......
......@@ -46,8 +46,8 @@
background-color: #000000;
}
.item {
color: #ffffff;
background-color: #00000000;
color: #ffffff;
background-color: #00000000;
display: inline-block;
padding-top: 3px;
padding-inline: 15px;
......
......@@ -101,5 +101,75 @@
"subject": "soda",
"take": "Tom: 2.00"
}
]
,
"funfacts": [
{"fact": "Beards have a health-benefit effect. They prevent pollen from entering the mouth so that the possibility of getting hay fever is decreased."},
{"fact": "Beavers have orange teeth, as they contain a lot of iron. The mineral makes the teeth particularly resistant to external forces."},
{"fact": "Gray whales exclusively mate in a threesome."},
{"fact": "The average rent for a one room apartment in Manhattan is 3,400 dollars."},
{"fact":"The most common zodiac sign among billionaires is Aquarius. The least common one is Cancer."},
{"fact":"Hitler planned to celebrate his victory over Russia in the Hotel Astoria in Saint Petersburg."},
{"fact":"With 16 percent of total global production India is the world largest producer of milk in the world." },
{"fact":"During World War II, the U.S. Army collaborated with Walt Disney to develop a gas mask that looked like Mickey Mouse, in order to make children less afraid of a poison gas attack."},
{"fact":"Frederic Baur developed the boxing of Pringles Chips. After his death in 2008, his ashes were buried in a Pringles box."},
{"fact":" In 1916, a law was submitted to the US Congress to stipulate that any declaration of war by the USA first had to be confirmed by a referendum and that anyone who voted “yes” would have to go to war themselves. However, the law was never passed."},
{"fact":" If all the gold in the world was melted, a dice with an edge length of 66 feet would be the result."},
{"fact":" Parkinson's Law describes the fact that an employee needs as much time for a task as he has available for it."},
{"fact":" Josef Stalin ordered at least 22 assassination attempts on the former Yugoslav President Josip Broz Tito. After his death, a letter to Stalin with the following words was discovered: “Stop sending people to kill me. If you don't stop sending assassins, I will send one to Moscow and I will certainly not have to send a second one.”"},
{"fact":" Pingelap is a Western Pacific island atoll where two thirds of the inhabitants are color-blind."},
{"fact":" On average, a raindrop reaches a speed of 21.7 miles per hour."},
{"fact":" If you visit a Jewish grave, it is common practice to leave a small stone as a symbol of mourning and remembrance. The tradition dates back to a time when all Jewish graves were still in the desert. In order to prevent scavengers from digging up the corpses, the mourners erected pyramids of small stones."},
{"fact":" The “Kumbh Mela” in India is not just the biggest festival in Hinduism but also the biggest event in general. The range of estimated attendees is between 30 million to 60 million people. It's so large that it can even be seen from space."},
{"fact":" Since 1944, Iceland does not have its own army, and have not been attacked by other countries since."},
{"fact":" Taxis in New York City were used to be red and green. In 1912 the city adopted the yellow colour from a number of other cities throughout the United States."},
{"fact":" Unlike other cats of prey, the snow leopard is not aggressive towards humans. To this day, there has not been a single known case in which a snow leopard attacked a human."},
{"fact":" In 1993, Canadian lawyer Garry Hoy wanted to prove to a group of visitors that the glass in the Toronto Dominion Centre was unbreakable. To demonstrate this, he jumped against the glass _ which thereupon broke out of its frame and plummeted downwards together with Garry Hoy. Hoy died, but the pane of glass remained intact, even after the fall."},
{"fact":" Foxes use the Earth's magnetic field to estimate distances."},
{"fact":" At its widest point, from Colombia all the way to Indonesia, the Pacific Ocean is wider than the moon. This expanse of ocean is 12,300 miles across, which is more than five times the diameter of the moon."},
{"fact":" The modern look of the U.S. flag was designed by a school child from Ohio as a school project. His teacher gave him a B-."},
{"fact":" There are an estimated 500 million dogs on our planet."},
{"fact":" R2-D2 from Star Wars is called C1-P8 in Italy."},
{"fact":" US President John F. Kennedy was a passionate smoker. In 1962, he instructed his press officer to buy 1,000 Cuban cigars for him. Shortly after receiving the cigars, he went on to pass a law prohibiting the import of communist goods into the United States."},
{"fact":" Although India is the 7th largest country in the world it has just one time zone."},
{"fact":" Russian man, Valery Spiridonov was alleged to be the first human to receive a head transplant. His head was to be transplanted to a new body, but he decided against it after a long hesitation. Meanwhile, a Chinese man that hasn't been named is to take his place."},
{"fact":" Babies are not able to taste salt until they are four months old."},
{"fact":" The constitution of the United Kingdom is not codified in one document, like the Constitution of the United States of America. However, there are a lot of separate rules and laws recognised as holding constitutional value."},
{"facts":"The likelihood of getting bitten by a human in New York is higher than the likelihood of getting bitten by a shark in the sea."},
{"facts":"The International Space Station is the most expensive object ever made by humans. It has cost 160 billion dollars so far."},
{"facts":"Japanese shops have small balls filled with orange die in their tills. In the event of a theft, the store staff can throw the balls at the robber, who is then marked with the orange color for the police."},
{"facts":"Because emus and kangaroos are not able to walk backwards, they are officially referred to as heraldic animals of Australia."},
{"facts":"In the movie “Halloween” the villain Michael Myers wears a mask. In order to save production costs, they bought a Captain Kirk mask and simply painted it over."},
{"facts":"During the first days in space, astronauts often suffer from space sickness. Since all bodily fluids are redistributed in weightlessness and the sense of balance is impaired, important tasks such as outboard work are not carried out in the first days of a space mission. There would be an acute risk of the astronauts throwing up in their suits."},
{"facts":"Sea otters hold hands when they sleep to avoid drifting apart from each other."},
{"facts":"The Bluetooth logo is composed of the old Nordic runes for H and B, which were the initials of Viking king Harald Bluetooth. He was known for his overwhelming communication skills."},
{"facts":"Most streets in Japan have no name."},
{"facts":"The Wasaga beach in Canada is the longest fresh water beach in the world."},
{"facts":"Before there were trees on the earth, our planet was covered by giant mushrooms."},
{"facts":"The Titanic II is scheduled to put to sea in 2022, following the route of the original Titanic."},
{"facts":"At least 50 percent of the oxygen in our atmosphere is produced by phytoplankton in the oceans and not by land plants. Due to the rising sea temperatures, however, the phytoplankton population continues to decline."},
{"facts":"An ostrich can run a marathon in less than 60 minutes."},
{"facts":"Between 2011 and 2013, McDonald's has opened one branch a day in China. "},
{"facts":"The human circadian rhythm is better suited to life on Mars than on Earth."},
{"facts":"All of our school textbooks show the solar system with the planets close enough to fit on one page. In actuality if you were to draw the solar system to scale and the earth was the size of a pea on paper Jupiter would be over 984 feet away and Pluto would be one and a half mile away. The nearest star would be 9,940 miles away on paper."},
{"facts":"Due to the decline of the lion population, there are now more lion statues worldwide than real lions."},
{"facts":"In Las Vegas, Paris and Munich, there are escape games based on the horror movie “SAW”."},
{"facts":"Female skunks are able to influence the development of their embryos, in order to delay birth in times of food shortages."},
{"facts":"In the 90s, 50 percent of all CDs produced were the free AOL Internet CD."},
{"facts":"In 1990, the Michigan police organized a wedding of two of their undercover agents. Numerous drug dealers have been invited and were arrested during the wedding ceremony."},
{"facts":"Only five percent of all humans have red hair."},
{"facts":"Tesla founder Elon Musk barely escaped death in 2000 after contracting malaria in Brazil."},
{"facts":"Scientists have demonstrated that cats have the same brain patterns as humans have during sleep. It is therefore assumed that cats can dream."},
{"facts":"Some roads in Australia are so long that the Australian state counteracts the risk of fatigue by playing little trivia games with the drivers along the side of the road."},
{"facts":"For every episode of “The Simpsons” the producers needed six to nine months."},
{"facts":"During the Second World War, the city of Constance was largely spared from Allied bombing raids. Unlike other German cities, Constance did not cut off electricity at night. Allied pilots could therefore hardly distinguish the city from neighboring Switzerland, where the lights also remained on at night. In order to avoid mistakes, no bombs were dropped in the region."},
{"facts":"In 1975, the American Gary Dahl sold so-called “Pet Rocks”. These were just common pebbles, but Dahl marketed them like pets. Within a very short time, a big hype arose about the stones, quickly making Dahl a millionaire. Only one year later, however, the interest quickly subsided again."},
{"facts":"Of all the countries that celebrate an Independence Day, 26 became independent of France."},
{"facts":"All scenes of the children of Ted Mosby in “How I Met Your Mother” were shot during the first season."},
{"facts":"For years, Liechtenstein and Haiti had the same flag, which was only noticed when the two nations met at the 1936 Olympic Games. A year later, the flag of Liechtenstein was therefore adorned with the symbol of a golden princely hat."},
{"facts":"There are about nine million people in a prison around the world. 25 percent of them come from the USA."},
{"facts":"More than 50 percent of the world's population has never received a phone call. 65"}
]
}
<!--Wetter-->
<iframe src="https://www.meteoblue.com/de/wetter/widget/daily?geoloc=detect&days=4&tempunit=CELSIUS&windunit=KILOMETER_PER_HOUR&precipunit=MILLIMETER&coloured=monochrome&pictoicon=0&pictoicon=1&maxtemperature=0&maxtemperature=1&mintemperature=0&mintemperature=1&windspeed=0&windspeed=1&windgust=0&winddirection=0&winddirection=1&uv=0&uv=1&humidity=0&precipitation=0&precipitation=1&precipitationprobability=0&precipitationprobability=1&spot=0&spot=1&pressure=0&layout=light" frameborder="0" scrolling="NO" allowtransparency="true" sandbox="allow-same-origin allow-scripts allow-popups allow-popups-to-escape-sandbox" style="width: 216px; height: 350px">
<body class="wttr">
<iframe class="click" src="https://www.meteoblue.com/de/wetter/widget/daily?geoloc=detect&days=4&tempunit=CELSIUS&windunit=KILOMETER_PER_HOUR&precipunit=MILLIMETER&coloured=monochrome&pictoicon=0&pictoicon=1&maxtemperature=0&maxtemperature=1&mintemperature=0&mintemperature=1&windspeed=0&windspeed=1&windgust=0&winddirection=0&winddirection=1&uv=0&uv=1&humidity=0&precipitation=0&precipitation=1&precipitationprobability=0&precipitationprobability=1&spot=0&spot=1&pressure=0&layout=light" frameborder="0" scrolling="NO" sandbox="allow-same-origin allow-scripts allow-popups allow-popups-to-escape-sandbox" style="width: 216px; height: 320px" >
</iframe><div>
<!-- DO NOT REMOVE THIS LINK -->
<a href="https://www.meteoblue.com/de/wetter/woche/index?utm_source=weather_widget&utm_medium=linkus&utm_content=daily&utm_campaign=Weather%2BWidget" target="_blank" rel="noopener">
</a>
</div>
\ No newline at end of file
</div>
</body>
<style>
.wttr{
background-color: #c0c0c0;
}
.click{
pointer-events: none;
}
</style>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment