Subversion Repositories wimsdev

Rev

Rev 11168 | Rev 12261 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. /* WORDS in code in all textes*/
  2. .tt{
  3.   font-family: monospace, "Courier New";
  4.   border-left-width: 3px;
  5.   margin: 0;
  6.   padding: 0 3px;
  7. }
  8.  
  9. code, pre{
  10.   /*border-left-width: 4px;
  11.   background-color:rgb(128,255,128);
  12.   background-color:rgba(0,128,0,0.1);
  13.   font-family: monospace, "Courier New";
  14.   line-height: 1.1em;
  15.   margin: 1em;
  16.   padding: .5em 1em;*/
  17.   /*word-wrap: normal;*/
  18.   border: 1px solid #ccc;
  19.   border-radius: 2px;
  20.   box-shadow: inset 0 0 .5em rgba(128,128,128,0.5);
  21. }
  22.  
  23. code{
  24.   /* <code> est habituellement utilisé pour du code "inline",
  25.      mais avec "inline-block", on peut aussi l'utiliser en multi-lignes. */
  26.   display:inline-block;
  27.   font-family: Consolas,"Andale Mono WT","Andale Mono","Bitstream Vera Sans Mono","Nimbus Mono L",Monaco,"Courier New",monospace;
  28.   /*font-size: 1em;*/
  29.   /*text-align: left;*/
  30.   background-color: #fbfaf9;
  31.   background-color: rgba(0,128,0,0.1);
  32.   color: #333;
  33.   padding: .5em;
  34. }
  35.  
  36. pre{
  37.   /* pre peut afficher du texte multi-lignes */
  38.    /*border-left-width: 4px;
  39.    background-color:rgb(128,255,128);
  40.    background-color:rgba(0,128,0,0.1);
  41.    font-family: monospace, "Courier New";
  42.    border-left-style: ridge;
  43.    line-height: 1.1em;
  44.    margin: 1em;*/
  45.    /* white-space lets display this block without scroll bars */
  46.    /*white-space: pre-wrap;*/
  47.    overflow: auto;
  48.    padding: 1em;
  49. }
  50.  
  51. textarea#wims_deposit {
  52.   width:80%;
  53.   min-width:50em;
  54.   min-height:30em;
  55. }
  56.  
  57. /* reference to filename (in modtool file list)*/
  58. .wims_fname {
  59.   font-family: monospace, "Courier New";
  60.   color :#600;
  61.   font-weight:bold;
  62. }
  63. /* reference to parameters */
  64. .wims_parm{background-color : #ffffe5;}
  65.  
  66. /* mots de code */
  67. .wims_code_words {color:blue;}
  68.  
  69. /* variables in help for example*/
  70. .wims_code_variable {color:navy;}
  71.  
  72. /*address as email adress, but also adresse of a file*/
  73. /*.wims_address {}*/
  74.  
  75. /* title of modules in a texte */
  76. .wims_mod_title {
  77.   color:blue;
  78.   font-style: italic;
  79. }
  80. /* descriptions of modules in help or text */
  81. .wims_mod_desc {
  82.   font-style: italic;
  83. }
  84.  
  85. /* WIMS_messages */
  86. .wims_msg{
  87.    /*font-weight: bold;*/
  88.    padding: 0.3rem;
  89.    margin: 0 auto 1rem auto;
  90.    border: 1px solid rgba(10, 10, 10, 0.25);
  91. }
  92. /* WIMS_messages (type success) */
  93. .wims_msg.success{background-color: #e1faea;}
  94. /* WIMS_messages (type alert) */
  95. .wims_msg.alert{background-color: #fce6e2;}
  96. /* WIMS_messages (type warning) */
  97. .wims_msg.warning{background-color: #fff3d9;}
  98. /* WIMS_messages (type info) */
  99. .wims_msg.info{background-color: #def0fc;}
  100. /* include variables in WIMS_messages
  101. .wims_msg .tt{color: black;}*/
  102. /* WIMS_messages (type example) */
  103. .wims_msg.example{}
  104. /* alert msg (WIMS_messages, old way (but still used in several modules) */
  105. .wims_alertmsg{
  106.    margin:auto;
  107.    color: #A52A2A;
  108.    font-weight: bold;
  109.    padding: 10px;
  110.    border: solid 1px;
  111. }
  112.  
  113. /* reference sur un label */
  114. .wims_label {
  115.    color:green ;
  116.    font-family: monospace, "Courier New";
  117.    padding: 3px ;
  118.    border:solid 1px ;
  119. }
  120.  
  121. /* words as login*/
  122. .wims_login {
  123.    color:blue;
  124.    font-weight:bold;
  125. }
  126.