Geometrical structures of confining surfaces profoundly influence the adsorption of fluids upon approaching a critical point in their bulk phase diagram, i.e., for . Guided by general scaling considerations, we calculate, within the mean-field theory, the temperature dependence of the order parameter profile in a wedge with opening angle and close to a ridge for and in the presence of surface fields. For a suitably defined reduced excess adsorption we compute the universal amplitudes , which diverge as for small opening angles, vary linearly close to for , and increase exponentially for . There is evidence that, within the mean-field theory, the ratio is independent of . We also discuss the critical Casimir torque acting on the sides of the wedge as a function of the opening angle and temperature.