|
Control center - custom css |
Peter Hull
Member #1,136
March 2001
|
I was messing with this page just now. div.signature { display: block !important; } span.cuss {color:#888} div.instructions { font-family: Lucida Handwriting Italic; }
I noticed that the browser is putting in requests to https://djungxnpq2nug.cloudfront.net/css/div.signature { display: block !important
|
bamccaig
Member #7,536
July 2006
|
I don't seem to experience this. Are you sure you're putting your CSS in the correct field? If you examine the network tab of your browser's debugger you can confirm which field(s) have which data in the post request. I'm guessing you're sending CSS code as a URL field... It should also suffice to just inspect the input/textarea element and check its name attribute. Mine looks like: 1div.mockup div.spoiler,
2div.mockup div.source-code
3{
4 max-width: 80em;
5}
6
7div.mockup div.source-code div.inner td,
8div.mockup pre.source-code div.inner td
9{
10 font-family: monospace !important;
11 font-size: 12px !important;
12 line-height: 1.2 !important;
13}
14
15span.url {display: none}
16
17#thread-list tr.bookmark td.topic
18{
19 font-weight: normal;
20}
21
22.avatar_1111 {visibility: hidden;}
I tried posting it again to ensure it wasn't a new "save" bug... -- acc.js | al4anim - Allegro 4 Animation library | Allegro 5 VS/NuGet Guide | Allegro.cc Mockup | Allegro.cc <code> Tag | Allegro 4 Timer Example (w/ Semaphores) | Allegro 5 "Winpkg" (MSVC readme) | Bambot | Blog | C++ STL Container Flowchart | Castopulence Software | Check Return Values | Derail? | Is This A Discussion? Flow Chart | Filesystem Hierarchy Standard | Clean Code Talks - Global State and Singletons | How To Use Header Files | GNU/Linux (Debian, Fedora, Gentoo) | rot (rot13, rot47, rotN) | Streaming |
Peter Hull
Member #1,136
March 2001
|
Maybe I am 'special' (my mum says I am) - I tried it on Firefox/windows and Safari/OSX with the same result.
|
Matthew Leverton
Supreme Loser
January 1999
|
View the HTML. You should just see a call to /1136 on css. I don't see how anything a.cc could be doing would cause those network loads. You should have quotes around Lucida Handwriting Italic. |
Peter Hull
Member #1,136
March 2001
|
Matthew Leverton said: You should have quotes around Lucida Handwriting Italic Nope. The request is coming from a file called theme-css.html, the top of which looks like this: 1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html>
3<head>
4<title>Control Center</title>
5<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6<link rel="stylesheet" type="text/css" media="screen, projection" href="/theme/default/css/global.css" />
7<link rel="stylesheet" type="text/css" media="screen, projection" href="/theme/default/css/cc.css" />
8<link rel="stylesheet" type="text/css" media="screen, projection" href="/css/user.css/1136" />
9<link rel="stylesheet" type="text/css" media="screen, projection" href="//djungxnpq2nug.cloudfront.net/css/div.signature {
10 display: block !important" />
11<link rel="stylesheet" type="text/css" media="screen, projection" href="//djungxnpq2nug.cloudfront.net/css/
12}
13span.cuss {color:#888}
14div.instructions { font-family: Lucida Handwriting Italic" />
15<link rel="stylesheet" type="text/css" media="screen, projection" href="//djungxnpq2nug.cloudfront.net/css/ }" />
16<link rel="search" type="application/opensearchdescription+xml" title="Allegro.cc" href="/opensearch.xml" />
And (if it's relevant) my user css code (from https://www.allegro.cc/css/user.css/1136) looks like this: /* --------------- REMOTE LINKS --------------- */ div.signature span.url { display: none; } div.signature { display: block !important; } span.cuss {color:#888} div.instructions { font-family: Lucida Handwriting Italic; } with an extra rule at the top which isn't in the rules shown on the page.
|
Gideon Weems
Member #3,925
October 2003
|
Peter Hull
Member #1,136
March 2001
|
Oy, Weems, no! Get out of my thread!
|
Gideon Weems
Member #3,925
October 2003
|
Matthew Leverton
Supreme Loser
January 1999
|
And what is causing this "theme-css.html" to load? |
Peter Hull
Member #1,136
March 2001
|
Matthew Leverton said: And what is causing this "theme-css.html" to load? Me. That's the name of the page where I am making my settings.
|
Elias
Member #358
May 2000
|
I can see the same thing if I go to https://www.allegro.cc/cc/theme-css with firefox: Quote:
GET /css/span.cuss%20%7B%20%20%20%20visibility:%20visible%20!important HTTP/1.1 And the response: Quote:
HTTP/1.1 302 Moved Temporarily I'd just assume this is some kind of caching mechanism used by allegro.cc - I have no idea how it works though. -- |
bamccaig
Member #7,536
July 2006
|
Confirmed. The theme-css page appears to be severely broken. -- acc.js | al4anim - Allegro 4 Animation library | Allegro 5 VS/NuGet Guide | Allegro.cc Mockup | Allegro.cc <code> Tag | Allegro 4 Timer Example (w/ Semaphores) | Allegro 5 "Winpkg" (MSVC readme) | Bambot | Blog | C++ STL Container Flowchart | Castopulence Software | Check Return Values | Derail? | Is This A Discussion? Flow Chart | Filesystem Hierarchy Standard | Clean Code Talks - Global State and Singletons | How To Use Header Files | GNU/Linux (Debian, Fedora, Gentoo) | rot (rot13, rot47, rotN) | Streaming |
Peter Hull
Member #1,136
March 2001
|
Right. I initially thought it was every page but I think it's just the CSS editing page that does it.
|
|